source: trunk/third/libgsf/libgsf-gnome-1.spec.in @ 22006

Revision 22006, 1.8 KB checked in by ghudson, 19 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r22005, which included commits to RCS files with non-trunk default branches.
Line 
1%define name libgsf-1
2%define version @VERSION@
3%define release 1
4%define prefix /usr
5
6Summary: GNOME specific extensions to libgsf
7
8Name: %{name}
9Version: %{version}
10Release: %{release}
11Group: System Environment/Libraries
12License: LGPL
13
14Source: ftp://ftp.gnome.org/pub/GNOME/unstable/sources/libgsf/libgsf-%{version}.tar.gz
15Buildroot: /var/tmp/%{name}-%{version}-%{release}-root
16URL: http://www.gnumeric.org
17
18Requires: libgsf-1 >= 1.3.0 gnome-vfs >= 2.0.0
19
20%description
21GNOME specific extensions to support bonobo and gnome-vfs
22
23%package devel
24Summary: Support files necessary to compile applications with libgsf-gnome.
25Group: Development/Libraries
26Requires: libgsf-gnome-1
27
28%description devel
29Libraries, headers, and support files necessary to compile applications using
30GNOME specific extensions to libgsf.
31
32%prep
33%setup -n libgsf-%{version}
34
35%build
36%ifarch alpha
37  MYARCH_FLAGS="--host=alpha-redhat-linux"
38%endif
39
40if [ ! -f configure ]; then
41CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{prefix}
42else
43CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
44fi
45
46if [ "$SMP" != "" ]; then
47  (make "MAKE=make -k -j $SMP"; exit 0)
48  make
49else
50  make
51fi
52
53%install
54if [ -d $RPM_BUILD_ROOT ]; then rm -r $RPM_BUILD_ROOT; fi
55mkdir -p $RPM_BUILD_ROOT%{prefix}
56make prefix=$RPM_BUILD_ROOT%{prefix} install
57
58%files
59%defattr(644,root,root,755)
60%doc AUTHORS COPYING README
61%{prefix}/lib/lib*.so.*
62
63%files devel
64%defattr(644,root,root,755)
65%{prefix}/lib/lib*.so
66%{prefix}/lib/*a
67%{prefix}/include/libgsf-1/*
68+%{prefix}/lib/pkgconfig/*
69+%{prefix}/share/doc/*
70
71%clean
72rm -r $RPM_BUILD_ROOT
73
74%changelog
75* Sun Aug 03 2003 Joseph Frazee <jfrazee@ling.osu.edu>
76- Fixed some things, %{setup} -n libgsf-%{version} and removed %files devel
77  %{prefix}/lib/*.sh and %{prefix}/share/doc/gsf/*
78
79* Thu Aug 15 2002 Jody Goldberg <jody@gnome.org>
80- Initial version
Note: See TracBrowser for help on using the repository browser.