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

Revision 9262, 3.5 KB checked in by inagaki, 9 years ago (diff)

2015-01-15 Ryoichi INAGAKI <ryo1@…>

  • kdelibs, libpqxx: fixed Requires


Line 
1Summary: A C++ API to the PostgreSQL database management system.
2Summary(ja): PostgreSQL の C++ API
3Name: libpqxx
4Version: 4.0.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
12Patch3: libpqxx-2.6.8-multilib.patch
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15BuildRequires: libpq-devel
16
17%description
18What libpqxx brings you is effective use of templates to reduce the
19inconvenience of dealing with type conversions; of standard C++ strings
20to keep you from having to worry about buffer allocation and overflow
21attacks; of exceptions to take the tedious and error-prone plumbing around
22error handling out of your hands; of constructors and destructors to bring
23resource management under control; and even basic object-orientation
24to give you some extra reliability features that would be hard to get
25with most other database interfaces.
26
27%package devel
28Summary: Libraries, includes, etc. to develop PostgreSQL applications in C++.
29Summary(ja): C++ で PostgreSQL アプリケーションを開発するためのファイル集
30Group: Development/Libraries
31Requires: %{name} = %{version}-%{release}
32Requires: libpq-devel
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* Thu Jan 15 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.0.1-2
76- added R: soprano-devel to devel subpackage
77
78* Mon Dec  1 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.0.1-1
79- new upstream release
80- rebuilt with libpq 9.3.4
81
82* Tue Apr 12 2011 Shu KONNO <owa@bg.wakwak.com> 3.1-2
83- rebuilt with postgresql-9.0.3
84
85* Sun Mar 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.1-1
86- new upstream release
87- added LIBS="-lpq -lpthread"
88- updated URL
89
90* Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 2.6.9-3
91- rebuilt with rpm-4.8.1 for pkg-config
92- added libpqxx-2.6.9-glibc-headers.patch
93
94* Wed Jul 08 2009 Shu KONNO <owa@bg.wakwak.com> 2.6.9-2
95- rebuilt with postgresql-8.4.0
96
97* Sat Jul 05 2008 Shu KONNO <owa@bg.wakwak.com> 2.6.9-1vl5
98- rebuilt with postgresql-8.3.3
99- applied new versioning policy, and spec in utf-8
100
101* Tue Jan 08 2008 Shu KONNO <owa@bg.wakwak.com> 2.6.9-0vl3
102- rebuilt with postgresql-8.2.6
103
104* Wed Sep 19 2007 Shu KONNO <owa@bg.wakwak.com> 2.6.9-0vl2
105- rebuilt with postgresql-8.2.5
106
107* Tue May 22 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.6.9-0vl1
108- new upstream release
109- build with new toolchain
110
111* Sun Oct 22 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.5.5-0vl2
112- added --libdir=%%{_libdir} configure option
113
114* Thu Jul  7 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.5.5-0vl1
115- new upstream release
116- add Japanese summary
117
118* Wed Jun  1 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.5.3-0vl1
119- new upstream release
120
121* Wed Apr 27 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.5.0-0vl1
122- new upstream release
123- clean up this file
124
125* Thu Jan 29 2004 Arjen Baart <arjen@andromeda.nl>
126- Built release 2.1.3
Note: See TracBrowser for help on using the repository browser.