libpqxx-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. Summary: A C++ API to the PostgreSQL database management system.
  2. Summary(ja): PostgreSQL の C++ API
  3. Name: libpqxx
  4. Version: 2.6.9
  5. Release: 2%{?_dist_release}
  6. License: LGPL
  7. Group: Development/Libraries
  8. Source: ftp://gborg.postgresql.org/pub/libpqxx/stable/libpqxx-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. URL: http://pqxx.tk/
  11. BuildPrereq: postgresql-devel
  12. Requires: postgresql-libs
  13. %description
  14. What libpqxx brings you is effective use of templates to reduce the
  15. inconvenience of dealing with type conversions; of standard C++ strings
  16. to keep you from having to worry about buffer allocation and overflow
  17. attacks; of exceptions to take the tedious and error-prone plumbing around
  18. error handling out of your hands; of constructors and destructors to bring
  19. resource management under control; and even basic object-orientation
  20. to give you some extra reliability features that would be hard to get
  21. with most other database interfaces.
  22. %package devel
  23. Summary: Libraries, includes, etc. to develop PostgreSQL applications in C++.
  24. Summary(ja): C++ で PostgreSQL アプリケーションを開発ためのライブラリ/ヘッダファイル等
  25. Group: Development/Libraries
  26. Requires: libpqxx = %{version}
  27. %description devel
  28. Libraries, include files, etc you can use to develop PostgreSQL applications
  29. in C++.
  30. %prep
  31. %setup -q
  32. %build
  33. CFLAGS="$RPM_OPT_FLAGS" \
  34. ./configure --prefix=%{_prefix} --libdir=%{_libdir} --enable-shared
  35. make %{?_smp_mflags}
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. make DESTDIR=$RPM_BUILD_ROOT install
  39. %clean
  40. rm -rf $RPM_BUILD_ROOT
  41. %post -p /sbin/ldconfig
  42. %postun -p /sbin/ldconfig
  43. %files
  44. %defattr(-,root,root)
  45. %doc AUTHORS ChangeLog NEWS README COPYING TODO
  46. %{_libdir}/*.so
  47. %files devel
  48. %defattr(-,root,root)
  49. %doc doc/html/Reference doc/html/Tutorial
  50. %{_bindir}/*
  51. %{_includedir}/pqxx/*
  52. %{_libdir}/*.a
  53. %{_libdir}/*.la
  54. %{_libdir}/pkgconfig/*.pc
  55. %changelog
  56. * Wed Jul 08 2009 Shu KONNO <owa@bg.wakwak.com> 2.6.9-2
  57. - rebuilt with postgresql-8.4.0
  58. * Sat Jul 05 2008 Shu KONNO <owa@bg.wakwak.com> 2.6.9-1vl5
  59. - rebuilt with postgresql-8.3.3
  60. - applied new versioning policy, and spec in utf-8
  61. * Tue Jan 08 2008 Shu KONNO <owa@bg.wakwak.com> 2.6.9-0vl3
  62. - rebuilt with postgresql-8.2.6
  63. * Wed Sep 19 2007 Shu KONNO <owa@bg.wakwak.com> 2.6.9-0vl2
  64. - rebuilt with postgresql-8.2.5
  65. * Tue May 22 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.6.9-0vl1
  66. - new upstream release
  67. - build with new toolchain
  68. * Sun Oct 22 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.5.5-0vl2
  69. - added --libdir=%%{_libdir} configure option
  70. * Thu Jul 7 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.5.5-0vl1
  71. - new upstream release
  72. - add Japanese summary
  73. * Wed Jun 1 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.5.3-0vl1
  74. - new upstream release
  75. * Wed Apr 27 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.5.0-0vl1
  76. - new upstream release
  77. - clean up this file
  78. * Thu Jan 29 2004 Arjen Baart <arjen@andromeda.nl>
  79. - Built release 2.1.3