package created using the webbuild interface [release 0.0.2-1mamba;Wed Feb 18 2015]

This commit is contained in:
Silvan Calarco 2024-01-06 05:19:34 +01:00
parent db095c237b
commit 3ac18961cd
2 changed files with 86 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libpagemaker # libpagemaker
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.

84
libpagemaker.spec Normal file
View File

@ -0,0 +1,84 @@
Name: libpagemaker
Version: 0.0.2
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
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
%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
%changelog
* Wed Feb 18 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.2-1mamba
- package created using the webbuild interface