]> git.pld-linux.org Git - packages/dmapi.git/blob - dmapi.spec
a853253d2880b9219cf5e687e856b4fc0db1ea5a
[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 Group(de):      Entwicklung/Libraries
9 Group(es):      Desarrollo/Bibliotecas
10 Group(fr):      Development/Librairies
11 Group(pl):      Programowanie/Biblioteki
12 Group(pt_BR):   Desenvolvimento/Bibliotecas
13 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
14 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
15 Source0:        ftp://linux-xfs.sgi.com/projects/xfs/download/cmd_tars/%{name}-%{version}.src.tar.gz
16 URL:            http://oss.sgi.com/projects/xfs/
17 BuildRequires:  autoconf
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
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
24 the libdm library.
25
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.
29
30 %description -l pl
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ê
34 libdm.
35
36 Opis funkcji oferowanych przez bibliotekê libdm jest w podrêczniku:
37 http://www.opengroup.org/onlinepubs/9657099/toc.htm
38
39 %package devel
40 Summary:        Header files for DMAPI library
41 Summary(pl):    Pliki nag³ówkowe biblioteki DMAPI
42 Group:          Development/Libraries
43 Group(de):      Entwicklung/Libraries
44 Group(es):      Desarrollo/Bibliotecas
45 Group(fr):      Development/Librairies
46 Group(pl):      Programowanie/Biblioteki
47 Group(pt_BR):   Desenvolvimento/Bibliotecas
48 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
49 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
50 Requires:       %{name} = %{version}
51
52 %description devel
53 Header files required to develop software which uses DMAPI.
54
55 %description devel -l pl
56 Pliki nag³ówkowe potrzebne do tworzenia oprogramowania u¿ywaj±cego
57 DMAPI.
58
59 %package static
60 Summary:        Static DMAPI library
61 Summary(pl):    Statyczna biblioteka DMAPI
62 Group:          Development/Libraries
63 Group(de):      Entwicklung/Libraries
64 Group(es):      Desarrollo/Bibliotecas
65 Group(fr):      Development/Librairies
66 Group(pl):      Programowanie/Biblioteki
67 Group(pt_BR):   Desenvolvimento/Bibliotecas
68 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
69 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
70 Requires:       %{name}-devel = %{version}
71
72 %description static
73 Static version of DMAPI library.
74
75 %description static -l pl
76 Statyczna wersja biblioteki DMAPI.
77
78 %prep
79 %setup  -q
80
81 %build
82 DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}"; export DEBUG
83 autoconf
84 %configure 
85
86 %{__make}
87
88 %install
89 rm -rf $RPM_BUILD_ROOT
90
91 DIST_ROOT="$RPM_BUILD_ROOT"
92 DIST_INSTALL=`pwd`/install.manifest
93 DIST_INSTALL_DEV=`pwd`/install-dev.manifest
94 export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV 
95 %{__make} install DIST_MANIFEST="$DIST_INSTALL"
96 %{__make} install-dev DIST_MANIFEST="$DIST_INSTALL_DEV"
97
98 rm -f $RPM_BUILD_ROOT%{_libdir}/libdm.so
99 ln -sf /lib/libdm.so.0.0.1 $RPM_BUILD_ROOT%{_libdir}/libdm.so
100
101 gzip -9nf doc/CHANGES
102
103 %clean
104 rm -rf $RPM_BUILD_ROOT
105
106 %post -p /sbin/ldconfig
107 %postun -p /sbin/ldconfig
108
109 %files
110 %defattr(644,root,root,755)
111 %doc doc/*.gz
112 %attr(755,root,root) /lib/lib*.so.*.*
113
114 %files devel
115 %defattr(644,root,root,755)
116 %attr(755,root,root) %{_libdir}/lib*.la
117 %attr(755,root,root) %{_libdir}/lib*.so
118 %{_includedir}/xfs
119 %{_mandir}/man3/*
120
121 %files static
122 %defattr(644,root,root,755)
123 %{_libdir}/lib*.a
This page took 0.034257 seconds and 2 git commands to generate.