]> git.pld-linux.org Git - packages/libgsf.git/blob - libgsf.spec
- rel. 2
[packages/libgsf.git] / libgsf.spec
1 Summary:        GNOME Structured File library
2 Summary(pl):    Biblioteka plików strukturalnych dla GNOME
3 Name:           libgsf
4 Version:        1.5.0
5 Release:        2
6 License:        GPL v2
7 Group:          Libraries
8 Source0:        ftp://ftp.gnome.org/pub/gnome/sources/libgsf/1.5/libgsf-%{version}.tar.bz2
9 Patch0:         %{name}-am.patch
10 URL:            http://www.gnumeric.org/
11 BuildRequires:  ORBit2-devel
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  glib2-devel >= 2.0.0
15 BuildRequires:  gnome-vfs2-devel
16 BuildRequires:  libbonobo-devel >= 2.0.0
17 BuildRequires:  libtool
18 BuildRequires:  libxml2-devel
19 BuildRequires:  pkgconfig
20 Buildroot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _gtkdocdir      %{_defaultdocdir}/gtk-doc/html
23
24 %description
25 A library for reading and writing structured files (e.g. MS OLE and
26 Zip).
27
28 %description -l pl
29 Biblioteka do odczytu i zapisu plików strukturalnych (np. MS OLE lub
30 Zip).
31
32 %package devel
33 Summary:        Support files necessary to compile applications with libgsf
34 Summary(pl):    Pliki do kompilowania aplikacji u¿ywaj±cych libgsf
35 Group:          Development/Libraries
36 Requires:       libgsf = %{version}
37 Requires:       glib2-devel
38 Requires:       gtk-doc-common
39 Requires:       libxml2-devel
40
41 %description devel
42 Headers, and support files necessary to compile applications using
43 libgsf.
44
45 %description devel -l pl
46 Pliki nag³ówkowe i inne potrzebne do kompilowania aplikacji
47 u¿ywaj±cych libgsf.
48
49 %package static
50 Summary:        libgsf static libraries
51 Summary(pl):    Statyczne biblioteki libgsf
52 Group:          Development/Libraries
53 Requires:       libgsf-devel = %{version}
54
55 %description static
56 Package contains static libraries.
57
58 %description static -l pl
59 Statyczne biblioteki libgsf.
60
61 %package gnome
62 Summary:        GNOME specific extensions to libgsf
63 Summary(pl):    Rozszerzenia GNOME do biblioteki libgsf
64 Group:          Libraries
65 Requires:       %{name} = %{version}
66
67 %description gnome
68 GNOME specific extensions to libgsf.
69
70 %description gnome -l pl
71 Rozszerzenia GNOME do biblioteki libgsf.
72
73 %package gnome-devel
74 Summary:        libgsf-gnome header files
75 Summary(pl):    Pliki nag³ówkowe libgsf-gnome
76 Group:          Development/Libraries
77 Requires:       %{name}-devel = %{version}
78 Requires:       %{name}-gnome = %{version}
79 Requires:       gnome-vfs2-devel
80 Requires:       libbonobo-devel
81
82 %description gnome-devel
83 libgsf-gnome header files.
84
85 %description gnome-devel -l pl
86 Pliki nag³ówkowe libgsf-gnome.
87
88 %package gnome-static
89 Summary:        Static libgsf-gnome library
90 Summary(pl):    Statyczna biblioteka libgsf-gnome
91 Group:          Development/Libraries
92 Requires:       %{name}-gnome-devel = %{version}
93
94 %description gnome-static
95 Static libgsf-gnome library.
96
97 %description gnome-static -l pl
98 Statyczna biblioteka libgsf-gnome.
99
100 %prep
101 %setup -q
102 %patch0 -p1
103
104 %build
105 rm -f missing acinclude.m4
106 %{__libtoolize}
107 %{__aclocal}
108 %{__autoconf}
109 %{__automake}
110 %configure \
111         --enable-gtk-doc 
112 %{__make}
113
114 %install
115 rm -rf $RPM_BUILD_ROOT
116
117 %{__make} install \
118         DOC_DIR=%{_gtkdocdir}/\$\(DOC_MODULE\) \
119         pkgconfigdir=%{_pkgconfigdir} \
120         DESTDIR=$RPM_BUILD_ROOT
121
122 %clean
123 rm -rf $RPM_BUILD_ROOT
124
125 %post   -p /sbin/ldconfig
126 %postun -p /sbin/ldconfig
127
128 %post   gnome -p /sbin/ldconfig
129 %postun gnome -p /sbin/ldconfig
130
131 %files
132 %defattr(644,root,root,755)
133 %doc AUTHORS README NEWS
134 %attr(755,root,root) %{_libdir}/libgsf-?.so.*.*
135
136 %files devel
137 %defattr(644,root,root,755)
138 %attr(755,root,root) %{_libdir}/libgsf-?.??
139 %dir %{_includedir}/libgsf-1
140 %{_includedir}/libgsf-1/gsf
141 %{_pkgconfigdir}/libgsf-?.pc
142 %{_gtkdocdir}/*
143
144 %files static
145 %defattr(644,root,root,755)
146 %{_libdir}/libgsf-?.a
147
148 %files gnome
149 %defattr(644,root,root,755)
150 %attr(755,root,root) %{_libdir}/libgsf-gnome-?.so.*.*
151
152 %files gnome-devel
153 %defattr(644,root,root,755)
154 %attr(755,root,root) %{_libdir}/libgsf-gnome-?.??
155 %{_includedir}/libgsf-1/gsf-gnome
156 %{_pkgconfigdir}/libgsf-gnome-?.pc
157
158 %files gnome-static
159 %defattr(644,root,root,755)
160 %{_libdir}/libgsf-gnome-?.a
This page took 0.114258 seconds and 4 git commands to generate.