- Incorporate suggestions from package review.
This commit is contained in:
parent
37e79028ee
commit
0ee6425a7e
28
devhelp.spec
28
devhelp.spec
@ -4,12 +4,13 @@
|
||||
|
||||
Name: devhelp
|
||||
Version: 0.13
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPL
|
||||
Group: Development/Tools
|
||||
Summary: API document browser
|
||||
Source: devhelp-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/devhelp-%{version}-root
|
||||
URL: http://developer.imendio.com/projects/devhelp
|
||||
Source: http://ftp.gnome.org/pub/GNOME/sources/devhelp/%{version}/devhelp-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/devhelp-%{version}-%{release}-root
|
||||
|
||||
### Dependencies ###
|
||||
|
||||
@ -18,22 +19,13 @@ Requires(preun): GConf2 >= 2.14
|
||||
Requires(post): GConf2 >= 2.14
|
||||
|
||||
Requires: gecko-libs = %{gecko_ver}
|
||||
Requires: gnome-vfs2 >= 2.2.0
|
||||
Requires: gtk2 >= 2.2.0
|
||||
Requires: libglade2 >= 2.2.0
|
||||
Requires: libgnomeui >= 2.2.0
|
||||
|
||||
### Build Dependencies ###
|
||||
|
||||
BuildRequires: GConf2-devel >= 2.6.0
|
||||
BuildRequires: desktop-file-utils >= 0.3
|
||||
BuildRequires: gecko-devel = %{gecko_ver}
|
||||
BuildRequires: gettext
|
||||
BuildRequires: glib2-devel >= 2.9.5
|
||||
BuildRequires: gnome-vfs2-devel >= 2.2.0
|
||||
BuildRequires: gtk2-devel >= 2.2.0
|
||||
BuildRequires: intltool
|
||||
BuildRequires: libglade2-devel >= 2.2.0
|
||||
BuildRequires: libgnomeui-devel >= 2.2.0
|
||||
BuildRequires: libwnck-devel >= 2.10.0
|
||||
|
||||
@ -51,13 +43,13 @@ Requires: libwnck-devel >= 2.10.0
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
Library of Devhelp for embedding into other applications.
|
||||
Library of Devhelp for embedding into other applications
|
||||
|
||||
%prep
|
||||
%setup -q -n devhelp-%{version}
|
||||
|
||||
%build
|
||||
%configure
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
@ -74,7 +66,6 @@ desktop-file-install --vendor gnome \
|
||||
$RPM_BUILD_ROOT%{_datadir}/applications/devhelp.desktop
|
||||
|
||||
find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
|
||||
find ${RPM_BUILD_ROOT} -type f -name "*.a" -exec rm -f {} ';'
|
||||
|
||||
rm $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
|
||||
|
||||
@ -97,7 +88,7 @@ if [ "$1" -eq 0 ]; then
|
||||
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/devhelp.schemas > /dev/null || :
|
||||
fi
|
||||
|
||||
%post
|
||||
%post -p /sbin/ldconfig
|
||||
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
||||
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/devhelp.schemas > /dev/null || :
|
||||
touch --no-create %{_datadir}/icons/hicolor
|
||||
@ -105,7 +96,7 @@ if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
|
||||
fi
|
||||
|
||||
%postun
|
||||
%postun -p /sbin/ldconfig
|
||||
touch --no-create %{_datadir}/icons/hicolor
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
|
||||
@ -134,6 +125,9 @@ fi
|
||||
%{_libdir}/pkgconfig/*
|
||||
|
||||
%changelog
|
||||
* Sun Feb 04 2007 Matthew Barnes <mbarnes@redhat.com> - 0.13-2.fc7
|
||||
- Incorporate suggestions from package review.
|
||||
|
||||
* Sat Feb 03 2007 Matthew Barnes <mbarnes@redhat.com> - 0.13-1.fc7
|
||||
- Update to 0.13
|
||||
- Clean up the spec file.
|
||||
|
Loading…
Reference in New Issue
Block a user