libwpg/libwpg.spec

121 lines
3.9 KiB
RPMSpec

%define apiver %(echo %version | cut -d. -f1-2)
Name: libwpg
Version: 0.3.4
Release: 1mamba
Summary: A collection of library and tools to work with graphics in WPG (WordPerfect Graphics) format
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://libwpg.sourceforge.net/
Source: http://downloads.sourceforge.net/project/libwpg/libwpg/libwpg-%{version}/libwpg-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: librevenge-devel
BuildRequires: libstdc++6-devel
BuildRequires: libwpd-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: libwpd-devel >= 0.10
%description
Libwpg project is a collection of library and tools to work with graphics in WPG (WordPerfect Graphics) format. WPG is the format used among others in Corel sofware, such as WordPerfect(tm) and Presentations(tm).
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Libwpg project is a collection of library and tools to work with graphics in WPG (WordPerfect Graphics) format. WPG is the format used among others in Corel sofware, such as WordPerfect(tm) and Presentations(tm).
This package contains static libraries and header files needed for development.
%package tools
Group: Applications/Publishing
Summary: Tools to convert WordPerfect Graphics images
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
Libwpg project is a collection of library and tools to work with graphics in WPG (WordPerfect Graphics) format. WPG is the format used among others in Corel sofware, such as WordPerfect(tm) and Presentations(tm).
This package package contains various programs for manipulating WordPerfect Graphics images.
%debug_package
%prep
%setup -q
%build
%configure
%make
sed 's/\r//' -i ChangeLog
find docs/doxygen/html |xargs touch -r docs/doxygen/doxygen.cfg
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/libwpg-%{apiver}.so.*
%doc AUTHORS
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libwpg-%{apiver}/libwpg
%{_includedir}/libwpg-%{apiver}/libwpg/*.h
%{_libdir}/libwpg-%{apiver}.so
%{_libdir}/pkgconfig/*.pc
%dir %{_docdir}/libwpg
%dir %{_docdir}/libwpg/html
%{_docdir}/libwpg/html/*
%doc ChangeLog
%files tools
%defattr(-,root,root)
%{_bindir}/wpg2raw
%{_bindir}/wpg2svg
%{_bindir}/wpg2svgbatch.pl
%changelog
* Sat May 06 2023 Automatic Build System <autodist@mambasoft.it> 0.3.4-1mamba
- automatic version update by autodist
* Mon Jan 07 2019 Automatic Build System <autodist@mambasoft.it> 0.3.3-1mamba
- automatic version update by autodist
* Wed Sep 13 2017 Automatic Build System <autodist@mambasoft.it> 0.3.2-1mamba
- automatic version update by autodist
* Mon Dec 28 2015 Automatic Build System <autodist@mambasoft.it> 0.3.1-1mamba
- automatic version update by autodist
* Sat Jul 05 2014 Automatic Build System <autodist@mambasoft.it> 0.3.0-1mamba
- automatic version update by autodist
* Mon May 13 2013 Automatic Build System <autodist@mambasoft.it> 0.2.2-1mamba
- automatic version update by autodist
* Fri Jul 06 2012 Automatic Build System <autodist@mambasoft.it> 0.2.1-1mamba
- automatic version update by autodist
* Tue Apr 12 2011 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.2.0-3mamba
- rebuilt
* Tue Feb 01 2011 gil <puntogil@libero.it> 0.2.0-2mamba
- rebuilt with new libwpd
* Sun Jan 23 2011 gil <puntogil@libero.it> 0.2.0-1mamba
- update to 0.2.0
* Thu Jul 09 2009 Automatic Build System <autodist@mambasoft.it> 0.1.3-1mamba
- automatic update by autodist
* Mon Aug 27 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.0-1mamba
- package created by autospec