automatic update by autodist [release 0.0.2-1mamba;Tue Nov 21 2017]

This commit is contained in:
Automatic Build System 2024-01-06 06:16:33 +01:00
parent faabffd46e
commit a402472fb3
2 changed files with 92 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libzmf
Libzmf is a library that parses the file format of Zoner Callisto/Draw documents. Currently it only understands documents created by Zoner Draw version 4 and 5

90
libzmf.spec Normal file
View File

@ -0,0 +1,90 @@
Name: libzmf
Version: 0.0.2
Release: 1mamba
Summary: A library that parses the file format of Zoner Callisto/Draw documents
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: https://wiki.documentfoundation.org/DLP/Libraries/libzmf
Source: http://dev-www.libreoffice.org/src/libzmf/libzmf-%{version}.tar.xz
License: MPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libicu-devel
BuildRequires: libpng-devel
BuildRequires: librevenge-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Libzmf is a library that parses the file format of Zoner Callisto/Draw documents. Currently it only understands documents created by Zoner Draw version 4 and 5
%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 CXXFLAGS="%{optflags} -std=c++11"
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libzmf-0.0.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libzmf-0.0
%dir %{_includedir}/libzmf-0.0/libzmf
%{_includedir}/libzmf-0.0/libzmf/*
%{_libdir}/libzmf-0.0.la
%{_libdir}/libzmf-0.0.so
%{_libdir}/pkgconfig/libzmf-0.0.pc
%dir %{_datadir}/doc/libzmf
%dir %{_datadir}/doc/libzmf/html
%{_datadir}/doc/libzmf/html/*
%doc ChangeLog NEWS README
%files tools
%defattr(-,root,root)
%{_bindir}/zmf2raw
%{_bindir}/zmf2svg
%changelog
* Tue Nov 21 2017 Automatic Build System <autodist@mambasoft.it> 0.0.2-1mamba
- automatic update by autodist
* Wed Sep 13 2017 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.0.1-1mamba
- package created using the webbuild interface