2004-01-08 Niall Power <
[email protected]>
* libgnomeui.spec: update to 2.5.2 to make nautilus build
Name: libgnomeui
License: LGPL
Group: System/Libraries/GNOME
Version: 2.5.2
Release: 1
Distribution: Quicksilver
Vendor: Sun Microsystems, Inc.
Summary: GNOME User Interface Library
Source: http://ftp.gnome.org/pub/GNOME/sources/libgnomeui/2.5/libgnomeui-%{version}.tar.bz2
Source1: libgnomeui-l10n-po-0.6.tar.bz2
Source2: libgnomeui-2.3.gz
Patch1: libgnomeui-01-file-entry-activate.diff
Patch2: libgnomeui-02-auth-manager.diff
URL: http://www.gnome.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Autoreqprov: on
Prereq: /sbin/ldconfig
%define gtk_doc_version 1.1
%define libbonoboui_version 2.4.0
%define libglade_version 2.0.1
%define libbonobo_version 2.4.0
%define libgnome_version 2.4.0
%define gnome_keyring_version 0.1
Requires: libbonoboui >= %{libbonoboui_version}
Requires: libglade >= %{libglade_version}
Requires: gnome-keyring >= %{gnome_keyring_version}
BuildRequires: libbonoboui-devel >= %{libbonoboui_version}
BuildRequires: libglade-devel >= %{libglade_version}
BuildRequires: gnome-keyring-devel >= %{gnome_keyring_version}
BuildRequires: gtk-doc >= %{gtk_doc_version}
%description
libgnomeui is the GNOME User Interface Library, containing many widgets and
convenient API used to developer GNOME applications that is not in GTK+
eg. About Dialog, Session Manager support
%package devel
Summary: GNOME User Interface Development Library
Group: Development/Libraries/GNOME
Requires: %{name} = %{version}
Requires: libgnome-devel >= %{libgnome_version}
Requires: libbonoboui-devel >= %{libbonoboui_version}
%description devel
libgnomeui is the GNOME User Interface Library, containing many widgets and
convenient API used to developer GNOME applications that is not in GTK+
eg. About Dialog, Session Manager support
%prep
%setup -q
%patch1 -p1
%patch2 -p1
tar -jxf %SOURCE1
%build
CFLAGS="$RPM_OPT_FLAGS" \
./configure --prefix=%{_prefix} \
--sysconfdir=%{_sysconfdir} \
--mandir=%{_mandir} \
--disable-gtk-doc
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
install -d $RPM_BUILD_ROOT/usr/share/man/man3
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT/usr/share/man/man3
#Copy zh_HK from zh_TW
#Fixes bug 4930405
install -d $RPM_BUILD_ROOT/usr/share/locale/zh_HK/LC_MESSAGES
install --mode=0644 $RPM_BUILD_ROOT/usr/share/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT/usr/share/locale/zh_HK/LC_MESSAGES/
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%{_datadir}/locale/*/LC_MESSAGES/libgnomeui-2.0.mo
%{_datadir}/pixmaps/*.png
%{_libexecdir}/*
%{_libdir}/libglade/2.0/libgnome*so*
%{_libdir}/lib*.so.*
%files devel
%{_libdir}/pkgconfig/*.pc
%{_includedir}/libgnomeui-2.0/libgnomeui/*.h
%{_includedir}/libgnomeui-2.0/*.h
%{_libdir}/lib*.so
%{_datadir}/gtk-doc/html/libgnomeui
%{_mandir}/man3/*
%changelog
* Thu Jan 08 2004 - [email protected]
- Update to 2.5.2 to make nautilus build
* Mon Dec 15 2003 - [email protected]
- Update to 2.5.1
* Mon Oct 13 2003 - [email protected]
- added auth manager patch (moved from nautilus)
* Thu Oct 09 2003 - [email protected]
- Updated for 2.4
* Thu Sep 25 2003 - [email protected]
- Fix icon theming for icons with full paths
* Thu Aug 14 2003 - <[email protected]>
- move lib*.so to -devel, remove *.a, *.la
* Thu Aug 07 2003 - [email protected]
- Remove the evil activate signal on file entry
browse ok button callback. Stops browse dialog
being displayed twice, when user selects stuff.
* Thu Aug 07 2003 - [email protected]
- Update tarball, bump version, reset release.
* Thu Jul 10 2003 - [email protected]
- Added .po tarball
* Tue May 13 2003 - [email protected]
- Initial Sun release.