]> git.pld-linux.org Git - packages/freexl.git/commitdiff
- new auto/th/freexl-1.0.0d-1
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 27 Sep 2012 16:04:01 +0000 (18:04 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 27 Sep 2012 16:04:01 +0000 (18:04 +0200)
freexl.spec [new file with mode: 0644]

diff --git a/freexl.spec b/freexl.spec
new file mode 100644 (file)
index 0000000..73b1a33
--- /dev/null
@@ -0,0 +1,114 @@
+# $Revision: 1.21 $, $Date: 2011/07/16 18:25:43 $
+#
+# Conditional build:
+%bcond_without apidocs         # do not build and package API docs
+#
+Summary:       Simple library for extracting the contents of Microsoft Excel files
+Summary(pl.UTF-8):     Prosta biblioteka do wyciągania danych z plików Microsoft Excela
+Name:          freexl
+Version:       1.0.0d
+Release:       1
+License:       MPL v1.1 or GPL v2+ or LGPL v2.1+
+Group:         Libraries
+Source0:       http://www.gaia-gis.it/gaia-sins/freexl-sources/%{name}-%{version}.tar.gz
+# Source0-md5: 8c8bcff9f4ef597fa5e97bf70a853012
+URL:           https://www.gaia-gis.it/fossil/freexl
+%{?with_apidocs:BuildRequires: doxygen >= 1.7.3}
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+FreeXL is a simple library intended for extracting the contents and
+some metadata from Microsoft Excel (.xls) format files.
+
+It makes no attempt to extract GUI-related formatting or
+formulas/charts/etc.
+
+%description -l pl.UTF-8
+FreeXL to prosta biblioteka do wydobywania zawartości oraz niektórych
+metadanych z plików Microsoft Excela (.xls).
+
+Nie próbuje wydobywać formatowania graficznego ani
+wzorów/wykresów/itp.
+
+%package devel
+Summary:       Header files for FreeXL library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki FreeXL
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Header files for FreeXL library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki FreeXL.
+
+%package static
+Summary:       Static FreeXL library
+Summary(pl.UTF-8):     Statyczna biblioteka FreeXL
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static FreeXL library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka FreeXL.
+
+%package apidocs
+Summary:       FreeXL API documentation
+Summary(pl.UTF-8):     Dokumentacja API biblioteki FreeXL
+Group:         Documentation
+
+%description apidocs
+API and internal documentation for FreeXL library.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki FreeXL.
+
+%prep
+%setup -q
+
+%build
+%configure
+
+%{__make} \
+       libfreexl_la_LIBADD="-lm"
+
+%{?with_apidocs:doxygen}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libfreexl.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS README
+%attr(755,root,root) %{_libdir}/libfreexl.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libfreexl.so.1
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libfreexl.so
+%{_includedir}/freexl.h
+%{_pkgconfigdir}/freexl.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libfreexl.a
+
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
+%doc html/*
+%endif
This page took 0.080458 seconds and 4 git commands to generate.