File: gtk-engines.spec.in

package info (click to toggle)
gtk2-engines 1%3A2.20.2-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,648 kB
  • sloc: ansic: 37,052; sh: 10,355; makefile: 423
file content (63 lines) | stat: -rw-r--r-- 1,370 bytes parent folder | download | duplicates (9)
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
63
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 <otaylor@redhat.com>
- Various fixes to good RPM practice

* Thu Oct 22 2002 Christian F.K. Schaller <Uraeus@gnome.org>
- Update SPEC file to include latest stuff 
- work on RH8

* Fri Nov 20 1998 Michael Fulbright <drmike@redhat.com>

- 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