~ubuntu-branches/ubuntu/lucid/libpqxx3/lucid

« back to all changes in this revision

Viewing changes to libpqxx.spec

  • Committer: Bazaar Package Importer
  • Author(s): Eugene V. Lyubimkin
  • Date: 2009-09-28 01:13:16 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090928011316-sqyruofmj5j1y7kz
Tags: 3.0.2-1
* New upstream bugfix-only release.
* debian/control:
  - Bumped Standards-Version to 3.8.3, no changes needed.
  - Added {misc:Depends} to dependencies of binary packages.
  - Updated my mail address.
* debian/libpqxx3-doc.install:
  - Added test headers to allow compiling examples. (Closes: 539814)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Summary: C++ API to the PostgreSQL database management system.
2
2
Name: libpqxx
3
 
Version: 3.0
 
3
Version: 3.0.2
4
4
Release: 1
5
5
License: LGPL
6
6
Group: Development/Libraries
9
9
URL: http://pqxx.org/
10
10
Vendor:    Andromeda Technology & Automation
11
11
Packager:  Arjen Baart <arjen@andromeda.nl>
 
12
Requires: postgresql-libs
 
13
BuildRequires: postgresql-devel
12
14
Prefix: %{_prefix}
13
15
Docdir: %{_docdir}
14
16
 
34
36
%setup -q
35
37
 
36
38
%build
37
 
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --sysconfdir="/etc" --mandir=%{_mandir} --enable-shared
38
 
make
 
39
%configure --enable-shared
 
40
make 
39
41
 
40
42
%install
41
43
rm -rf $RPM_BUILD_ROOT
42
 
 
43
 
#install -d $RPM_BUILD_ROOT%{_mandir}/man1
44
 
#install -d $RPM_BUILD_ROOT%{_mandir}/man4
45
 
make prefix=$RPM_BUILD_ROOT%{prefix} mandir=$RPM_BUILD_ROOT%{_mandir} install
 
44
make DESTDIR=$RPM_BUILD_ROOT install
46
45
 
47
46
%clean
48
47
rm -rf $RPM_BUILD_ROOT
53
52
 
54
53
%files
55
54
%defattr(-, root, root)
56
 
 
57
55
%doc AUTHORS ChangeLog NEWS README COPYING TODO
58
 
#%doc %{_mandir}/man4/libxml.4*
59
 
 
60
 
%{prefix}/lib/lib*.so
 
56
%{_libdir}/lib*.so
61
57
 
62
58
%files devel
63
59
%defattr(-, root, root)
64
 
 
65
 
#%doc %{_mandir}/man1/xml2-config.1*
66
 
#%doc doc/*.html doc/html
67
 
 
68
 
%{prefix}/lib/lib*.so
69
 
%{prefix}/lib/*a
70
 
%{prefix}/include/*
71
 
%{prefix}/bin/pqxx-config
72
 
%{prefix}/lib/pkgconfig/libpqxx.pc
 
60
%{_libdir}/*a
 
61
%{_libdir}/pkgconfig/libpqxx.pc
 
62
%{_includedir}/*
 
63
%{_bindir}/pqxx-config
73
64
 
74
65
%changelog
75
66