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