source: trunk/third/gtk-engines/gtk-engines.spec.in @ 18286

Revision 18286, 1.4 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18285, which included commits to RCS files with non-trunk default branches.
Line 
1%define  ver     @VERSION@
2%define  RELEASE 1
3%define  rel     %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
4%define  prefix  /usr
5
6Summary: Default GTK+ theme engines
7Name: gtk-engines
8Version: %ver
9Release: %rel
10Copyright: GPL
11Group: X11/Libraries
12Source: ftp://ftp.gnome.org/pub/GNOME/source/gtk-engines/gtk-engines-%{PACKAGE_VERSION}.tar.gz
13URL: http://gtk.themes.org/
14BuildRoot:/var/tmp/gtk-engines-%{PACKAGE_VERSION}-root
15Docdir: %{prefix}/doc
16
17%description
18These are the graphical engines for the various GTK+ toolkit themes.
19Included themes are:
20
21  - Notif
22  - redmond95
23  - Pixmap
24  - Metal (Java swing-like)
25
26%prep
27%setup
28
29%build
30# Needed for snapshot releases.
31if [ ! -f configure ]; then
32 CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix
33else
34 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
35fi
36
37if [ "$SMP" != "" ]; then
38  make -j$SMP "MAKE=make -j$SMP"
39else
40  make
41fi
42
43%install
44
45rm -rf $RPM_BUILD_ROOT
46mkdir -p $RPM_BUILD_ROOT
47
48#
49# makefile is broken, sets exec_prefix explicitely.
50#
51make exec_prefix=$RPM_BUILD_ROOT/%{prefix} prefix=$RPM_BUILD_ROOT/%{prefix} install
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%changelog
57
58* Fri Nov 20 1998 Michael Fulbright <drmike@redhat.com>
59
60- First try at a spec file
61
62%files
63%defattr(-, root, root)
64%doc COPYING README ChangeLog
65%{prefix}/lib/gtk/themes/engines/*
66%{prefix}/share/themes/Pixmap/*
67%{prefix}/share/themes/Metal/*
68%{prefix}/share/themes/Notif/*
69%{prefix}/share/themes/Redmond95/*
Note: See TracBrowser for help on using the repository browser.