2 Summary(pl): Biblioteka DMAPI
8 Source0: ftp://linux-xfs.sgi.com/projects/xfs/download/cmd_tars/%{name}-%{version}.src.tar.gz
9 # Source0-md5: 1f84efedf8ef30d6c440defb7b550e77
10 URL: http://oss.sgi.com/projects/xfs/
11 BuildRequires: autoconf
12 BuildRequires: xfsprogs-devel >= 2.0.0
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define _libexecdir /usr/lib
19 DMAPI, or XDSM, is an implementation of the X/Open document: Systems
20 Management: Data Storage Management (XDSM) API dated February 1997.
21 This interface is made available for the XFS filesystem by means of
24 See the XDSM manual at
25 http://www.opengroup.org/onlinepubs/9657099/toc.htm for a description
26 of the functions offered by libdm library.
29 DMAPI (albo XDSM) to implementacja dokumentu X/Open "Systems
30 Management: Data Storage Management (XDSM) API) z lutego 1997. Ten
31 interfejs jest dostêpny dla systemu plików XFS poprzez bibliotekê
34 Opis funkcji oferowanych przez bibliotekê libdm jest w podrêczniku:
35 http://www.opengroup.org/onlinepubs/9657099/toc.htm
38 Summary: Header files for DMAPI library
39 Summary(pl): Pliki nag³ówkowe biblioteki DMAPI
40 Group: Development/Libraries
41 Requires: %{name} = %{version}
42 Requires: xfsprogs-devel
45 Header files required to develop software which uses DMAPI.
47 %description devel -l pl
48 Pliki nag³ówkowe potrzebne do tworzenia oprogramowania u¿ywaj±cego
52 Summary: Static DMAPI library
53 Summary(pl): Statyczna biblioteka DMAPI
54 Group: Development/Libraries
55 Requires: %{name}-devel = %{version}
58 Static version of DMAPI library.
60 %description static -l pl
61 Statyczna wersja biblioteki DMAPI.
67 DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}"; export DEBUG
70 OPTIMIZER="%{rpmcflags}"
75 rm -rf $RPM_BUILD_ROOT
77 DIST_ROOT=$RPM_BUILD_ROOT
78 DIST_INSTALL=`pwd`/install.manifest
79 DIST_INSTALL_DEV=`pwd`/install-dev.manifest
80 export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV
83 DIST_MANIFEST=$DIST_INSTALL
84 %{__make} install-dev \
85 DIST_MANIFEST=$DIST_INSTALL_DEV
87 rm -f $RPM_BUILD_ROOT%{_libexecdir}/libdm.so
88 ln -sf %{_libdir}/libdm.so.0.0.4 $RPM_BUILD_ROOT%{_libexecdir}/libdm.so
91 rm -rf $RPM_BUILD_ROOT
93 %post -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
97 %defattr(644,root,root,755)
98 # COPYING specifies which parts are on LGPL/GPL
99 %doc doc/{CHANGES,COPYING}
100 %attr(755,root,root) %{_libdir}/lib*.so.*.*
103 %defattr(644,root,root,755)
104 %{_libexecdir}/lib*.la
105 %attr(755,root,root) %{_libexecdir}/lib*.so
110 %defattr(644,root,root,755)
111 %{_libexecdir}/lib*.a