source: projects/specs/branches/6/lib/libw/libwpg/libwpg-vl.spec @ 3151

Revision 3151, 2.9 KB checked in by inagaki, 13 years ago (diff)

update: libpqxx, libwpd, wv2
NEW: libwpg

Line 
1Name:           libwpg
2Summary:        Library for reading WordPerfect Graphics images
3Version:        0.2.0
4Release:        3%{?_dist_release}
5
6Group:          System Environment/Libraries
7License:        GPLv2+
8URL:            http://libwpg.sourceforge.net/
9
10Source0:        http://download.sourceforge.net/libwpg/%{name}-%{version}.tar.bz2
11Patch0:         libwpg-0.1.3-nodate.patch
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14BuildRequires:  libwpd-devel >= 0.9
15BuildRequires:  doxygen
16
17%description
18Libwpg project is a library and to work with graphics in WPG
19(WordPerfect Graphics) format. WPG is the format used among others
20in Corel sofware, such as WordPerfect and Presentations.
21
22
23%package devel
24Summary:        Development files for %{name}
25Group:          Development/Libraries
26Requires:       %{name} = %{version}-%{release}
27
28%description devel
29The %{name}-devel package contains libraries and header files for
30developing applications that use %{name}.
31
32
33%package tools
34Summary:        Tools to convert WordPerfect Graphics images
35Group:          Applications/Publishing
36
37%description tools
38This package contains tools to work with graphics in WPG (WordPerfect
39Graphics) format. WPG is the format used among others in Corel sofware,
40such as WordPerfect and Presentations.
41
42
43%prep
44%setup -q
45%patch0 -p1 -b .nodate
46
47
48%build
49%configure
50make %{?_smp_mflags}
51sed 's/\r//' -i ChangeLog
52find docs/doxygen/html |xargs touch -r docs/doxygen/doxygen.cfg
53
54%install
55rm -rf $RPM_BUILD_ROOT
56# Documentation is intentionally not installed here,
57# it is included as -devel %%doc
58make SUBDIRS="" install DESTDIR=$RPM_BUILD_ROOT
59make -C src install DESTDIR=$RPM_BUILD_ROOT
60find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
61
62
63%clean
64rm -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
Note: See TracBrowser for help on using the repository browser.