]> git.pld-linux.org Git - packages/liborcus.git/blob - liborcus.spec
- initial from FC
[packages/liborcus.git] / liborcus.spec
1 Summary:        Standalone file import filter library for spreadsheet documents
2 Name:           liborcus
3 Version:        0.3.0
4 Release:        1
5 License:        MIT
6 Group:          Libraries
7 URL:            http://gitorious.org/orcus
8 Source0:        http://kohei.us/files/orcus/src/%{name}_%{version}.tar.bz2
9 # Source0-md5:  8755aac23317494a9028569374dc87b2
10 BuildRequires:  boost-devel
11 BuildRequires:  mdds-devel
12 BuildRequires:  zlib-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 %{name} is a standalone file import filter library for spreadsheet
17 documents. Currently under development are ODS, XLSX and CSV import
18 filters.
19
20 %package devel
21 Summary:        Development files for %{name}
22 Group:          Development/Libraries
23 Requires:       %{name} = %{version}-%{release}
24
25 %description devel
26 The %{name}-devel package contains libraries and header files for
27 developing applications that use %{name}.
28
29 %prep
30 %setup -q -n %{name}_%{version}
31
32 %build
33 # TODO spreadsheet-model requires ixion
34 %configure \
35         --disable-debug \
36         --disable-static \
37         --disable-werror \
38         --with-pic \
39         --disable-spreadsheet-model \
40         --without-libzip
41 %{__make}
42
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %post -p /sbin/ldconfig
54 %postun -p /sbin/ldconfig
55
56 %files
57 %defattr(644,root,root,755)
58 %doc AUTHORS
59 %attr(755,root,root) %{_bindir}/orcus-xml-dump
60 %attr(755,root,root) %{_libdir}/%{name}-0.4.so.*.*.*
61 %attr(755,root,root) %ghost   %{_libdir}/%{name}-0.4.so.0
62
63 %files devel
64 %defattr(644,root,root,755)
65 %attr(755,root,root) %{_libdir}/%{name}-0.4.so
66 %{_includedir}/%{name}-0.4
67 %{_pkgconfigdir}/%{name}-0.4.pc
This page took 0.07713 seconds and 3 git commands to generate.