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