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

Revision 10517, 3.7 KB checked in by tomop, 8 years ago (diff)

libpqxx-4.0.1-3

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