source: projects/specs/branches/6/lib/libp/libpqxx/libpqxx-vl.spec @ 3425

Revision 3425, 3.4 KB checked in by owa, 13 years ago (diff)

rebuild with postgresql-9.0.3

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