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 | |
---|
6 | Summary: Default GTK+ theme engines |
---|
7 | Name: gtk-engines |
---|
8 | Version: %ver |
---|
9 | Release: %rel |
---|
10 | Copyright: GPL |
---|
11 | Group: X11/Libraries |
---|
12 | Source: ftp://ftp.gnome.org/pub/GNOME/source/gtk-engines/gtk-engines-%{PACKAGE_VERSION}.tar.gz |
---|
13 | URL: http://gtk.themes.org/ |
---|
14 | BuildRoot:/var/tmp/gtk-engines-%{PACKAGE_VERSION}-root |
---|
15 | Docdir: %{prefix}/doc |
---|
16 | |
---|
17 | %description |
---|
18 | These are the graphical engines for the various GTK+ toolkit themes. |
---|
19 | Included 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. |
---|
31 | if [ ! -f configure ]; then |
---|
32 | CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix |
---|
33 | else |
---|
34 | CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix |
---|
35 | fi |
---|
36 | |
---|
37 | if [ "$SMP" != "" ]; then |
---|
38 | make -j$SMP "MAKE=make -j$SMP" |
---|
39 | else |
---|
40 | make |
---|
41 | fi |
---|
42 | |
---|
43 | %install |
---|
44 | |
---|
45 | rm -rf $RPM_BUILD_ROOT |
---|
46 | mkdir -p $RPM_BUILD_ROOT |
---|
47 | |
---|
48 | # |
---|
49 | # makefile is broken, sets exec_prefix explicitely. |
---|
50 | # |
---|
51 | make exec_prefix=$RPM_BUILD_ROOT/%{prefix} prefix=$RPM_BUILD_ROOT/%{prefix} install |
---|
52 | |
---|
53 | %clean |
---|
54 | rm -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.