You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
liborcus/liborcus.spec

102 lines
2.4 KiB

13 years ago
Name: liborcus
12 years ago
Version: 0.3.0
Release: 5%{?dist}
13 years ago
Summary: Standalone file import filter library for spreadsheet documents
Group: System Environment/Libraries
License: MIT
URL: http://gitorious.org/orcus
Source: http://kohei.us/files/orcus/src/%{name}_%{version}.tar.bz2
# libs
BuildRequires: boost-devel
BuildRequires: mdds-devel
BuildRequires: zlib-devel
# upstreamed as <https://gitorious.org/orcus/orcus/merge_requests/2#f60d6eecee72349993a392a9a63ddf3383d3b8c8-f60d6eecee72349993a392a9a63ddf3383d3b8c8@2>:
Patch1: boost-include.patch
13 years ago
%description
%{name} is a standalone file import filter library for spreadsheet
documents. Currently under development are ODS, XLSX and CSV import
filters.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package tools
Summary: Tools for working with Orcus
Group: Applications/Publishing
Requires: %{name}%{?_isa} = %{version}-%{release}
%description tools
Tools for working with Orcus.
%prep
%setup -q -n %{name}_%{version}
%patch1 -p1 -b .boost-include.patch
13 years ago
%build
# TODO spreadsheet-model requires ixion
%configure --disable-debug --disable-static --disable-werror --with-pic \
--disable-spreadsheet-model --without-libzip
sed -i \
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
libtool
make %{?_smp_mflags} V=1
%install
make install DESTDIR=%{buildroot}
rm -f %{buildroot}/%{_libdir}/*.la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc AUTHORS
12 years ago
%{_libdir}/%{name}-0.4.so.*
13 years ago
%files devel
12 years ago
%{_includedir}/%{name}-0.4
%{_libdir}/%{name}-0.4.so
%{_libdir}/pkgconfig/%{name}-0.4.pc
13 years ago
%files tools
12 years ago
%{_bindir}/orcus-xml-dump
13 years ago
%changelog
* Fri Feb 15 2013 Stephan Bergmannn <sbergman@redhat.com> - 0.3.0-5
- missing boost include
* Sun Feb 10 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.3.0-4
- Rebuild for Boost-1.53.0
* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.3.0-3
- Rebuild for Boost-1.53.0
* Sat Dec 08 2012 David Tardon <dtardon@redhat.com> - 0.3.0-2
- a pointless release bump
12 years ago
* Fri Dec 07 2012 David Tardon <dtardon@redhat.com> - 0.3.0-1
- new release
13 years ago
* Sun Sep 09 2012 David Tardon <dtardon@redhat.com> - 0.1.0-1
- initial import