[3151] | 1 | Name: libwpg |
---|
| 2 | Summary: Library for reading WordPerfect Graphics images |
---|
[8721] | 3 | Version: 0.2.2 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
[3151] | 5 | |
---|
| 6 | Group: System Environment/Libraries |
---|
| 7 | License: GPLv2+ |
---|
| 8 | URL: http://libwpg.sourceforge.net/ |
---|
| 9 | |
---|
[8721] | 10 | Source0: http://download.sourceforge.net/libwpg/%{name}-%{version}.tar.xz |
---|
[3151] | 11 | |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | BuildRequires: libwpd-devel >= 0.9 |
---|
| 14 | BuildRequires: doxygen |
---|
| 15 | |
---|
| 16 | %description |
---|
| 17 | Libwpg project is a library and to work with graphics in WPG |
---|
| 18 | (WordPerfect Graphics) format. WPG is the format used among others |
---|
| 19 | in Corel sofware, such as WordPerfect and Presentations. |
---|
| 20 | |
---|
| 21 | |
---|
| 22 | %package devel |
---|
| 23 | Summary: Development files for %{name} |
---|
| 24 | Group: Development/Libraries |
---|
| 25 | Requires: %{name} = %{version}-%{release} |
---|
| 26 | |
---|
| 27 | %description devel |
---|
| 28 | The %{name}-devel package contains libraries and header files for |
---|
| 29 | developing applications that use %{name}. |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | %package tools |
---|
| 33 | Summary: Tools to convert WordPerfect Graphics images |
---|
| 34 | Group: Applications/Publishing |
---|
| 35 | |
---|
| 36 | %description tools |
---|
| 37 | This package contains tools to work with graphics in WPG (WordPerfect |
---|
| 38 | Graphics) format. WPG is the format used among others in Corel sofware, |
---|
| 39 | such as WordPerfect and Presentations. |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | %prep |
---|
| 43 | %setup -q |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | %build |
---|
| 47 | %configure |
---|
| 48 | make %{?_smp_mflags} |
---|
| 49 | sed 's/\r//' -i ChangeLog |
---|
| 50 | find docs/doxygen/html |xargs touch -r docs/doxygen/doxygen.cfg |
---|
| 51 | |
---|
| 52 | %install |
---|
| 53 | rm -rf $RPM_BUILD_ROOT |
---|
| 54 | # Documentation is intentionally not installed here, |
---|
| 55 | # it is included as -devel %%doc |
---|
| 56 | make SUBDIRS="" install DESTDIR=$RPM_BUILD_ROOT |
---|
| 57 | make -C src install DESTDIR=$RPM_BUILD_ROOT |
---|
[8721] | 58 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';' |
---|
[3151] | 59 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | %clean |
---|
| 63 | rm -rf $RPM_BUILD_ROOT |
---|
| 64 | |
---|
| 65 | |
---|
| 66 | %post -p /sbin/ldconfig |
---|
| 67 | %postun -p /sbin/ldconfig |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | %files |
---|
| 71 | %defattr(-,root,root,-) |
---|
| 72 | %doc AUTHORS ChangeLog COPYING |
---|
| 73 | %{_libdir}/*.so.* |
---|
| 74 | |
---|
| 75 | %files devel |
---|
| 76 | %defattr(-,root,root,-) |
---|
| 77 | %doc COPYING docs/doxygen/html |
---|
| 78 | %{_includedir}/* |
---|
| 79 | %{_libdir}/*.so |
---|
| 80 | %{_libdir}/pkgconfig/*.pc |
---|
| 81 | |
---|
| 82 | %files tools |
---|
| 83 | %defattr(-,root,root,-) |
---|
| 84 | %doc COPYING |
---|
| 85 | %{_bindir}/* |
---|
| 86 | |
---|
| 87 | |
---|
| 88 | %changelog |
---|
[8721] | 89 | * Wed Jul 02 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.2.2-1 |
---|
| 90 | - update to 0.2.2 |
---|
| 91 | - remove Patch0 (libwpg-0.1.3-nodate.patch) |
---|
| 92 | |
---|
[3151] | 93 | * Sun Mar 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.2.0-3 |
---|
| 94 | - Initial build for Vine Linux |
---|
| 95 | |
---|
| 96 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-2 |
---|
| 97 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 98 | |
---|
| 99 | * Sun Dec 05 2010 Caolán McNamara <caolanm@redhat.com> - 0.2.0-1 |
---|
| 100 | - latest version |
---|
| 101 | |
---|
| 102 | * Tue Jul 28 2009 Lubomir Rintel <lkundrak@v3.sk> - 0.1.3-4 |
---|
| 103 | - Fix multilib problem with doxygen documentation (#508940) |
---|
| 104 | |
---|
| 105 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-3 |
---|
| 106 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 107 | |
---|
| 108 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-2 |
---|
| 109 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 110 | |
---|
| 111 | * Tue Jan 6 2009 Lubomir Rintel <lkundrak@v3.sk> - 0.1.3-1 |
---|
| 112 | - Initial packaging |
---|