From 7cfc5552d65678916ba85d4ab990718099130ac4 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 03:36:51 +0100 Subject: [PATCH] update to 1.0.13 added debug package and -tools subpackage [release 1.0.13-1mamba;Sat Dec 05 2020] --- README.md | 4 +--- libEMF.spec | 48 ++++++++++++++++++++++++++++++++++-------------- 2 files changed, 35 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 8f76db6..ca252da 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,5 @@ LibEMF is a C/C++ library which provides a drawing toolkit based on ECMA-234. The general purpose of this library is to create vector graphics files on POSIX systems which can be imported into StarOffice/OpenOffice. - -Therefore, if your graphics code only outputs PostScript, you can now easily -convert it to EMF. +Therefore, if your graphics code only outputs PostScript, you can now easily convert it to EMF. diff --git a/libEMF.spec b/libEMF.spec index b1317a8..64da644 100644 --- a/libEMF.spec +++ b/libEMF.spec @@ -1,5 +1,5 @@ Name: libEMF -Version: 1.0.7 +Version: 1.0.13 Release: 1mamba Summary: Library for manipulation with Enhanced MetaFile (EMF, ECMA-234) Group: System/Libraries @@ -7,7 +7,7 @@ Vendor: openmamba Distribution: openmamba Packager: Aleph0 URL: http://libemf.sourceforge.net -Source: http://downloads.sourceforge.net/project/libemf/libemf/%{version}/libEMF-%{version}.tar.gz +Source: https://sourceforge.net/projects/libemf/files/libemf/%{version}/libemf-%{version}.tar.gz Patch: %{name}-1.0-gcc3.patch License: GPL ## AUTOBUILDREQ-BEGIN @@ -20,23 +20,33 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root %description LibEMF is a C/C++ library which provides a drawing toolkit based on ECMA-234. The general purpose of this library is to create vector graphics files on POSIX systems which can be imported into StarOffice/OpenOffice. - -Therefore, if your graphics code only outputs PostScript, you can now easily -convert it to EMF. +Therefore, if your graphics code only outputs PostScript, you can now easily convert it to EMF. %package devel Group: Development/Libraries Summary: Static libraries and headers for %{name} -Requires: %{name} = %{version} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release} %description devel LibEMF is a C/C++ library which provides a drawing toolkit based on ECMA-234. The general purpose of this library is to create vector graphics files on POSIX systems which can be imported into StarOffice/OpenOffice. +This package contains static libraries and header files needed for development. -This package contains static libraries and header files need for development. +%package tools +Group: Applications/Graphics +Summary: Tools provided with %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +LibEMF is a C/C++ library which provides a drawing toolkit based on ECMA-234. +The general purpose of this library is to create vector graphics files on POSIX systems which can be imported into StarOffice/OpenOffice. +This package contains the tools provided with %{name}. + +%debug_package %prep -%setup -q +%setup -q -n libemf-%{version} #%patch -p1 %build @@ -55,21 +65,31 @@ This package contains static libraries and header files need for development. %files %defattr(-,root,root) -%{_bindir}/printemf -%{_libdir}/*.so.* -%doc AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS README +%{_libdir}/libEMF.so.* +%doc AUTHORS COPYING.LIB %files devel %defattr(-,root,root) %dir %{_includedir}/libEMF %{_includedir}/libEMF/*.h +%dir %{_includedir}/libEMF/wine %{_includedir}/libEMF/wine/*.h -%{_libdir}/*.a -%{_libdir}/*.la -%{_libdir}/*.so +%{_libdir}/libEMF.a +%{_libdir}/libEMF.la +%{_libdir}/libEMF.so %doc doc/html/* +%doc ChangeLog INSTALL NEWS README + +%files tools +%defattr(-,root,root) +%{_bindir}/printemf +%doc COPYING %changelog +* Sat Dec 05 2020 Silvan Calarco 1.0.13-1mamba +- update to 1.0.13 +- added debug package and -tools subpackage + * Wed Dec 12 2012 Silvan Calarco 1.0.7-1mamba - update to 1.0.7