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

Revision 9138, 3.4 KB checked in by inagaki, 9 years ago (diff)

2014-12-06 Ryoichi INAGAKI <ryo1@…>

  • gnokii, libpqxx: updated


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