|
|
|
@ -1,8 +1,8 @@
|
|
|
|
|
%global apiversion 0.0
|
|
|
|
|
|
|
|
|
|
Name: libodfgen
|
|
|
|
|
Version: 0.0.2
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 0.0.3
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: An ODF generator library
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
@ -11,6 +11,7 @@ URL: http://sourceforge.net/projects/libwpd/
|
|
|
|
|
Source: http://downloads.sourceforge.net/libwpd/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
|
BuildRequires: libetonyek-devel
|
|
|
|
|
BuildRequires: libwpd-devel
|
|
|
|
|
BuildRequires: libwpg-devel
|
|
|
|
|
|
|
|
|
@ -28,6 +29,14 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
|
Summary: Documentation of %{name} API
|
|
|
|
|
Group: Documentation
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
|
The %{name}-doc package contains documentation files for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
@ -45,6 +54,8 @@ make %{?_smp_mflags}
|
|
|
|
|
%install
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
|
|
# we install API docs directly from build
|
|
|
|
|
rm -rf %{buildroot}/%{_docdir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
@ -52,7 +63,7 @@ rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc COPYING.* README
|
|
|
|
|
%doc COPYING.* README NEWS
|
|
|
|
|
%{_libdir}/%{name}-%{apiversion}.so.*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -62,8 +73,15 @@ rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
|
|
%{_libdir}/%{name}-%{apiversion}.so
|
|
|
|
|
%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
|
%doc COPYING.*
|
|
|
|
|
%doc docs/doxygen/html
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Oct 31 2013 David Tardon <dtardon@redhat.com> - 0.0.3-1
|
|
|
|
|
- new release
|
|
|
|
|
|
|
|
|
|
* Mon Sep 09 2013 David Tardon <dtardon@redhat.com> - 0.0.2-3
|
|
|
|
|
- do not build in C++11 mode
|
|
|
|
|
|
|
|
|
|