]> git.pld-linux.org Git - packages/dmapi.git/commitdiff
- initial revision
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 1 Jun 2001 13:24:50 +0000 (13:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dmapi.spec -> 1.1

dmapi.spec [new file with mode: 0644]

diff --git a/dmapi.spec b/dmapi.spec
new file mode 100644 (file)
index 0000000..19fbe76
--- /dev/null
@@ -0,0 +1,83 @@
+Summary:       DMAPI library
+Name:          dmapi
+Version:       0.1.1
+Release:       1
+License:       GPL
+Group:         Development/Libraries
+Group(de):     Entwicklung/Libraries
+Group(fr):     Development/Librairies
+Group(pl):     Programowanie/Biblioteki
+Source0:       ftp://linux-xfs.sgi.com/projects/xfs/download/cmd_tars/%{name}-%{version}.src.tar.gz
+URL:           http://oss.sgi.com/projects/xfs/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+DMAPI, or XDSM, is an implementation of the X/Open document: Systems
+Management: Data Storage Management (XDSM) API dated February 1997.
+This interface is made available for the XFS filesystem by means
+of the libdm library.
+                                                                                
+See the XDSM manual at http://www.opengroup.org/onlinepubs/9657099/toc.htm
+for a description of the functions offered by libdm library.
+
+%package devel
+Summary:       Header files for DMAPI library
+Group:         Development/Libraries
+Group(de):     Entwicklung/Libraries
+Group(fr):     Development/Librairies
+Group(pl):     Programowanie/Biblioteki
+Requires:      %{name} = %{version}
+
+%description devel
+Header files required to develop software which uses DMAPI.
+
+%package static
+Summary:       Static DMAPI library
+Group:         Development/Libraries
+Group(de):     Entwicklung/Libraries
+Group(fr):     Development/Librairies
+Group(pl):     Programowanie/Biblioteki
+Requires:      %{name}-devel = %{version}
+
+%description static
+Static version of DMAPI library.
+
+%prep
+%setup  -q
+
+%build
+DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}"; export DEBUG
+autoconf
+%configure 
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+DIST_ROOT="$RPM_BUILD_ROOT"
+DIST_INSTALL=`pwd`/install.manifest
+DIST_INSTALL_DEV=`pwd`/install-dev.manifest
+export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV 
+%{__make} install DIST_MANIFEST="$DIST_INSTALL"
+%{__make} install-dev DIST_MANIFEST="$DIST_INSTALL_DEV"
+
+gzip -9nf doc/CHANGES
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc doc/*.gz
+%attr(755,root,root) %{_libdir}/lib*.so.*
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/lib*.so
+%{_includedir}/xfs
+%{_mandir}/man3/*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.071072 seconds and 4 git commands to generate.