3 %bcond_without apidocs # do not build and package API docs
5 Summary: Simple library for extracting the contents of Microsoft Excel files
6 Summary(pl.UTF-8): Prosta biblioteka do wyciągania danych z plików Microsoft Excela
10 License: MPL v1.1 or GPL v2+ or LGPL v2.1+
12 Source0: http://www.gaia-gis.it/gaia-sins/freexl-sources/%{name}-%{version}.tar.gz
13 # Source0-md5: d3d2df0d2ad7713038ce99024738172a
14 URL: https://www.gaia-gis.it/fossil/freexl/index
15 %{?with_apidocs:BuildRequires: doxygen >= 1.7.3}
16 BuildRequires: rpmbuild(macros) >= 1.752
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 FreeXL is a simple library intended for extracting the contents and
21 some metadata from Microsoft Excel (.xls) format files.
23 It makes no attempt to extract GUI-related formatting or
26 %description -l pl.UTF-8
27 FreeXL to prosta biblioteka do wydobywania zawartości oraz niektórych
28 metadanych z plików Microsoft Excela (.xls).
30 Nie próbuje wydobywać formatowania graficznego ani
34 Summary: Header files for FreeXL library
35 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki FreeXL
36 Group: Development/Libraries
37 Requires: %{name} = %{version}-%{release}
40 Header files for FreeXL library.
42 %description devel -l pl.UTF-8
43 Pliki nagłówkowe biblioteki FreeXL.
46 Summary: Static FreeXL library
47 Summary(pl.UTF-8): Statyczna biblioteka FreeXL
48 Group: Development/Libraries
49 Requires: %{name}-devel = %{version}-%{release}
52 Static FreeXL library.
54 %description static -l pl.UTF-8
55 Statyczna biblioteka FreeXL.
58 Summary: FreeXL API documentation
59 Summary(pl.UTF-8): Dokumentacja API biblioteki FreeXL
64 API and internal documentation for FreeXL library.
66 %description apidocs -l pl.UTF-8
67 Dokumentacja API biblioteki FreeXL.
77 %{?with_apidocs:doxygen}
80 rm -rf $RPM_BUILD_ROOT
83 DESTDIR=$RPM_BUILD_ROOT
85 # obsoleted by pkg-config
86 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libfreexl.la
89 rm -rf $RPM_BUILD_ROOT
91 %post -p /sbin/ldconfig
92 %postun -p /sbin/ldconfig
95 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_libdir}/libfreexl.so.*.*.*
98 %attr(755,root,root) %ghost %{_libdir}/libfreexl.so.1
101 %defattr(644,root,root,755)
102 %attr(755,root,root) %{_libdir}/libfreexl.so
103 %{_includedir}/freexl.h
104 %{_pkgconfigdir}/freexl.pc
107 %defattr(644,root,root,755)
108 %{_libdir}/libfreexl.a
112 %defattr(644,root,root,755)
113 %doc html/{search,*.{css,html,jpg,js,png}}