source: projects/specs/trunk/lib/libp/libpqxx/libpqxx-vl.spec @ 1984

Revision 1984, 3.1 KB checked in by owa, 14 years ago (diff)

rebuilt with rpm-4.8.1

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