ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/vendor/pxys2-2.0.0/pxyservd/dbprim/dbprim.spec.in
Revision: 3252
Committed: Wed Apr 2 20:41:43 2014 UTC (11 years, 4 months ago) by michael
File size: 3131 byte(s)
Log Message:
- Imported pxys2-2.0.0

File Contents

# Content
1 ## -*- Mode:rpm-spec -*-
2 ##
3 ## Copyright (C) 2002 by Kevin L. Mitchell <klmitch@mit.edu>
4 ##
5 ## This library is free software; you can redistribute it and/or
6 ## modify it under the terms of the GNU Library General Public
7 ## License as published by the Free Software Foundation; either
8 ## version 2 of the License, or (at your option) any later version.
9 ##
10 ## This library is distributed in the hope that it will be useful,
11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 ## Library General Public License for more details.
14 ##
15 ## You should have received a copy of the GNU Library General Public
16 ## License along with this library; if not, write to the Free
17 ## Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
18 ## MA 02111-1307, USA
19 ##
20 ## @(#)$Id: dbprim.spec.in,v 1.2 2003/08/23 20:10:50 klmitch Exp $
21 ##
22 ## Process this file with rpmbuild to generate RPMS
23
24 %define name @PACKAGE@
25 %define version @VERSION@
26 %define release 1
27
28 %define clean_build_root if test -O "%{buildroot}" -a "%{buildroot}" != "/" -a "%{buildroot}" != "${HOME}"; then %{__rm} -rf %{buildroot}; fi
29 %define clean_build_dir %{__rm} -rf %{buildsubdir}
30
31 Name: %{name}
32 Version: %{version}
33 Release: %{release}
34
35 Source: %{name}-%{version}.tar.gz
36
37 Copyright: LGPL
38
39 Summary: @PACKAGE_NAME@
40 Group: System Environment/Libraries
41
42 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
43 Prefix: %{_prefix}
44
45 Vendor: Kevin L. Mitchell <klmitch@mit.edu>
46 Packager: %{packager}
47 Url: http://dbprim.sourceforge.net/
48
49 BuildRequires: doxygen
50 BuildRequires: tetex-latex
51 BuildRequires: tetex-dvips
52 BuildRequires: ghostscript
53
54 %description
55 This library provides a set of database primitives--linked lists,
56 autoresizing hash tables, sparse matrices, and red-black trees.
57
58 %package devel
59 Summary: Libraries and includes for developing with dbprim
60 Group: Development/Libraries
61 Requires: %{name}
62
63 %description devel
64 These are the development files necessary for using the Database
65 Primitives Library. Applications should include dbprim/dbprim.h.
66 This package also includes dbprim-config.
67
68 %changelog
69 * Sat Aug 23 2003 Kevin L Mitchell <klmitch@mit.edu>
70 - Build documentation, set BuildRequires properly
71 - Use @ substitution for Summary
72 - Set URL to SourceForge
73 - Also add tetex-dvips and ghostscript to the list of required build
74 packages
75
76 * Fri Aug 22 2003 Kevin L Mitchell <klmitch@mit.edu>
77 - Creation of initial spec file
78
79 %prep
80 %setup
81
82 %build
83 %configure
84 %__make
85 %{__rm} -rf doc/html doc/latex doc/man
86 doxygen doc/Doxyfile
87 (cd doc/latex && %__make refman.ps refman.pdf)
88
89 %install
90 %clean_build_root
91 make DESTDIR=${RPM_BUILD_ROOT} install
92
93 %clean
94 %clean_build_root
95 %clean_build_dir
96
97 %post -p /sbin/ldconfig
98
99 %postun -p /sbin/ldconfig
100
101 %files
102 %defattr(-, root, root)
103 %doc ChangeLog COPYING INSTALL
104 %{_libdir}/lib*.so.*
105 %{_libdir}/lib*.so
106
107 %files devel
108 %defattr(-, root, root)
109 %doc ChangeLog COPYING INSTALL doc/html
110 %doc doc/latex/refman.dvi doc/latex/refman.ps doc/latex/refman.pdf
111 %{_bindir}/dbprim-config
112 %{_includedir}/dbprim
113 %{_libdir}/lib*.la
114 %{_libdir}/lib*.a
115 %{_mandir}/man3/*