]> git.pld-linux.org Git - packages/dmapi.git/blame - dmapi.spec
- shared lib fix
[packages/dmapi.git] / dmapi.spec
CommitLineData
3dff3b3e
JR
1Summary: DMAPI library
2Name: dmapi
15ac7652 3Version: 0.2.2
3dff3b3e
JR
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
53824c16
JR
65rm -f $RPM_BUILD_ROOT%{_libdir}/libdm.so
66ln -sf /lib/libdm.so.*.*.* $RPM_BUILD_ROOT%{_libdir}/libdm.so
67
3dff3b3e
JR
68gzip -9nf doc/CHANGES
69
70%clean
71rm -rf $RPM_BUILD_ROOT
72
73%files
74%defattr(644,root,root,755)
75%doc doc/*.gz
15ac7652 76%attr(755,root,root) /lib/lib*.so.*
3dff3b3e
JR
77
78%files devel
79%defattr(644,root,root,755)
15ac7652
JR
80%attr(755,root,root) %{_libdir}/lib*.la
81%attr(755,root,root) %{_libdir}/lib*.so
3dff3b3e
JR
82%{_includedir}/xfs
83%{_mandir}/man3/*
84
85%files static
86%defattr(644,root,root,755)
87%{_libdir}/lib*.a
This page took 0.120199 seconds and 4 git commands to generate.