Packages free to a good home

Colin Charles byte at aeon.com.my
Sun Feb 27 10:38:41 UTC 2005


On Sat, 2005-02-26 at 15:28 -0500, Phillip Compton wrote:
> gdesklets
> http://bugzilla.fedora.us/show_bug.cgi?id=2025
> http://phillip.compton.name/SRPMS/gdesklets-0.30-0.fdr.1.src.rpm

Attached spec file bumps it up to 0.34

Any thoughts about doing QA on it before pushing it into the tree?
Thanks
-- 
Colin Charles, byte at aeon.com.my
http://www.bytebot.net/
"First they ignore you, then they laugh at you, then they fight you, 
then you win." -- Mohandas Gandhi
-------------- next part --------------
Name:           gdesklets
Version:        0.34
Release:        0
Summary:        Advanced architecture for desktop applets

Group:          User Interface/Desktops
License:        GPL
URL:            http://gdesklets.gnomedesktop.org/
Source0:        http://www.pycage.de/download/gdesklets/gDesklets-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  gtk2-devel
BuildRequires:  librsvg2-devel
BuildRequires:  libgtop2-devel
BuildRequires:  python-devel
BuildRequires:  pygtk2-devel
BuildRequires:  gnome-python2
BuildRequires:  gnome-python2-gconf
BuildRequires:  swig
BuildRequires:  perl-XML-Parser
BuildRequires:  gettext
BuildRequires:  pyorbit-devel

Requires:       pygtk2
Requires:       gnome-python2
Requires:       gnome-python2-gconf
Requires(post):   GConf2
Requires(post): shared-mime-info
Requires(postun): shared-mime-info

%description
gDesklets provides an advanced architecture for desktop applets - tiny
displays sitting on your desktop in a symbiotic relationship of eye candy 
and usefulness.


%prep
%setup -q -n gDesklets-%{version}

%build
%configure \
	--disable-dependency-tracking \
	--disable-install-schemas
make %{?_smp_mflags}


%clean
rm -rf ${RPM_BUILD_ROOT}


%install
rm -rf ${RPM_BUILD_ROOT}
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make install DESTDIR=${RPM_BUILD_ROOT}
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
%find_lang %{name}

%post
export GCONF_CONFIG_SOURCE="$(gconftool-2 --get-default-source)"
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas &>/dev/null
update-mime-database %{_datadir}/mime > /dev/null 2>&1 || : 


%postun
update-mime-database %{_datadir}/mime > /dev/null 2>&1 || : 

%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO
%doc %{_mandir}/man?/*
%config %{_sysconfdir}/gconf/schemas/gdesklets-display-thumbnail.schemas
%{_bindir}/*
#%{_datadir}/%{name}
%{_datadir}/applications/*
%{_datadir}/icons/gnome/48x48/mimetypes/*.png
%{_datadir}/mime/application/*
%{_datadir}/mime/packages/*
%{_datadir}/pixmaps/*.png
%{_libdir}/gdesklets/*

%exclude %{_datadir}/mime/globs
%exclude %{_datadir}/mime/magic
%exclude %{_datadir}/mime/XMLnamespaces


%changelog
* Sun Feb 27 2005 Colin Charles <colin at fedoraproject.org> - 0.34-0
- bump version to 0.34
- handle libraries, locales, add BuildRequires: pyorbit-devel

* Mon Aug 16 2004 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.30-0.fdr.1
- Initial Release.


More information about the fedora-extras-list mailing list