1 | %define ver 2.2.8 |
---|
2 | %define rel 1%{?_dist_release} |
---|
3 | |
---|
4 | Summary: Structured Storage OLE2 library |
---|
5 | Name: libole2 |
---|
6 | Version: %{ver} |
---|
7 | Release: %{rel} |
---|
8 | Group: System Environment/Libraries |
---|
9 | License: GPL |
---|
10 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
11 | |
---|
12 | Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/2.2/%{name}-%{ver}.tar.bz2 |
---|
13 | |
---|
14 | %description |
---|
15 | A library containing functionality to manipulate OLE2 Structured Storage files. It is used by Gnumeric from Gnome, AbiWord from AbiSuite and by other programs. |
---|
16 | |
---|
17 | %package devel |
---|
18 | Summary: Libraries, includes, etc to develop libole2 applications |
---|
19 | Group: Development/Libraries |
---|
20 | Requires: libole2 = %{version} |
---|
21 | |
---|
22 | %description devel |
---|
23 | Libraries, include files, etc you can use to develop libole2 applications. |
---|
24 | |
---|
25 | %prep |
---|
26 | |
---|
27 | %setup -q |
---|
28 | |
---|
29 | %build |
---|
30 | %configure --with-gnomevfs |
---|
31 | make |
---|
32 | |
---|
33 | %install |
---|
34 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
35 | |
---|
36 | %makeinstall |
---|
37 | |
---|
38 | # %find_lang %{name} |
---|
39 | ## remove unuse files |
---|
40 | rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
41 | |
---|
42 | |
---|
43 | %clean |
---|
44 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
45 | |
---|
46 | %files |
---|
47 | %defattr(-,root,root) |
---|
48 | %doc README |
---|
49 | %{_libdir}/lib*.so.* |
---|
50 | |
---|
51 | %files devel |
---|
52 | %defattr(-,root,root) |
---|
53 | %{_libdir}/lib*.so |
---|
54 | %{_libdir}/*.a |
---|
55 | #%{_libdir}/*.la |
---|
56 | %{_libdir}/pkgconfig/*.pc |
---|
57 | %{_includedir}/* |
---|
58 | |
---|
59 | %changelog |
---|
60 | * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 2.2.8-1vl5 |
---|
61 | - applied new versioning policy |
---|
62 | - removed *.la |
---|
63 | |
---|
64 | * Sat Jul 22 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.8-0vl1 |
---|
65 | - updated to 2.2.8 |
---|
66 | - changed devel Group to Development/Libraries |
---|
67 | |
---|
68 | * Mon Jul 28 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.4-0vl2 |
---|
69 | - rebuild with new toolchains |
---|
70 | - s/Copyright/License/ |
---|
71 | |
---|
72 | * Wed Dec 19 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.2.4-0vl1 |
---|
73 | - New upstream release. |
---|
74 | |
---|
75 | * Fri Mar 23 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.2.0-0vl1 |
---|
76 | - New upstream release. |
---|
77 | - Use rpmmacros. |
---|
78 | |
---|
79 | * Wed Jun 28 2000 Arturo Tena <arturo@directmail.org> |
---|
80 | - Updated summary and description. |
---|
81 | |
---|
82 | * Sun May 23 2000 John Gotts <jgotts@linuxsavvy.com> |
---|
83 | - New SPEC file. |
---|
84 | |
---|