Skip to content
Newer
Older
100644 135 lines (112 sloc) 3.57 KB
3ed3fac Fix up a bit to look for the loaders in the right place. (#93011, Dennis
Owen Taylor authored Sep 24, 2002
1 %define binary_version @GTK_BINARY_VERSION@
2
b5857e5 Mon Aug 27 2001 Jens Finke <jens@gnome.org> - Renamed package to gtk2. -
Jens Finke authored Aug 27, 2001
3 Name: gtk2
320991e Updated to match gpp requirements, reworked the files section to make it
Jens Finke authored Aug 27, 2001
4 Summary: The Gimp Toolkit
5 Version: @VERSION@
6 Release: 1
7 License: LGPL
8 Group: X11/Libraries
3ed3fac Fix up a bit to look for the loaders in the right place. (#93011, Dennis
Owen Taylor authored Sep 24, 2002
9 Source: ftp://ftp.gimp.org/pub/gtk/v2.3/gtk+-%{version}.tar.gz
b5857e5 Mon Aug 27 2001 Jens Finke <jens@gnome.org> - Renamed package to gtk2. -
Jens Finke authored Aug 27, 2001
10 BuildRoot: /var/tmp/%{name}-%{version}-root
320991e Updated to match gpp requirements, reworked the files section to make it
Jens Finke authored Aug 27, 2001
11 URL: http://www.gtk.org
b5857e5 Mon Aug 27 2001 Jens Finke <jens@gnome.org> - Renamed package to gtk2. -
Jens Finke authored Aug 27, 2001
12 Requires: glib2 >= %{version}
320991e Updated to match gpp requirements, reworked the files section to make it
Jens Finke authored Aug 27, 2001
13 Requires: pango
14 Requires: atk
b5857e5 Mon Aug 27 2001 Jens Finke <jens@gnome.org> - Renamed package to gtk2. -
Jens Finke authored Aug 27, 2001
15 BuildRequires: glib2-devel
320991e Updated to match gpp requirements, reworked the files section to make it
Jens Finke authored Aug 27, 2001
16 BuildRequires: pango-devel
17 BuildRequires: atk-devel
78290be Initial commit of spec file.
rhlabs authored Mar 13, 1998
18
19 %description
20 The X libraries originally written for the GIMP, which are now used by
21 several other programs as well.
22
23 %package devel
57223c9 Revert name change
Cody Russell authored Jul 1, 2008
24 Summary: GIMP Toolkit and GIMP Drawing Kit
320991e Updated to match gpp requirements, reworked the files section to make it
Jens Finke authored Aug 27, 2001
25 Group: X11/Libraries
26 Requires: %{name} = %{version}
78290be Initial commit of spec file.
rhlabs authored Mar 13, 1998
27
28 %description devel
29 Static libraries and header files for the GIMP's X libraries, which are
30 available as public libraries. GLIB includes generally useful data
31 structures, GDK is a drawing toolkit which provides a thin layer over
32 Xlib to help automate things like dealing with different color depths,
33 and GTK is a widget set for creating user interfaces.
34
35
36 %prep
b5857e5 Mon Aug 27 2001 Jens Finke <jens@gnome.org> - Renamed package to gtk2. -
Jens Finke authored Aug 27, 2001
37 %setup -q -n gtk+-%{version}
78290be Initial commit of spec file.
rhlabs authored Mar 13, 1998
38
39 %build
320991e Updated to match gpp requirements, reworked the files section to make it
Jens Finke authored Aug 27, 2001
40 %ifarch alpha
41 MYARCH_FLAGS="--host=alpha-redhat-linux"
42 %endif
43
78290be Initial commit of spec file.
rhlabs authored Mar 13, 1998
44 # Needed for snapshot releases.
320991e Updated to match gpp requirements, reworked the files section to make it
Jens Finke authored Aug 27, 2001
45 MYCFLAGS="$RPM_OPT_FLAGS"
78290be Initial commit of spec file.
rhlabs authored Mar 13, 1998
46 if [ ! -f configure ]; then
320991e Updated to match gpp requirements, reworked the files section to make it
Jens Finke authored Aug 27, 2001
47 CFLAGS="$MYCFLAGS" ./autogen.sh $MYARCH_FLAGS \
48 --prefix=%{_prefix} \
49 --localstatedir=%{_localstatedir} --sysconfdir=%{_sysconfdir} \
50 --mandir=%{_mandir} --libdir=%{_libdir} \
51 --includedir=%{_includedir}
78290be Initial commit of spec file.
rhlabs authored Mar 13, 1998
52 else
320991e Updated to match gpp requirements, reworked the files section to make it
Jens Finke authored Aug 27, 2001
53 CFLAGS="$MYCFLAGS" ./configure $MYARCH_FLAGS \
54 --prefix=%{_prefix} --localstatedir=%{_localstatedir} \
55 --sysconfdir=%{_sysconfdir} --mandir=%{_mandir} \
56 --libdir=%{_libdir} --includedir=%{_includedir} --disable-gtk-doc
78290be Initial commit of spec file.
rhlabs authored Mar 13, 1998
57 fi
58
59 if [ "$SMP" != "" ]; then
f8170cb Added -k to SMP make line.
rhlabs authored Mar 15, 1998
60 (make "MAKE=make -k -j $SMP"; exit 0)
78290be Initial commit of spec file.
rhlabs authored Mar 13, 1998
61 make
62 else
63 make
64 fi
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
320991e Updated to match gpp requirements, reworked the files section to make it
Jens Finke authored Aug 27, 2001
69 make -k sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} \
70 prefix=$RPM_BUILD_ROOT%{_prefix} mandir=$RPM_BUILD_ROOT%{_mandir} \
71 localstatedir=$RPM_BUILD_ROOT%{_localstatedir} \
72 libdir=$RPM_BUILD_ROOT%{_libdir} \
73 includedir=$RPM_BUILD_ROOT%{_includedir} install
78290be Initial commit of spec file.
rhlabs authored Mar 13, 1998
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %post -p /sbin/ldconfig
79
80 %postun -p /sbin/ldconfig
81
82 %files
ced74f4 Added aclocal stuff.
rhlabs authored Mar 15, 1998
83 %defattr(-, root, root)
84
7614512 Remove some files whose content is either obsolete or has been moved
Matthias Clasen authored Apr 19, 2002
85 %doc AUTHORS COPYING ChangeLog NEWS README
320991e Updated to match gpp requirements, reworked the files section to make it
Jens Finke authored Aug 27, 2001
86 %{_bindir}/*
87 %{_libdir}/libgtk*.so.*
88 %{_libdir}/libgdk*.so.*
3ed3fac Fix up a bit to look for the loaders in the right place. (#93011, Dennis
Owen Taylor authored Sep 24, 2002
89 %{_libdir}/gtk-2.0/%{binary_version}/*/*.so
320991e Updated to match gpp requirements, reworked the files section to make it
Jens Finke authored Aug 27, 2001
90 #%{_datadir}/locale/*/*/*
91 %{_sysconfdir}/gtk-2.0/gtk.immodules
887540e Split out glib.
rhlabs authored Apr 13, 1998
92
78290be Initial commit of spec file.
rhlabs authored Mar 13, 1998
93 %files devel
ced74f4 Added aclocal stuff.
rhlabs authored Mar 15, 1998
94 %defattr(-, root, root)
95
320991e Updated to match gpp requirements, reworked the files section to make it
Jens Finke authored Aug 27, 2001
96 %{_libdir}/lib*.so
97 %{_libdir}/*a
3ed3fac Fix up a bit to look for the loaders in the right place. (#93011, Dennis
Owen Taylor authored Sep 24, 2002
98 %{_libdir}/gtk-2.0/%{binary_version}/*/*a
320991e Updated to match gpp requirements, reworked the files section to make it
Jens Finke authored Aug 27, 2001
99 %{_libdir}/gtk-2.0/include
100 %{_libdir}/pkgconfig/*.pc
101 %{_includedir}/gtk-2.0
102 %{_datadir}/gtk-2.0
103 %{_datadir}/aclocal/*
104 %{_datadir}/gtk-doc/html/*
105
106
107 %changelog
3ed3fac Fix up a bit to look for the loaders in the right place. (#93011, Dennis
Owen Taylor authored Sep 24, 2002
108 * Wed Sep 11 2002 Dennis Dementiev <denm@asplinux.ru>
109 - modules and loaders should be installed in under binary version
110 dir instead version
111
320991e Updated to match gpp requirements, reworked the files section to make it
Jens Finke authored Aug 27, 2001
112 * Mon Aug 27 2001 Jens Finke <jens@gnome.org>
b5857e5 Mon Aug 27 2001 Jens Finke <jens@gnome.org> - Renamed package to gtk2. -
Jens Finke authored Aug 27, 2001
113 - Renamed package to gtk2.
114 - Updated source url.
115 - glib2 package required.
116
117 * Mon Aug 27 2001 Jens Finke <jens@gnome.org>
320991e Updated to match gpp requirements, reworked the files section to make it
Jens Finke authored Aug 27, 2001
118 - Updated spec file to match gpp standard and
119 1.3.x files.
120 - Removed all hardcoded paths, use rpm macros instead.
121 - Added pango and atk Requires: and BuildRequires: statements.
122 - Removed Docdir: statement.
123 - Moved ChangeLog to the end of the file.
124 - Truncated ChangeLog (Mar 12 1998 - Jun 1 1999)
125 Previous Authors:
126 Jose Mercado <jmercado@mit.edu>
127 Michael Fulbright <drmike@redhat.com>
128 Shawn T. Amundson <amundson@gtk.org>
129 Dick Porter <dick@cymru.net>
130 Marc Ewing <marc@redhat.com>
131 Owen Taylor <otaylor@gtk.org>
132 Trond Eivind Glomsrod <teg@pvv.ntnu.no>
133 Michael K. Johnson <johnsonm@redhat.com>
134 Otto Hammersmith <otto@redhat.com>
Something went wrong with that request. Please try again.