-
Notifications
You must be signed in to change notification settings - Fork 0
/
gtk-engines.spec.in
63 lines (48 loc) · 1.34 KB
/
gtk-engines.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
Summary: Default GTK+ theme engines
Name: gtk2-engines
Version: @VERSION@
Release: 1
License: GPL
Group: X11/Libraries
Source: gtk-engines-%{version}.tar.gz
URL: ftp://ftp.gnome.org/pub/GNOME/sources/gtk-engines/
BuildRoot:/var/tmp/gtk-engines-%{PACKAGE_VERSION}-root
%description
These are the graphical engines for the various GTK+ toolkit themes.
%prep
%setup -n gtk-engines-%{version}
%build
# Needed for snapshot releases.
if [ ! -f configure ]; then
./autogen.sh
fi
%configure
if [ "$SMP" != "" ]; then
make -j$SMP "MAKE=make -j$SMP"
else
make
fi
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT
%makeinstall
# Clean out files that should not be part of the rpm.
# This is the recommended way of dealing with it for RH8
rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/@GTK_VERSION@/engines/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/@GTK_VERSION@/engines/*.a
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Jan 17 2003 Owen Taylor <[email protected]>
- Various fixes to good RPM practice
* Thu Oct 22 2002 Christian F.K. Schaller <[email protected]>
- Update SPEC file to include latest stuff
- work on RH8
* Fri Nov 20 1998 Michael Fulbright <[email protected]>
- First try at a spec file
%files
%defattr(-, root, root)
%doc COPYING README NEWS ChangeLog
%{_datadir}/themes
%{_libdir}/gtk-2.0/@GTK_VERSION@/engines/*.so
%{_libdir}/pkgconfig