2 Summary(pl): Biblioteka DMAPI
7 Group: Development/Libraries
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 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 DMAPI, or XDSM, is an implementation of the X/Open document: Systems
15 Management: Data Storage Management (XDSM) API dated February 1997.
16 This interface is made available for the XFS filesystem by means of
19 See the XDSM manual at
20 http://www.opengroup.org/onlinepubs/9657099/toc.htm for a description
21 of the functions offered by libdm library.
24 DMAPI (albo XDSM) to implementacja dokumentu X/Open "Systems
25 Management: Data Storage Management (XDSM) API) z lutego 1997. Ten
26 interfejs jest dostêpny dla systemu plików XFS poprzez bibliotekê
29 Opis funkcji oferowanych przez bibliotekê libdm jest w podrêczniku:
30 http://www.opengroup.org/onlinepubs/9657099/toc.htm
33 Summary: Header files for DMAPI library
34 Summary(pl): Pliki nag³ówkowe biblioteki DMAPI
35 Group: Development/Libraries
36 Requires: %{name} = %{version}
39 Header files required to develop software which uses DMAPI.
41 %description devel -l pl
42 Pliki nag³ówkowe potrzebne do tworzenia oprogramowania u¿ywaj±cego
46 Summary: Static DMAPI library
47 Summary(pl): Statyczna biblioteka DMAPI
48 Group: Development/Libraries
49 Requires: %{name}-devel = %{version}
52 Static version of DMAPI library.
54 %description static -l pl
55 Statyczna wersja biblioteki DMAPI.
61 DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}"; export DEBUG
68 rm -rf $RPM_BUILD_ROOT
70 DIST_ROOT="$RPM_BUILD_ROOT"
71 DIST_INSTALL=`pwd`/install.manifest
72 DIST_INSTALL_DEV=`pwd`/install-dev.manifest
73 export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV
75 %{__make} install DIST_MANIFEST="$DIST_INSTALL"
76 %{__make} install-dev DIST_MANIFEST="$DIST_INSTALL_DEV"
78 rm -f $RPM_BUILD_ROOT%{_libdir}/libdm.so
79 ln -sf /lib/libdm.so.0.0.1 $RPM_BUILD_ROOT%{_libdir}/libdm.so
84 rm -rf $RPM_BUILD_ROOT
86 %post -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
90 %defattr(644,root,root,755)
92 %attr(755,root,root) /lib/lib*.so.*.*
95 %defattr(644,root,root,755)
96 %attr(755,root,root) %{_libdir}/lib*.la
97 %attr(755,root,root) %{_libdir}/lib*.so
102 %defattr(644,root,root,755)