From 3ac18961cd6cd83efe4b8cc9879385e3933eecf5 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:19:34 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.0.2-1mamba;Wed Feb 18 2015] --- README.md | 2 ++ libpagemaker.spec | 84 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) create mode 100644 libpagemaker.spec diff --git a/README.md b/README.md index e208ca9..40aaf7f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # 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. + diff --git a/libpagemaker.spec b/libpagemaker.spec new file mode 100644 index 0000000..c9ded58 --- /dev/null +++ b/libpagemaker.spec @@ -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 +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 0.0.2-1mamba +- package created using the webbuild interface