]>
Commit | Line | Data |
---|---|---|
066e79a1 | 1 | Summary: GNOME Structured File library |
2 | Name: libgsf | |
3 | Version: 1.3.0 | |
4 | Release: 1 | |
5 | Group: Libraries | |
6 | License: GPL | |
7 | Source0: ftp://ftp.gnome.org/pub/GNOME/unstable/sources/libgsf/libgsf-%{version}.tar.bz2 | |
8 | Patch0: %{name}-am.patch | |
9 | Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
10 | URL: http://www.gnumeric.org | |
471b3149 | 11 | BuildRequires: glib2-devel >= 2.0.0 |
066e79a1 | 12 | |
13 | %description | |
14 | A library for reading and writing structured files (eg MS OLE and Zip) | |
15 | ||
16 | %package devel | |
17 | Summary: Support files necessary to compile applications with libgsf. | |
18 | Group: Development/Libraries | |
19 | Requires: libgsf = %{version} | |
20 | ||
21 | %description devel | |
22 | Headers, and support files necessary to compile applications using libgsf. | |
23 | ||
24 | %package static | |
25 | Summary: libgsf static libraries. | |
26 | Group: Development/Libraries | |
27 | Requires: libgsf-devel = %{version} | |
28 | ||
29 | %description static | |
30 | Package contains static libraries. | |
31 | ||
32 | %prep | |
33 | %setup -q | |
34 | %patch0 -p1 | |
35 | ||
36 | %build | |
37 | rm -f missing acinclude.m4 | |
38 | %{__libtoolize} | |
39 | %{__gettextize} | |
40 | aclocal -I m4 | |
41 | %{__autoconf} | |
42 | %{__automake} | |
43 | %configure | |
44 | %{__make} | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %{__make} install \ | |
50 | DESTDIR=$RPM_BUILD_ROOT | |
51 | ||
52 | %clean | |
53 | rm -r $RPM_BUILD_ROOT | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
57 | %doc AUTHORS README NEWS | |
58 | %attr(755,root,root) %{_libdir}/lib*.so.*.* | |
59 | ||
60 | %files devel | |
61 | %defattr(644,root,root,755) | |
62 | %attr(755,root,root) %{_libdir}/lib*.?? | |
63 | %{_includedir}/libgsf-1 | |
64 | %{_pkgconfigdir}/*.pc | |
65 | ||
66 | %files static | |
67 | %defattr(644,root,root,755) | |
68 | %{_libdir}/*.a |