]> git.pld-linux.org Git - packages/freexl.git/blame - freexl.spec
- unconditional noarch subpackages
[packages/freexl.git] / freexl.spec
CommitLineData
03ae4c11
JB
1#
2# Conditional build:
3%bcond_without apidocs # do not build and package API docs
aa20be06 4
03ae4c11
JB
5Summary: Simple library for extracting the contents of Microsoft Excel files
6Summary(pl.UTF-8): Prosta biblioteka do wyciągania danych z plików Microsoft Excela
7Name: freexl
8e549764 8Version: 1.0.6
cedf0ffa 9Release: 1
03ae4c11
JB
10License: MPL v1.1 or GPL v2+ or LGPL v2.1+
11Group: Libraries
12Source0: http://www.gaia-gis.it/gaia-sins/freexl-sources/%{name}-%{version}.tar.gz
8e549764
JB
13# Source0-md5: d3d2df0d2ad7713038ce99024738172a
14URL: https://www.gaia-gis.it/fossil/freexl/index
03ae4c11 15%{?with_apidocs:BuildRequires: doxygen >= 1.7.3}
8e549764 16BuildRequires: rpmbuild(macros) >= 1.752
03ae4c11
JB
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20FreeXL is a simple library intended for extracting the contents and
21some metadata from Microsoft Excel (.xls) format files.
22
23It makes no attempt to extract GUI-related formatting or
24formulas/charts/etc.
25
26%description -l pl.UTF-8
27FreeXL to prosta biblioteka do wydobywania zawartości oraz niektórych
28metadanych z plików Microsoft Excela (.xls).
29
30Nie próbuje wydobywać formatowania graficznego ani
31wzorów/wykresów/itp.
32
33%package devel
34Summary: Header files for FreeXL library
35Summary(pl.UTF-8): Pliki nagłówkowe biblioteki FreeXL
36Group: Development/Libraries
37Requires: %{name} = %{version}-%{release}
38
39%description devel
40Header files for FreeXL library.
41
42%description devel -l pl.UTF-8
43Pliki nagłówkowe biblioteki FreeXL.
44
45%package static
46Summary: Static FreeXL library
47Summary(pl.UTF-8): Statyczna biblioteka FreeXL
48Group: Development/Libraries
49Requires: %{name}-devel = %{version}-%{release}
50
51%description static
52Static FreeXL library.
53
54%description static -l pl.UTF-8
55Statyczna biblioteka FreeXL.
56
57%package apidocs
58Summary: FreeXL API documentation
59Summary(pl.UTF-8): Dokumentacja API biblioteki FreeXL
60Group: Documentation
0a7a3a78 61BuildArch: noarch
03ae4c11
JB
62
63%description apidocs
64API and internal documentation for FreeXL library.
65
66%description apidocs -l pl.UTF-8
67Dokumentacja API biblioteki FreeXL.
68
69%prep
70%setup -q
71
72%build
73%configure
74
6c250774 75%{__make}
03ae4c11
JB
76
77%{?with_apidocs:doxygen}
78
79%install
80rm -rf $RPM_BUILD_ROOT
81
82%{__make} install \
83 DESTDIR=$RPM_BUILD_ROOT
84
85# obsoleted by pkg-config
86%{__rm} $RPM_BUILD_ROOT%{_libdir}/libfreexl.la
87
88%clean
89rm -rf $RPM_BUILD_ROOT
90
91%post -p /sbin/ldconfig
92%postun -p /sbin/ldconfig
93
94%files
95%defattr(644,root,root,755)
96%doc AUTHORS README
97%attr(755,root,root) %{_libdir}/libfreexl.so.*.*.*
98%attr(755,root,root) %ghost %{_libdir}/libfreexl.so.1
99
100%files devel
101%defattr(644,root,root,755)
102%attr(755,root,root) %{_libdir}/libfreexl.so
103%{_includedir}/freexl.h
104%{_pkgconfigdir}/freexl.pc
105
106%files static
107%defattr(644,root,root,755)
108%{_libdir}/libfreexl.a
109
110%if %{with apidocs}
111%files apidocs
112%defattr(644,root,root,755)
8e549764 113%doc html/{search,*.{css,html,jpg,js,png}}
03ae4c11 114%endif
This page took 0.150458 seconds and 4 git commands to generate.