2024-01-06 03:36:49 +01:00
|
|
|
Name: libEMF
|
2024-01-06 03:36:51 +01:00
|
|
|
Version: 1.0.13
|
2024-01-06 03:36:49 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Library for manipulation with Enhanced MetaFile (EMF, ECMA-234)
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Aleph0 <aleph0@openmamba.org>
|
|
|
|
URL: http://libemf.sourceforge.net
|
2024-01-06 03:36:51 +01:00
|
|
|
Source: https://sourceforge.net/projects/libemf/files/libemf/%{version}/libemf-%{version}.tar.gz
|
2024-01-06 03:36:49 +01:00
|
|
|
Patch: %{name}-1.0-gcc3.patch
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
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.
|
2024-01-06 03:36:51 +01:00
|
|
|
Therefore, if your graphics code only outputs PostScript, you can now easily convert it to EMF.
|
2024-01-06 03:36:49 +01:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
2024-01-06 03:36:51 +01:00
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 03:36:49 +01:00
|
|
|
|
|
|
|
%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.
|
2024-01-06 03:36:51 +01:00
|
|
|
This package contains static libraries and header files needed 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}.
|
2024-01-06 03:36:49 +01:00
|
|
|
|
2024-01-06 03:36:51 +01:00
|
|
|
%debug_package
|
2024-01-06 03:36:49 +01:00
|
|
|
|
|
|
|
%prep
|
2024-01-06 03:36:51 +01:00
|
|
|
%setup -q -n libemf-%{version}
|
2024-01-06 03:36:49 +01:00
|
|
|
#%patch -p1
|
|
|
|
|
|
|
|
%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 03:36:51 +01:00
|
|
|
%{_libdir}/libEMF.so.*
|
|
|
|
%doc AUTHORS COPYING.LIB
|
2024-01-06 03:36:49 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/libEMF
|
|
|
|
%{_includedir}/libEMF/*.h
|
2024-01-06 03:36:51 +01:00
|
|
|
%dir %{_includedir}/libEMF/wine
|
2024-01-06 03:36:49 +01:00
|
|
|
%{_includedir}/libEMF/wine/*.h
|
2024-01-06 03:36:51 +01:00
|
|
|
%{_libdir}/libEMF.a
|
|
|
|
%{_libdir}/libEMF.la
|
|
|
|
%{_libdir}/libEMF.so
|
2024-01-06 03:36:49 +01:00
|
|
|
%doc doc/html/*
|
2024-01-06 03:36:51 +01:00
|
|
|
%doc ChangeLog INSTALL NEWS README
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/printemf
|
|
|
|
%doc COPYING
|
2024-01-06 03:36:49 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 03:36:51 +01:00
|
|
|
* Sat Dec 05 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.13-1mamba
|
|
|
|
- update to 1.0.13
|
|
|
|
- added debug package and -tools subpackage
|
|
|
|
|
2024-01-06 03:36:49 +01:00
|
|
|
* Wed Dec 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.7-1mamba
|
|
|
|
- update to 1.0.7
|
|
|
|
|
|
|
|
* Thu Jun 03 2010 Automatic Build System <autodist@mambasoft.it> 1.0.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Jul 02 2008 Tiziana Ferro <tiziana.ferro@email.it> 1.0-2mamba
|
|
|
|
- update Vendor, Distribution, mantainer, buildrequirements list
|
|
|
|
|
|
|
|
* Thu Jul 28 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.0-1qilnx
|
|
|
|
- package created by autospec
|