This repository has been archived on 2024-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
libgtk1/libgtk1.spec

114 lines
3.4 KiB
RPMSpec
Raw Permalink Normal View History

Name: libgtk1
Version: 1.2.10
Release: 7mamba
Summary: The GIMP ToolKit (GTK+), a library for creating GUIs
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gtk.org/
Source: ftp://ftp.gtk.org/pub/gtk/v1.2/gtk+-%{version}.tar.gz
Patch: %{name}-1.2.10-m4_underquoted_warning.patch
License: LGPL
Requires(post):%{__install_info}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: pkgconfig
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libglib1-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: pkgconfig
## AUTOBUILDREQ-END
%description
The gtk+ package contains the GIMP ToolKit (GTK+), a library for creating graphical user interfaces for the X Window System.
GTK+ was originally written for the GIMP (GNU Image Manipulation Program) image processing program, but is now used by several other programs as well.
If you are planning on using the GIMP or another program that uses GTK+, you'll need to have the gtk+ package installed.
%package devel
Summary: Devel package for GTK+
Group: Development/Libraries
Requires: pkgconfig >= 0.15.0
Requires: %{name} = %{version}-%{release}
Requires: libglib1-devel = 1.2.10
%description devel
The gtk+ package contains the GIMP ToolKit (GTK+), a library for creating graphical user interfaces for the X Window System.
GTK+ was originally written for the GIMP (GNU Image Manipulation Program) image processing program, but is now used by several other programs as well.
If you are planning on using the GIMP or another program that uses GTK+, you'll need to have the gtk+ package installed.
This is the devel package.
%prep
%setup -q -n gtk+-%{version}
%patch -p1
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeoldinstall
%find_lang gtk+
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f gtk+.lang
%defattr(-,root,root)
%{_libdir}/*.so.*
%dir %{_sysconfdir}/gtk
%{_sysconfdir}/gtk/*
%{_infodir}/*
%{_datadir}/themes/Default/gtk/gtkrc
%files devel
%defattr(-,root,root)
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_mandir}/man1/*
%{_includedir}/gtk-1.2/gtk/*.h
%{_includedir}/gtk-1.2/gdk/*.h
%{_bindir}/gtk-config
%{_libdir}/pkgconfig/*
%{_datadir}/aclocal/*
%post
/sbin/ldconfig
%install_info gtk.info
%preun
%uninstall_info gtk.info
:
%postun -p /sbin/ldconfig
%changelog
* Fri Aug 23 2013 Automatic Build System <autodist@mambasoft.it> 1.2.10-7mamba
- automatic rebuild by autodist
* Sun Jun 22 2008 Fabio Giani <fabio.giani@gmail.com> 1.2.10-6mamba
- updave Vendor, Distribution, Packager, buildrequirements list
- remove from list obsolete libXorg buildrequirement
* Wed Jun 07 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.2.10-5qilnx
- fixed underquoted definition of AM_PATH_GTK in gtk.m4
* Tue Dec 13 2005 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 1.2.10-4qilnx
- specfile updated and fixed
* Fri Jul 11 2003 Silvan Calarco <silvan.calarco@qinet.it> 1.2.10-3qilnx
- reinserted libglib1-devel requirement (don't remove it again!)
* Mon Jun 16 2003 Silvan Calarco <silvan.calarco@qinet.it> 1.2.10-2qilnx
- removed libglib1-devel requirement for devel package
* Mon Jun 16 2003 Silvan Calarco <silvan.calarco@qinet.it> 1.2.10-1qilnx
- first build for compatibility version 1.2.10