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: f928d849584d97e6a65dced71f8c10a5
10 Patch0: %{name}-miscfix.patch
11 URL: http://oss.sgi.com/projects/xfs/
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: xfsprogs-devel >= 2.6.13
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define _libdir /%{_lib}
18 %define _libexecdir /usr/%{_lib}
21 DMAPI, or XDSM, is an implementation of the X/Open document: Systems
22 Management: Data Storage Management (XDSM) API dated February 1997.
23 This interface is made available for the XFS filesystem by means of
26 See the XDSM manual at
27 http://www.opengroup.org/onlinepubs/9657099/toc.htm for a description
28 of the functions offered by libdm library.
31 DMAPI (albo XDSM) to implementacja dokumentu X/Open "Systems
32 Management: Data Storage Management (XDSM) API) z lutego 1997. Ten
33 interfejs jest dostêpny dla systemu plików XFS poprzez bibliotekê
36 Opis funkcji oferowanych przez bibliotekê libdm jest w podrêczniku:
37 http://www.opengroup.org/onlinepubs/9657099/toc.htm
40 Summary: Header files for DMAPI library
41 Summary(pl): Pliki nag³ówkowe biblioteki DMAPI
42 Group: Development/Libraries
43 Requires: %{name} = %{version}-%{release}
44 Requires: xfsprogs-devel
47 Header files required to develop software which uses DMAPI.
49 %description devel -l pl
50 Pliki nag³ówkowe potrzebne do tworzenia oprogramowania u¿ywaj±cego
54 Summary: Static DMAPI library
55 Summary(pl): Statyczna biblioteka DMAPI
56 Group: Development/Libraries
57 Requires: %{name}-devel = %{version}-%{release}
60 Static version of DMAPI library.
62 %description static -l pl
63 Statyczna wersja biblioteki DMAPI.
74 DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}" \
75 OPTIMIZER="%{rpmcflags}"
80 rm -rf $RPM_BUILD_ROOT
82 DIST_ROOT=$RPM_BUILD_ROOT
83 DIST_INSTALL=`pwd`/install.manifest
84 DIST_INSTALL_DEV=`pwd`/install-dev.manifest
85 export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV
88 DIST_MANIFEST=$DIST_INSTALL
89 %{__make} install-dev \
90 DIST_MANIFEST=$DIST_INSTALL_DEV
92 rm -f $RPM_BUILD_ROOT%{_libexecdir}/libdm.so
93 ln -sf %{_libdir}/$(cd $RPM_BUILD_ROOT%{_libdir} ; echo libdm.so.*.*.*) \
94 $RPM_BUILD_ROOT%{_libexecdir}/libdm.so
97 rm -rf $RPM_BUILD_ROOT
99 %post -p /sbin/ldconfig
100 %postun -p /sbin/ldconfig
103 %defattr(644,root,root,755)
104 # COPYING specifies which parts are on LGPL/GPL
105 %doc doc/{CHANGES,COPYING}
106 %attr(755,root,root) %{_libdir}/lib*.so.*.*
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_libexecdir}/lib*.so
111 %{_libexecdir}/lib*.la
116 %defattr(644,root,root,755)
117 %{_libexecdir}/lib*.a