93 lines
2.5 KiB
RPMSpec
93 lines
2.5 KiB
RPMSpec
Name: libpagemaker
|
|
Version: 0.0.4
|
|
Release: 1mamba
|
|
Summary: A library that parses the file format of Aldus/Adobe PageMaker documents
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://wiki.documentfoundation.org/DLP/Libraries/libpagemaker
|
|
Source: http://dev-www.libreoffice.org/src/libpagemaker/libpagemaker-%{version}.tar.xz
|
|
License: MPL 2.0
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: librevenge-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libz-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%description
|
|
Libpagemaker is a library that parses the file format of Aldus/Adobe PageMaker documents. Currently it only understands documents created by PageMaker version 6.x and 7.
|
|
|
|
%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 \
|
|
--disable-werror
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libpagemaker-0.0.so.*
|
|
%doc AUTHORS COPYING
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/libpagemaker-0.0/libpagemaker/PMDocument.h
|
|
%{_includedir}/libpagemaker-0.0/libpagemaker/libpagemaker.h
|
|
%{_libdir}/libpagemaker-0.0.la
|
|
%{_libdir}/libpagemaker-0.0.so
|
|
%{_libdir}/pkgconfig/libpagemaker-0.0.pc
|
|
%dir %{_docdir}/libpagemaker
|
|
%dir %{_docdir}/libpagemaker/html
|
|
%{_datadir}/doc/libpagemaker/html/*
|
|
%doc ChangeLog NEWS
|
|
|
|
%files tools
|
|
%defattr(-,root,root)
|
|
%{_bindir}/pmd2raw
|
|
%{_bindir}/pmd2svg
|
|
%{_bindir}/pmd2text
|
|
|
|
%changelog
|
|
* Wed Feb 07 2018 Automatic Build System <autodist@mambasoft.it> 0.0.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Mar 05 2016 Automatic Build System <autodist@mambasoft.it> 0.0.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Feb 18 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.2-1mamba
|
|
- package created using the webbuild interface
|