2 Summary(pl): Biblioteka DMAPI
8 Source0: ftp://linux-xfs.sgi.com/projects/xfs/download/cmd_tars/%{name}-%{version}.src.tar.gz
9 URL: http://oss.sgi.com/projects/xfs/
10 BuildRequires: autoconf
11 BuildRequires: xfsprogs-devel >= 2.0.0
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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 of
20 See the XDSM manual at
21 http://www.opengroup.org/onlinepubs/9657099/toc.htm for a description
22 of the functions offered by libdm library.
25 DMAPI (albo XDSM) to implementacja dokumentu X/Open "Systems
26 Management: Data Storage Management (XDSM) API) z lutego 1997. Ten
27 interfejs jest dostêpny dla systemu plików XFS poprzez bibliotekê
30 Opis funkcji oferowanych przez bibliotekê libdm jest w podrêczniku:
31 http://www.opengroup.org/onlinepubs/9657099/toc.htm
34 Summary: Header files for DMAPI library
35 Summary(pl): Pliki nag³ówkowe biblioteki DMAPI
36 Group: Development/Libraries
37 Requires: %{name} = %{version}
38 Requires: xfsprogs-devel
41 Header files required to develop software which uses DMAPI.
43 %description devel -l pl
44 Pliki nag³ówkowe potrzebne do tworzenia oprogramowania u¿ywaj±cego
48 Summary: Static DMAPI library
49 Summary(pl): Statyczna biblioteka DMAPI
50 Group: Development/Libraries
51 Requires: %{name}-devel = %{version}
54 Static version of DMAPI library.
56 %description static -l pl
57 Statyczna wersja biblioteki DMAPI.
63 DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}"; export DEBUG
70 rm -rf $RPM_BUILD_ROOT
72 DIST_ROOT="$RPM_BUILD_ROOT"
73 DIST_INSTALL=`pwd`/install.manifest
74 DIST_INSTALL_DEV=`pwd`/install-dev.manifest
75 export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV
77 %{__make} install DIST_MANIFEST="$DIST_INSTALL"
78 %{__make} install-dev DIST_MANIFEST="$DIST_INSTALL_DEV"
80 rm -f $RPM_BUILD_ROOT%{_libdir}/libdm.so
81 ln -sf /lib/libdm.so.0.0.1 $RPM_BUILD_ROOT%{_libdir}/libdm.so
86 rm -rf $RPM_BUILD_ROOT
88 %post -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
92 %defattr(644,root,root,755)
94 %attr(755,root,root) /lib/lib*.so.*.*
97 %defattr(644,root,root,755)
98 %attr(755,root,root) %{_libdir}/lib*.la
99 %attr(755,root,root) %{_libdir}/lib*.so
104 %defattr(644,root,root,755)