Commit 78290be1 authored by rhlabs's avatar rhlabs
Browse files

Initial commit of spec file.

-Marc <>
parent c31eb969
# Note that this is NOT a relocatable package
%define ver 0.99.5
%define rel SNAP
%define prefix /usr
Summary: The Gimp Toolkit
Name: gtk+
Version: %ver
Release: %rel
Copyright: LGPL
Group: X11/Libraries
BuildRoot: /tmp/gtk-root
Obsoletes: gtk
Packager: Marc Ewing <>
Prereq: /sbin/install-info
Docdir: %{prefix}/doc
The X libraries originally written for the GIMP, which are now used by
several other programs as well.
%package devel
Summary: GIMP Toolkit and GIMP Drawing Kit
Group: X11/Libraries
Requires: gtk+
Obsoletes: gtk-devel
PreReq: /sbin/install-info
%description devel
Static libraries and header files for the GIMP's X libraries, which are
available as public libraries. GLIB includes generally useful data
structures, GDK is a drawing toolkit which provides a thin layer over
Xlib to help automate things like dealing with different color depths,
and GTK is a widget set for creating user interfaces.
* Thu Mar 12 1998 Marc Ewing <>
- Reworked to integrate into gtk+ source tree
- Truncated ChangeLog. Previous Authors:
Trond Eivind Glomsrod <>
Michael K. Johnson <>
Otto Hammersmith <>
# Needed for snapshot releases.
if [ ! -f configure ]; then
CFLAGS="$RPM_OPT_FLAGS" ./ --prefix=%prefix
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
if [ "$SMP" != "" ]; then
(make "MAKE=make -j $SMP"; exit 0)
make prefix=$RPM_BUILD_ROOT%{prefix} install
gzip -9n $RPM_BUILD_ROOT%{prefix}/info/*
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post devel
/sbin/install-info %{prefix}/info/ %{prefix}/info/dir
/sbin/install-info %{prefix}/info/ %{prefix}/info/dir
%postun devel
if [ $1 = 0 ]; then
/sbin/install-info --delete %{prefix}/info/ %{prefix}/info/dir
/sbin/install-info --delete %{prefix}/info/ %{prefix}/info/dir
%attr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README TODO
%attr(-, root, root) %{prefix}/lib/lib*.so.*
%files devel
%attr(-, root, root) %{prefix}/lib/lib*.so
%attr(-, root, root) %{prefix}/lib/*a
%attr(-, root, root) %{prefix}/include/*
%attr(-, root, root) %{prefix}/info/*
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment