]>
Commit | Line | Data |
---|---|---|
3dff3b3e JR |
1 | Summary: DMAPI library |
2 | Name: dmapi | |
3 | Version: 0.1.1 | |
4 | Release: 1 | |
5 | License: GPL | |
6 | Group: Development/Libraries | |
7 | Group(de): Entwicklung/Libraries | |
8 | Group(fr): Development/Librairies | |
9 | Group(pl): Programowanie/Biblioteki | |
10 | Source0: ftp://linux-xfs.sgi.com/projects/xfs/download/cmd_tars/%{name}-%{version}.src.tar.gz | |
11 | URL: http://oss.sgi.com/projects/xfs/ | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | DMAPI, or XDSM, is an implementation of the X/Open document: Systems | |
16 | Management: Data Storage Management (XDSM) API dated February 1997. | |
17 | This interface is made available for the XFS filesystem by means | |
18 | of the libdm library. | |
19 | ||
20 | See the XDSM manual at http://www.opengroup.org/onlinepubs/9657099/toc.htm | |
21 | for a description of the functions offered by libdm library. | |
22 | ||
23 | %package devel | |
24 | Summary: Header files for DMAPI library | |
25 | Group: Development/Libraries | |
26 | Group(de): Entwicklung/Libraries | |
27 | Group(fr): Development/Librairies | |
28 | Group(pl): Programowanie/Biblioteki | |
29 | Requires: %{name} = %{version} | |
30 | ||
31 | %description devel | |
32 | Header files required to develop software which uses DMAPI. | |
33 | ||
34 | %package static | |
35 | Summary: Static DMAPI library | |
36 | Group: Development/Libraries | |
37 | Group(de): Entwicklung/Libraries | |
38 | Group(fr): Development/Librairies | |
39 | Group(pl): Programowanie/Biblioteki | |
40 | Requires: %{name}-devel = %{version} | |
41 | ||
42 | %description static | |
43 | Static version of DMAPI library. | |
44 | ||
45 | %prep | |
46 | %setup -q | |
47 | ||
48 | %build | |
49 | DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}"; export DEBUG | |
50 | autoconf | |
51 | %configure | |
52 | ||
53 | %{__make} | |
54 | ||
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | DIST_ROOT="$RPM_BUILD_ROOT" | |
59 | DIST_INSTALL=`pwd`/install.manifest | |
60 | DIST_INSTALL_DEV=`pwd`/install-dev.manifest | |
61 | export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV | |
62 | %{__make} install DIST_MANIFEST="$DIST_INSTALL" | |
63 | %{__make} install-dev DIST_MANIFEST="$DIST_INSTALL_DEV" | |
64 | ||
65 | gzip -9nf doc/CHANGES | |
66 | ||
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %files | |
71 | %defattr(644,root,root,755) | |
72 | %doc doc/*.gz | |
73 | %attr(755,root,root) %{_libdir}/lib*.so.* | |
74 | ||
75 | %files devel | |
76 | %defattr(644,root,root,755) | |
77 | %{_libdir}/lib*.so | |
78 | %{_includedir}/xfs | |
79 | %{_mandir}/man3/* | |
80 | ||
81 | %files static | |
82 | %defattr(644,root,root,755) | |
83 | %{_libdir}/lib*.a |