2024-01-06 05:06:28 +01:00
|
|
|
%define apiver %(echo %version | cut -d. -f1-2)
|
2024-01-06 05:06:28 +01:00
|
|
|
Name: libmspub
|
2024-01-06 05:06:28 +01:00
|
|
|
Version: 0.1.1
|
2024-01-06 05:06:28 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A library providing ability to interpret and import Microsoft Publisher content
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.freedesktop.org/wiki/Software/libmspub
|
2024-01-06 05:06:28 +01:00
|
|
|
Source: http://dev-www.libreoffice.org/src/libmspub-%{version}.tar.bz2
|
|
|
|
License: GPL, LGPL, MPL 1.1
|
2024-01-06 05:06:28 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libicu-devel
|
2024-01-06 05:06:28 +01:00
|
|
|
BuildRequires: librevenge-devel
|
2024-01-06 05:06:28 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 05:06:28 +01:00
|
|
|
BuildRequires: libwpd-devel >= 0.10
|
|
|
|
BuildRequires: libwpg-devel >= 0.3.0
|
2024-01-06 05:06:28 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Libmspub is a library providing ability to interpret and import Microsoft Publisher content into various applications. You can find it being used in libreoffice.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
Group: Applications/Publishing
|
|
|
|
Summary: Utility applications for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
This package contains utility applications for %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 05:06:28 +01:00
|
|
|
%{_libdir}/libmspub-%{apiver}.so.*
|
2024-01-06 05:06:28 +01:00
|
|
|
%doc AUTHORS
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 05:06:28 +01:00
|
|
|
%dir %{_includedir}/libmspub-%{apiver}
|
|
|
|
%dir %{_includedir}/libmspub-%{apiver}/libmspub
|
|
|
|
%{_includedir}/libmspub-%{apiver}/libmspub/*.h
|
|
|
|
%{_libdir}/libmspub-%{apiver}.la
|
|
|
|
%{_libdir}/libmspub-%{apiver}.so
|
|
|
|
%{_libdir}/pkgconfig/libmspub-%{apiver}.pc
|
2024-01-06 05:06:28 +01:00
|
|
|
%dir %{_datadir}/doc/libmspub
|
|
|
|
%{_datadir}/doc/libmspub/*
|
|
|
|
%doc ChangeLog
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/pub2raw
|
|
|
|
%{_bindir}/pub2xhtml
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 05:06:28 +01:00
|
|
|
* Thu Jul 10 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.1-1mamba
|
|
|
|
- update to 0.1.1
|
|
|
|
|
|
|
|
* Sat Jul 05 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.0-2mamba
|
|
|
|
- rebuilt with libwpd 0.10 and libwpg 0.3.0
|
|
|
|
|
|
|
|
* Tue Jun 17 2014 Automatic Build System <autodist@mambasoft.it> 0.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:06:28 +01:00
|
|
|
* Fri May 17 2013 Automatic Build System <autodist@mambasoft.it> 0.0.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Mar 02 2013 Automatic Build System <autodist@mambasoft.it> 0.0.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Feb 11 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.4-1mamba
|
|
|
|
- package created by silvan using the webbuild interface
|