]> git.pld-linux.org Git - packages/dmapi.git/blob - dmapi.spec
- changed base Group to Libraries
[packages/dmapi.git] / dmapi.spec
1 Summary:        DMAPI library
2 Summary(pl):    Biblioteka DMAPI
3 Name:           dmapi
4 Version:        2.0.0
5 Release:        2
6 License:        GPL
7 Group:          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 BuildRequires:  xfsprogs-devel >= 2.0.0
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 DMAPI, or XDSM, is an implementation of the X/Open document: Systems
16 Management: Data Storage Management (XDSM) API dated February 1997.
17 This interface is made available for the XFS filesystem by means of
18 the libdm library.
19
20 See the XDSM manual at
21 http://www.opengroup.org/onlinepubs/9657099/toc.htm for a description
22 of the functions offered by libdm library.
23
24 %description -l pl
25 DMAPI (albo XDSM) to implementacja dokumentu X/Open "Systems
26 Management: Data Storage Management (XDSM) API) z lutego 1997. Ten
27 interfejs jest dostêpny dla systemu plików XFS poprzez bibliotekê
28 libdm.
29
30 Opis funkcji oferowanych przez bibliotekê libdm jest w podrêczniku:
31 http://www.opengroup.org/onlinepubs/9657099/toc.htm
32
33 %package devel
34 Summary:        Header files for DMAPI library
35 Summary(pl):    Pliki nag³ówkowe biblioteki DMAPI
36 Group:          Development/Libraries
37 Requires:       %{name} = %{version}
38 Requires:       xfsprogs-devel
39
40 %description devel
41 Header files required to develop software which uses DMAPI.
42
43 %description devel -l pl
44 Pliki nag³ówkowe potrzebne do tworzenia oprogramowania u¿ywaj±cego
45 DMAPI.
46
47 %package static
48 Summary:        Static DMAPI library
49 Summary(pl):    Statyczna biblioteka DMAPI
50 Group:          Development/Libraries
51 Requires:       %{name}-devel = %{version}
52
53 %description static
54 Static version of DMAPI library.
55
56 %description static -l pl
57 Statyczna wersja biblioteki DMAPI.
58
59 %prep
60 %setup  -q
61
62 %build
63 DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}"; export DEBUG
64 autoconf
65 %configure
66
67 %{__make}
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71
72 DIST_ROOT="$RPM_BUILD_ROOT"
73 DIST_INSTALL=`pwd`/install.manifest
74 DIST_INSTALL_DEV=`pwd`/install-dev.manifest
75 export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV
76
77 %{__make} install DIST_MANIFEST="$DIST_INSTALL"
78 %{__make} install-dev DIST_MANIFEST="$DIST_INSTALL_DEV"
79
80 rm -f $RPM_BUILD_ROOT%{_libdir}/libdm.so
81 ln -sf /lib/libdm.so.0.0.1 $RPM_BUILD_ROOT%{_libdir}/libdm.so
82
83 gzip -9nf doc/CHANGES
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post   -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %files
92 %defattr(644,root,root,755)
93 %doc doc/*.gz
94 %attr(755,root,root) /lib/lib*.so.*.*
95
96 %files devel
97 %defattr(644,root,root,755)
98 %attr(755,root,root) %{_libdir}/lib*.la
99 %attr(755,root,root) %{_libdir}/lib*.so
100 %{_includedir}/xfs/*
101 %{_mandir}/man3/*
102
103 %files static
104 %defattr(644,root,root,755)
105 %{_libdir}/lib*.a
This page took 0.067146 seconds and 3 git commands to generate.