|
|
54f2f8 |
%global apiversion 0.2
|
|
|
54f2f8 |
|
|
|
54f2f8 |
Name: libwpg
|
|
|
54f2f8 |
Version: 0.2.2
|
|
|
7e1fa6 |
Release: 4%{?dist}
|
|
|
54f2f8 |
Summary: Library for reading WordPerfect Graphics images
|
|
|
54f2f8 |
|
|
|
54f2f8 |
Group: System Environment/Libraries
|
|
|
54f2f8 |
License: LGPLv2+ or MPLv2.0
|
|
|
54f2f8 |
URL: http://libwpg.sourceforge.net/
|
|
|
54f2f8 |
Source0: http://download.sourceforge.net/libwpg/%{name}-%{version}.tar.xz
|
|
|
54f2f8 |
|
|
|
54f2f8 |
BuildRequires: libwpd-devel
|
|
|
54f2f8 |
BuildRequires: doxygen
|
|
|
54f2f8 |
|
|
|
54f2f8 |
%description
|
|
|
54f2f8 |
Libwpg project is a library and to work with graphics in WPG
|
|
|
54f2f8 |
(WordPerfect Graphics) format. WPG is the format used among others
|
|
|
54f2f8 |
in Corel software, such as WordPerfect and Presentations.
|
|
|
54f2f8 |
|
|
|
54f2f8 |
|
|
|
54f2f8 |
%package devel
|
|
|
54f2f8 |
Summary: Development files for %{name}
|
|
|
54f2f8 |
Group: Development/Libraries
|
|
|
54f2f8 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
54f2f8 |
|
|
|
54f2f8 |
%description devel
|
|
|
54f2f8 |
The %{name}-devel package contains libraries and header files for
|
|
|
54f2f8 |
developing applications that use %{name}.
|
|
|
54f2f8 |
|
|
|
54f2f8 |
|
|
|
54f2f8 |
%package tools
|
|
|
54f2f8 |
Summary: Tools to convert WordPerfect Graphics images
|
|
|
54f2f8 |
Group: Applications/Multimedia
|
|
|
54f2f8 |
# wpg2svgbatch.pl says "GPL", without specifying version, and points to
|
|
|
54f2f8 |
# http://www.gnu.org/copyleft/gpl.html . I assume this means "any
|
|
|
54f2f8 |
# version".
|
|
|
54f2f8 |
License: (LGPLv2+ or MPLv2.0) and GPL+
|
|
|
54f2f8 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
54f2f8 |
|
|
|
54f2f8 |
%description tools
|
|
|
54f2f8 |
This package contains tools to work with graphics in WPG (WordPerfect
|
|
|
54f2f8 |
Graphics) format. WPG is the format used among others in Corel software,
|
|
|
54f2f8 |
such as WordPerfect and Presentations.
|
|
|
54f2f8 |
|
|
|
54f2f8 |
|
|
|
54f2f8 |
%prep
|
|
|
54f2f8 |
%setup -q
|
|
|
54f2f8 |
|
|
|
54f2f8 |
|
|
|
54f2f8 |
%build
|
|
|
54f2f8 |
%configure --disable-static --disable-werror
|
|
|
54f2f8 |
sed -i \
|
|
|
54f2f8 |
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
|
|
54f2f8 |
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
|
|
54f2f8 |
libtool
|
|
|
54f2f8 |
make %{?_smp_mflags} V=1
|
|
|
54f2f8 |
sed 's/\r//' -i ChangeLog
|
|
|
54f2f8 |
find docs/doxygen/html |xargs touch -r docs/doxygen/doxygen.cfg
|
|
|
54f2f8 |
|
|
|
54f2f8 |
|
|
|
54f2f8 |
%install
|
|
|
54f2f8 |
# Documentation is intentionally not installed here,
|
|
|
54f2f8 |
# it is included as -devel %%doc
|
|
|
54f2f8 |
make SUBDIRS="" install DESTDIR=$RPM_BUILD_ROOT
|
|
|
54f2f8 |
make -C src install DESTDIR=$RPM_BUILD_ROOT
|
|
|
54f2f8 |
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
54f2f8 |
|
|
|
54f2f8 |
|
|
|
54f2f8 |
%post -p /sbin/ldconfig
|
|
|
54f2f8 |
%postun -p /sbin/ldconfig
|
|
|
54f2f8 |
|
|
|
54f2f8 |
|
|
|
54f2f8 |
%files
|
|
|
54f2f8 |
%doc AUTHORS ChangeLog COPYING.LGPL COPYING.MPL
|
|
|
54f2f8 |
%{_libdir}/%{name}-%{apiversion}.so.*
|
|
|
54f2f8 |
|
|
|
54f2f8 |
|
|
|
54f2f8 |
%files devel
|
|
|
54f2f8 |
%doc docs/doxygen/html
|
|
|
54f2f8 |
%{_includedir}/%{name}-%{apiversion}
|
|
|
54f2f8 |
%{_libdir}/%{name}-%{apiversion}.so
|
|
|
54f2f8 |
%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
|
|
|
54f2f8 |
|
|
|
54f2f8 |
|
|
|
54f2f8 |
%files tools
|
|
|
54f2f8 |
%doc COPYING.LGPL COPYING.MPL
|
|
|
54f2f8 |
%{_bindir}/wpg2raw
|
|
|
54f2f8 |
%{_bindir}/wpg2svg
|
|
|
54f2f8 |
%{_bindir}/wpg2svgbatch.pl
|
|
|
54f2f8 |
|
|
|
54f2f8 |
|
|
|
54f2f8 |
%changelog
|
|
|
7e1fa6 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.2.2-4
|
|
|
7e1fa6 |
- Mass rebuild 2014-01-24
|
|
|
7e1fa6 |
|
|
|
7e1fa6 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.2.2-3
|
|
|
7e1fa6 |
- Mass rebuild 2013-12-27
|
|
|
7e1fa6 |
|
|
|
54f2f8 |
* Tue Jun 25 2013 David Tardon <dtardon@redhat.com> - 0.2.2-2
|
|
|
54f2f8 |
- bump release
|
|
|
54f2f8 |
|
|
|
54f2f8 |
* Thu Apr 18 2013 David Tardon <dtardon@redhat.com> - 0.2.2-1
|
|
|
54f2f8 |
- new release
|
|
|
54f2f8 |
|
|
|
54f2f8 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-2
|
|
|
54f2f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
54f2f8 |
|
|
|
54f2f8 |
* Thu Nov 29 2012 David Tardon <dtardon@redhat.com> - 0.2.1-1
|
|
|
54f2f8 |
- new upstream release
|
|
|
54f2f8 |
|
|
|
54f2f8 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-5
|
|
|
54f2f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
54f2f8 |
|
|
|
54f2f8 |
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-4
|
|
|
54f2f8 |
- Rebuilt for c++ ABI breakage
|
|
|
54f2f8 |
|
|
|
54f2f8 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-3
|
|
|
54f2f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
54f2f8 |
|
|
|
54f2f8 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-2
|
|
|
54f2f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
54f2f8 |
|
|
|
54f2f8 |
* Sun Dec 05 2010 Caolán McNamara <caolanm@redhat.com> - 0.2.0-1
|
|
|
54f2f8 |
- latest version
|
|
|
54f2f8 |
|
|
|
54f2f8 |
* Tue Jul 28 2009 Lubomir Rintel <lkundrak@v3.sk> - 0.1.3-4
|
|
|
54f2f8 |
- Fix multilib problem with doxygen documentation (#508940)
|
|
|
54f2f8 |
|
|
|
54f2f8 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-3
|
|
|
54f2f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
54f2f8 |
|
|
|
54f2f8 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-2
|
|
|
54f2f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
54f2f8 |
|
|
|
54f2f8 |
* Tue Jan 6 2009 Lubomir Rintel <lkundrak@v3.sk> - 0.1.3-1
|
|
|
54f2f8 |
- Initial packaging
|