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