|
|
@ -14,33 +14,27 @@ BuildRequires: cppunit-devel
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: libwpd-devel
|
|
|
|
BuildRequires: libwpd-devel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Library that handles Microsoft Works documents.
|
|
|
|
Library that handles Microsoft Works documents.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
%package tools
|
|
|
|
Summary: Tools to transform Works documents into other formats
|
|
|
|
Summary: Tools to transform Works documents into other formats
|
|
|
|
Group: Applications/Publishing
|
|
|
|
Group: Applications/Publishing
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
%description tools
|
|
|
|
Tools to transform Works documents into other formats.
|
|
|
|
Tools to transform Works documents into other formats.
|
|
|
|
Currently supported: html, raw, text
|
|
|
|
Currently supported: html, raw, text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
%package doc
|
|
|
|
Summary: Documentation of %{name} API
|
|
|
|
Summary: Documentation of %{name} API
|
|
|
|
Group: Documentation
|
|
|
|
Group: Documentation
|
|
|
@ -50,8 +44,6 @@ BuildArch: noarch
|
|
|
|
%description doc
|
|
|
|
%description doc
|
|
|
|
The %{name}-doc package contains documentation files for %{name}
|
|
|
|
The %{name}-doc package contains documentation files for %{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q
|
|
|
|
# Prevent autotools from being rerun
|
|
|
|
# Prevent autotools from being rerun
|
|
|
@ -64,7 +56,6 @@ sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make install INSTALL="install -p" DESTDIR="%{buildroot}"
|
|
|
|
make install INSTALL="install -p" DESTDIR="%{buildroot}"
|
|
|
|
|
|
|
|
|
|
|
@ -73,13 +64,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
|
find %{buildroot}%{_defaultdocdir}/%{name}/ -type d -exec chmod 755 {} +
|
|
|
|
find %{buildroot}%{_defaultdocdir}/%{name}/ -type d -exec chmod 755 {} +
|
|
|
|
find %{buildroot}%{_defaultdocdir}/%{name}/ -type f -exec chmod 644 {} +
|
|
|
|
find %{buildroot}%{_defaultdocdir}/%{name}/ -type f -exec chmod 644 {} +
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc COPYING.LGPL COPYING.MPL CREDITS NEWS README
|
|
|
|
%doc COPYING.LGPL COPYING.MPL CREDITS NEWS README
|
|
|
|
%{_libdir}/%{name}-%{apiversion}.so.*
|
|
|
|
%{_libdir}/%{name}-%{apiversion}.so.*
|
|
|
@ -90,17 +77,14 @@ find %{buildroot}%{_defaultdocdir}/%{name}/ -type f -exec chmod 644 {} +
|
|
|
|
%{_libdir}/%{name}-%{apiversion}.so
|
|
|
|
%{_libdir}/%{name}-%{apiversion}.so
|
|
|
|
%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
|
|
|
|
%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
%files tools
|
|
|
|
%{_bindir}/wps2html
|
|
|
|
%{_bindir}/wps2html
|
|
|
|
%{_bindir}/wps2raw
|
|
|
|
%{_bindir}/wps2raw
|
|
|
|
%{_bindir}/wps2text
|
|
|
|
%{_bindir}/wps2text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%files doc
|
|
|
|
%{_defaultdocdir}/%{name}/html/
|
|
|
|
%{_defaultdocdir}/%{name}/html/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Sat May 25 2013 David Tardon <dtardon@redhat.com> - 0.2.9-1
|
|
|
|
* Sat May 25 2013 David Tardon <dtardon@redhat.com> - 0.2.9-1
|
|
|
|
- new release
|
|
|
|
- new release
|
|
|
|