source: trunk/third/bonobo/bonobo.spec.in @ 16750

Revision 16750, 3.7 KB checked in by ghudson, 23 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r16749, which included commits to RCS files with non-trunk default branches.
Line 
1Name:            bonobo
2Summary:         Library for compound documents in GNOME
3Version:         @VERSION@
4Release:         1_gpp
5License:         GPL
6Group:           System Environment/Libraries
7Source:          ftp://ftp.gnome.org/pub/GNOME/stable/sources/%{name}/%{name}-%{version}.tar.gz
8URL:             http://www.gnome.org/
9BuildRoot:       /var/tmp/%{name}-%{version}-root
10Requires:        gnome-libs >= 1.2.7
11Requires:        ORBit >= 0.5.7
12Requires:        oaf >= 0.6.2
13Requires:        libxml >= 1.8.10
14BuildRequires:   gdk-pixbuf-devel >= 0.6.0
15BuildRequires:   ORBit-devel >= 0.5.7
16BuildRequires:   gtk+-devel >= 1.2.0
17BuildRequires:   gnome-libs-devel >= 1.2.7
18BuildRequires:   oaf-devel >= 0.6.2
19BuildRequires:   libxml-devel >= 1.8.10
20BuildRequires:   gnome-print-devel >= 0.16
21
22%description
23Bonobo is a library that provides the necessary framework for GNOME
24applications to deal with compound documents, i.e. those with a
25spreadsheet and graphic embedded in a word-processing document.
26
27%package devel
28Summary:        Libraries and include files for the Bonobo document model
29Group:          Development/Libraries
30Requires:       %name = %{version}
31
32%description devel
33This package provides the necessary development libraries and include
34files to allow you to develop programs using the Bonobo document model.
35
36%prep
37%setup -q
38
39%build
40
41LC_ALL=""
42LINGUAS=""
43LANG=""
44export LC_ALL LINGUAS LANG
45
46CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS --prefix=%{_prefix} \
47    --sysconfdir=%{_sysconfdir} --libdir=%{_libdir} \
48    --includedir=%{_includedir} --bindir=%{_bindir} \
49    --datadir=%{_datadir}
50
51if [ "$SMP" != "" ]; then
52    (make "MAKE=make -k -j $SMP"; exit 0)
53    make
54else
55    make -k
56fi
57
58%install
59[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
60
61make -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
Note: See TracBrowser for help on using the repository browser.