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 %define _libexecdir /usr/lib
18 DMAPI, or XDSM, is an implementation of the X/Open document: Systems
19 Management: Data Storage Management (XDSM) API dated February 1997.
20 This interface is made available for the XFS filesystem by means of
23 See the XDSM manual at
24 http://www.opengroup.org/onlinepubs/9657099/toc.htm for a description
25 of the functions offered by libdm library.
28 DMAPI (albo XDSM) to implementacja dokumentu X/Open "Systems
29 Management: Data Storage Management (XDSM) API) z lutego 1997. Ten
30 interfejs jest dostêpny dla systemu plików XFS poprzez bibliotekê
33 Opis funkcji oferowanych przez bibliotekê libdm jest w podrêczniku:
34 http://www.opengroup.org/onlinepubs/9657099/toc.htm
37 Summary: Header files for DMAPI library
38 Summary(pl): Pliki nag³ówkowe biblioteki DMAPI
39 Group: Development/Libraries
40 Requires: %{name} = %{version}
41 Requires: xfsprogs-devel
44 Header files required to develop software which uses DMAPI.
46 %description devel -l pl
47 Pliki nag³ówkowe potrzebne do tworzenia oprogramowania u¿ywaj±cego
51 Summary: Static DMAPI library
52 Summary(pl): Statyczna biblioteka DMAPI
53 Group: Development/Libraries
54 Requires: %{name}-devel = %{version}
57 Static version of DMAPI library.
59 %description static -l pl
60 Statyczna wersja biblioteki DMAPI.
66 DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}"; export DEBUG
69 OPTIMIZER="%{rpmcflags}"
74 rm -rf $RPM_BUILD_ROOT
76 DIST_ROOT="$RPM_BUILD_ROOT"
77 DIST_INSTALL=`pwd`/install.manifest
78 DIST_INSTALL_DEV=`pwd`/install-dev.manifest
79 export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV
81 %{__make} install DIST_MANIFEST="$DIST_INSTALL"
82 %{__make} install-dev DIST_MANIFEST="$DIST_INSTALL_DEV"
84 rm -f $RPM_BUILD_ROOT%{_libexecdir}/libdm.so
85 ln -sf %{_libdir}/libdm.so.0.0.4 $RPM_BUILD_ROOT%{_libexecdir}/libdm.so
88 rm -rf $RPM_BUILD_ROOT
90 %post -p /sbin/ldconfig
91 %postun -p /sbin/ldconfig
94 %defattr(644,root,root,755)
96 %attr(755,root,root) %{_libdir}/lib*.so.*.*
99 %defattr(644,root,root,755)
100 %attr(755,root,root) %{_libexecdir}/lib*.la
101 %attr(755,root,root) %{_libexecdir}/lib*.so
106 %defattr(644,root,root,755)
107 %{_libexecdir}/lib*.a