1 | Name: bonobo |
---|
2 | Summary: Library for compound documents in GNOME |
---|
3 | Version: @VERSION@ |
---|
4 | Release: 1_gpp |
---|
5 | License: GPL |
---|
6 | Group: System Environment/Libraries |
---|
7 | Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/%{name}/%{name}-%{version}.tar.gz |
---|
8 | URL: http://www.gnome.org/ |
---|
9 | BuildRoot: /var/tmp/%{name}-%{version}-root |
---|
10 | Requires: gnome-libs >= 1.2.7 |
---|
11 | Requires: ORBit >= 0.5.7 |
---|
12 | Requires: oaf >= 0.6.2 |
---|
13 | Requires: libxml >= 1.8.10 |
---|
14 | BuildRequires: gdk-pixbuf-devel >= 0.6.0 |
---|
15 | BuildRequires: ORBit-devel >= 0.5.7 |
---|
16 | BuildRequires: gtk+-devel >= 1.2.0 |
---|
17 | BuildRequires: gnome-libs-devel >= 1.2.7 |
---|
18 | BuildRequires: oaf-devel >= 0.6.2 |
---|
19 | BuildRequires: libxml-devel >= 1.8.10 |
---|
20 | BuildRequires: gnome-print-devel >= 0.16 |
---|
21 | |
---|
22 | %description |
---|
23 | Bonobo is a library that provides the necessary framework for GNOME |
---|
24 | applications to deal with compound documents, i.e. those with a |
---|
25 | spreadsheet and graphic embedded in a word-processing document. |
---|
26 | |
---|
27 | %package devel |
---|
28 | Summary: Libraries and include files for the Bonobo document model |
---|
29 | Group: Development/Libraries |
---|
30 | Requires: %name = %{version} |
---|
31 | |
---|
32 | %description devel |
---|
33 | This package provides the necessary development libraries and include |
---|
34 | files to allow you to develop programs using the Bonobo document model. |
---|
35 | |
---|
36 | %prep |
---|
37 | %setup -q |
---|
38 | |
---|
39 | %build |
---|
40 | |
---|
41 | LC_ALL="" |
---|
42 | LINGUAS="" |
---|
43 | LANG="" |
---|
44 | export LC_ALL LINGUAS LANG |
---|
45 | |
---|
46 | CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS --prefix=%{_prefix} \ |
---|
47 | --sysconfdir=%{_sysconfdir} --libdir=%{_libdir} \ |
---|
48 | --includedir=%{_includedir} --bindir=%{_bindir} \ |
---|
49 | --datadir=%{_datadir} |
---|
50 | |
---|
51 | if [ "$SMP" != "" ]; then |
---|
52 | (make "MAKE=make -k -j $SMP"; exit 0) |
---|
53 | make |
---|
54 | else |
---|
55 | make -k |
---|
56 | fi |
---|
57 | |
---|
58 | %install |
---|
59 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
60 | |
---|
61 | make -k prefix=$RPM_BUILD_ROOT/%{_prefix} \ |
---|
62 | sysconfdir=$RPM_BUILD_ROOT/%{_sysconfdir} \ |
---|
63 | libdir=$RPM_BUILD_ROOT/%{_libdir} \ |
---|
64 | includedir=$RPM_BUILD_ROOT/%{_includedir} \ |
---|
65 | bindir=$RPM_BUILD_ROOT/%{_bindir} \ |
---|
66 | datadir=$RPM_BUILD_ROOT/%{_datadir} install |
---|
67 | |
---|
68 | |
---|
69 | %clean |
---|
70 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
71 | |
---|
72 | %post -p /sbin/ldconfig |
---|
73 | |
---|
74 | %postun -p /sbin/ldconfig |
---|
75 | |
---|
76 | %files |
---|
77 | %defattr(-, root, root) |
---|
78 | %{_bindir}/* |
---|
79 | %{_libdir}/pkgconfig/* |
---|
80 | %dir %{_libdir}/bonobo |
---|
81 | %dir %{_libdir}/bonobo/monikers |
---|
82 | %{_libdir}/bonobo/monikers/*.so.* |
---|
83 | %{_libdir}/*.so.* |
---|
84 | %doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README |
---|
85 | %{_datadir}/bonobo |
---|
86 | %{_datadir}/idl/* |
---|
87 | %{_datadir}/locale/*/*/* |
---|
88 | #{_datadir}/mime-info/*.keys |
---|
89 | %{_datadir}/oaf/* |
---|
90 | %{_datadir}/gnome/ui |
---|
91 | |
---|
92 | %files devel |
---|
93 | |
---|
94 | %defattr(-, root, root) |
---|
95 | %{_includedir}/* |
---|
96 | %{_libdir}/*a |
---|
97 | %{_libdir}/*.so |
---|
98 | %{_libdir}/*.sh |
---|
99 | %{_libdir}/bonobo/plugin |
---|
100 | %{_libdir}/bonobo/monikers/*.so |
---|
101 | %{_libdir}/bonobo/monikers/*a |
---|
102 | |
---|
103 | |
---|
104 | %changelog |
---|
105 | * Thu May 24 2001 Gregory Leblanc <gleblanc@localhost.localdomain> |
---|
106 | - removed unnecessary %defines |
---|
107 | - lots of work on %files |
---|
108 | - made %setup quiet |
---|
109 | - fixed %post |
---|
110 | - replaced copyright with license |
---|
111 | - reformatted BuildRequires |
---|
112 | |
---|
113 | * Wed Feb 21 2001 Gregory Leblanc <gleblanc@cu-portland.edu> |
---|
114 | - fixed macros and hard-coded paths. Should be very portable now. |
---|
115 | |
---|
116 | * Wed Oct 18 2000 Eskil Heyn Olsen <eskil@eazel.com> |
---|
117 | - Added requirements to the base package |
---|
118 | - Added bonobo-ui-extract to the file list of the base pacakge |
---|
119 | |
---|
120 | * Tue Feb 22 2000 Jens Finke <jens.finke@informatik.uni-oldenburg.de> |
---|
121 | - Added bonobo.h to the file list of devel package. |
---|
122 | |
---|
123 | * Wed Nov 10 1999 Alexander Skwar <ASkwar@DigitalProjects.com> |
---|
124 | - Updated to version 0.5 |
---|
125 | - fixed spec file |
---|
126 | - Un-quiet things |
---|
127 | - stripped binaries |
---|
128 | - unsetted language environment variables |
---|
129 | |
---|
130 | * Sat Oct 2 1999 Gregory McLean <gregm@comstar.net> |
---|
131 | - Updated the spec for version 0.4 |
---|
132 | - Updated the files section. |
---|
133 | |
---|
134 | * Sun Aug 1 1999 Gregory McLean <gregm@comstar.net> |
---|
135 | - Some updates. sysconfdir stuff, quiet down the prep/configure stage. |
---|
136 | |
---|
137 | * Sat May 1 1999 Erik Walthinsen <omega@cse.ogi.edu> |
---|
138 | - created spec file |
---|