libpqxx-vl.spec 3.4 KB

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