This commit is contained in:
parent
a67ebd8d57
commit
cbac0cf1ac
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 6 23:38:12 CEST 2007 - maw@suse.de
|
||||||
|
|
||||||
|
- Split out a -lang subpackage
|
||||||
|
- Use %fdupes.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 26 19:29:58 CEST 2007 - maw@suse.de
|
Thu Jul 26 19:29:58 CEST 2007 - maw@suse.de
|
||||||
|
|
||||||
|
19
gtk2.spec
19
gtk2.spec
@ -20,7 +20,7 @@ BuildRequires: DirectFB-devel
|
|||||||
%endif
|
%endif
|
||||||
%if %suse_version <= 1020
|
%if %suse_version <= 1020
|
||||||
# Missing in cups-devel:
|
# Missing in cups-devel:
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: fdupes openssl-devel
|
||||||
%endif
|
%endif
|
||||||
URL: http://www.gtk.org/
|
URL: http://www.gtk.org/
|
||||||
License: LGPL v2 or later
|
License: LGPL v2 or later
|
||||||
@ -28,7 +28,7 @@ Group: System/Libraries
|
|||||||
Autoreqprov: on
|
Autoreqprov: on
|
||||||
PreReq: /usr/bin/touch /bin/rm /bin/rmdir
|
PreReq: /usr/bin/touch /bin/rm /bin/rmdir
|
||||||
Version: 2.11.6
|
Version: 2.11.6
|
||||||
Release: 1
|
Release: 8
|
||||||
Summary: Library for Creation of Graphical User Interfaces (version 2)
|
Summary: Library for Creation of Graphical User Interfaces (version 2)
|
||||||
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{_name}/2.10/%{_name}-%{version}.tar.bz2
|
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{_name}/2.10/%{_name}-%{version}.tar.bz2
|
||||||
Source1: SuSEconfig.gtk2
|
Source1: SuSEconfig.gtk2
|
||||||
@ -56,6 +56,10 @@ Patch39: gtk2-makefile-typo.patch
|
|||||||
# Patch42: gtk2-216883-filechooser-fix-invisible-shortcuts.diff
|
# Patch42: gtk2-216883-filechooser-fix-invisible-shortcuts.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Requires: cairo >= 0.9.2 hicolor-icon-theme
|
Requires: cairo >= 0.9.2 hicolor-icon-theme
|
||||||
|
%if %suse_version > 1020
|
||||||
|
BuildRequires: fdupes
|
||||||
|
Requires: %{name}-lang = %{version}
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This fast and versatile library is used all over the world for all
|
This fast and versatile library is used all over the world for all
|
||||||
@ -183,6 +187,7 @@ Authors:
|
|||||||
Manish Singh <manish@gtk.org>
|
Manish Singh <manish@gtk.org>
|
||||||
Owen Taylor <otaylor@gtk.org>
|
Owen Taylor <otaylor@gtk.org>
|
||||||
|
|
||||||
|
%lang_package
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{_name}-%{version}
|
%setup -q -n %{_name}-%{version}
|
||||||
gnome-patch-translation-prepare
|
gnome-patch-translation-prepare
|
||||||
@ -291,6 +296,8 @@ endif' >> $RPM_BUILD_ROOT/etc/profile.d/%{name}.csh
|
|||||||
%endif
|
%endif
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2*/*/*.la
|
rm $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2*/*/*.la
|
||||||
|
|
||||||
|
%fdupes $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
@ -312,7 +319,7 @@ fi
|
|||||||
%postun
|
%postun
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
||||||
%files -f %files -f gtk20.lang
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%if "%_lib" == "lib64"
|
%if "%_lib" == "lib64"
|
||||||
%doc AUTHORS COPYING README README.SuSE NEWS ChangeLog
|
%doc AUTHORS COPYING README README.SuSE NEWS ChangeLog
|
||||||
@ -343,6 +350,9 @@ fi
|
|||||||
%{_sysconfdir}/gtk-2.0/im-multipress.conf
|
%{_sysconfdir}/gtk-2.0/im-multipress.conf
|
||||||
/etc/profile.d/*
|
/etc/profile.d/*
|
||||||
/sbin/conf.d/SuSEconfig.gtk2
|
/sbin/conf.d/SuSEconfig.gtk2
|
||||||
|
|
||||||
|
%files lang -f gtk20.lang
|
||||||
|
%defattr(-,root,root)
|
||||||
# ugh
|
# ugh
|
||||||
%dir %{_datadir}/locale/uz@cyrillic
|
%dir %{_datadir}/locale/uz@cyrillic
|
||||||
%dir %{_datadir}/locale/uz@cyrillic/LC_MESSAGES
|
%dir %{_datadir}/locale/uz@cyrillic/LC_MESSAGES
|
||||||
@ -367,6 +377,9 @@ fi
|
|||||||
%{_datadir}/gtk-doc/html/*
|
%{_datadir}/gtk-doc/html/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 06 2007 - maw@suse.de
|
||||||
|
- Split out a -lang subpackage
|
||||||
|
- Use %%fdupes.
|
||||||
* Thu Jul 26 2007 - maw@suse.de
|
* Thu Jul 26 2007 - maw@suse.de
|
||||||
- Update to version 2.11.6
|
- Update to version 2.11.6
|
||||||
- GtkBuilder:
|
- GtkBuilder:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user