This repository has been archived on 2024-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
libEMF/libemf.spec

106 lines
3.3 KiB
RPMSpec
Raw Permalink Normal View History

Name: libemf
Version: 1.0.13
Release: 2mamba
Summary: Library for manipulation with Enhanced MetaFile (EMF, ECMA-234)
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://libemf.sourceforge.net/
Source: https://sourceforge.net/projects/libemf/files/libemf/%{version}/libemf-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
Provides: libEMF
Obsoletes: libEMF < 1.0.13-2mamba
%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.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
Provides: libEMF-devel
Obsoletes: libEMF-devel < 1.0.13-2mamba
%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.
%package tools
Group: Applications/Graphics
Summary: Tools provided with %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: libEMF-tools
Obsoletes: libEMF-tools < 1.0.13-2mamba
%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
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_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}/libEMF.a
%{_libdir}/libEMF.so
%doc doc/html/*
%doc ChangeLog INSTALL NEWS README
%files tools
%defattr(-,root,root)
%{_bindir}/printemf
%doc COPYING
%changelog
* Fri Dec 06 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.13-2mamba
- renamed from libEMF to libemf
* 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
* 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