libpqxx-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. Summary: A C++ API to the PostgreSQL database management system.
  2. Summary(ja): PostgreSQL の C++ API
  3. Name: libpqxx
  4. Version: 4.0.1
  5. Release: 3%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: BSD
  8. URL: http://pqxx.org/
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. Source: ftp://pqxx.org/software/libpqxx/%{name}-%{version}.tar.gz
  12. Patch3: libpqxx-2.6.8-multilib.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: libpq-devel
  15. %description
  16. What libpqxx brings you is effective use of templates to reduce the
  17. inconvenience of dealing with type conversions; of standard C++ strings
  18. to keep you from having to worry about buffer allocation and overflow
  19. attacks; of exceptions to take the tedious and error-prone plumbing around
  20. error handling out of your hands; of constructors and destructors to bring
  21. resource management under control; and even basic object-orientation
  22. to give you some extra reliability features that would be hard to get
  23. with most other database interfaces.
  24. %package devel
  25. Summary: Libraries, includes, etc. to develop PostgreSQL applications in C++.
  26. Summary(ja): C++ で PostgreSQL アプリケーションを開発するためのファイル集
  27. Group: Development/Libraries
  28. Requires: %{name} = %{version}-%{release}
  29. Requires: libpq-devel
  30. %description devel
  31. Libraries, include files, etc you can use to develop PostgreSQL applications
  32. in C++.
  33. %prep
  34. %setup -q
  35. %patch3 -p1 -b .multilib
  36. # fix spurious permissions
  37. chmod -x COPYING
  38. %build
  39. %configure --enable-shared --disable-static
  40. make %{?_smp_mflags} LIBS="-lpq -lpthread"
  41. %install
  42. rm -rf $RPM_BUILD_ROOT
  43. make DESTDIR=$RPM_BUILD_ROOT install
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46. %post -p /sbin/ldconfig
  47. %postun -p /sbin/ldconfig
  48. %files
  49. %defattr(-,root,root)
  50. %doc AUTHORS ChangeLog COPYING NEWS README
  51. %{_libdir}/*.so
  52. %files devel
  53. %defattr(-,root,root)
  54. %doc doc/html/Reference doc/html/Tutorial
  55. %{_bindir}/*
  56. %{_includedir}/pqxx/*
  57. %exclude %{_libdir}/*.la
  58. %{_libdir}/pkgconfig/*.pc
  59. %changelog
  60. * Sun Jul 3 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.1-3
  61. - rebuilt with new toolchain.
  62. * Thu Jan 15 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.0.1-2
  63. - added R: soprano-devel to devel subpackage
  64. * Mon Dec 1 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.0.1-1
  65. - new upstream release
  66. - rebuilt with libpq 9.3.4
  67. * Tue Apr 12 2011 Shu KONNO <owa@bg.wakwak.com> 3.1-2
  68. - rebuilt with postgresql-9.0.3
  69. * Sun Mar 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.1-1
  70. - new upstream release
  71. - added LIBS="-lpq -lpthread"
  72. - updated URL
  73. * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 2.6.9-3
  74. - rebuilt with rpm-4.8.1 for pkg-config
  75. - added libpqxx-2.6.9-glibc-headers.patch
  76. * Wed Jul 08 2009 Shu KONNO <owa@bg.wakwak.com> 2.6.9-2
  77. - rebuilt with postgresql-8.4.0
  78. * Sat Jul 05 2008 Shu KONNO <owa@bg.wakwak.com> 2.6.9-1vl5
  79. - rebuilt with postgresql-8.3.3
  80. - applied new versioning policy, and spec in utf-8
  81. * Tue Jan 08 2008 Shu KONNO <owa@bg.wakwak.com> 2.6.9-0vl3
  82. - rebuilt with postgresql-8.2.6
  83. * Wed Sep 19 2007 Shu KONNO <owa@bg.wakwak.com> 2.6.9-0vl2
  84. - rebuilt with postgresql-8.2.5
  85. * Tue May 22 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.6.9-0vl1
  86. - new upstream release
  87. - build with new toolchain
  88. * Sun Oct 22 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.5.5-0vl2
  89. - added --libdir=%%{_libdir} configure option
  90. * Thu Jul 7 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.5.5-0vl1
  91. - new upstream release
  92. - add Japanese summary
  93. * Wed Jun 1 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.5.3-0vl1
  94. - new upstream release
  95. * Wed Apr 27 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.5.0-0vl1
  96. - new upstream release
  97. - clean up this file
  98. * Thu Jan 29 2004 Arjen Baart <arjen@andromeda.nl>
  99. - Built release 2.1.3