rpms/hamster-applet/F-9 hamster-applet.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Mads Villadsen (maxx) fedora-extras-commits at redhat.com
Fri Apr 25 20:44:45 UTC 2008


Author: maxx

Update of /cvs/pkgs/rpms/hamster-applet/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27913/F-9

Modified Files:
	.cvsignore sources 
Added Files:
	hamster-applet.spec 
Log Message:
Initial import



--- NEW FILE hamster-applet.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           hamster-applet
Version:        0.1.7.4
Release:        3%{?dist}
Summary:        Time tracking applet

Group:          Development/Languages
License:        GPLv3+
URL:            http://code.google.com/p/projecthamster/
Source0:        http://projecthamster.googlecode.com/files/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  python-devel pygtk2-devel pygobject2-devel gnome-python2-devel
BuildRequires:  perl(XML::Parser) gnome-python2-applet python-sqlite2
BuildRequires:  gtk2-devel gettext

Requires:       hicolor-icon-theme
Requires:       pygtk2, pygobject2, gnome-python2-applet, python-sqlite2
Requires:       gnome-python2, gnome-python2-canvas, gnome-python2-gnomevfs
Requires:       gnome-python2-gconf, pygtk2-libglade, pycairo, evolution-python

Requires(pre):   GConf2
Requires(post):  GConf2
Requires(preun): GConf2

%pre
if [ "$1" -gt 1 ]; then
    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
    gconftool-2 --makefile-uninstall-rule \
      %{_sysconfdir}/gconf/schemas/hamster-applet.schemas >/dev/null || :
fi

%post
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi


export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule \
  %{_sysconfdir}/gconf/schemas/hamster-applet.schemas > /dev/null || :

%preun
if [ "$1" -eq 0 ]; then
    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
    gconftool-2 --makefile-uninstall-rule \
      %{_sysconfdir}/gconf/schemas/hamster-applet.schemas > /dev/null || :
fi

%postun
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi

%description
Time tracking for masses in GNOME.

%prep
%setup -q


%build
%configure
make %{?_smp_mflags}


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

 
%clean
rm -rf $RPM_BUILD_ROOT


%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog NEWS README
%{python_sitelib}/hamster
%{_libdir}/bonobo/servers/Hamster_Applet.server
%{_libdir}/hamster-applet
%{_datadir}/hamster-applet
%{_datadir}/icons/hicolor/*/apps/hamster-applet.*

%{_sysconfdir}/gconf/schemas/hamster-applet.schemas


%changelog
* Mon Apr 21 2008 Mads Villadsen <maxx at krakoa.dk> - 0.1.7.4-3
- Add hicolor-icon-theme as a Requires
- Add lots of other Requires as well - it should now run as well as build

* Sun Apr 20 2008 Mads Villadsen <maxx at krakoa.dk> - 0.1.7.4-2
- Split BuildRequires into more lines
- Don't mark the schema file as a config file

* Fri Apr 18 2008 Mads Villadsen <maxx at krakoa.dk> - 0.1.7.4-1
- New upstream version
- Updated license (as per http://mail.gnome.org/archives/desktop-devel-list/2008-April/msg00173.html)
- Added missing BuildRequires
- Correctly use python_sitelib instead of python_sitearch

* Wed Apr 16 2008 Mads Villadsen <maxx at krakoa.dk> - 0.1.7.3-1
- First release


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/hamster-applet/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	25 Apr 2008 20:18:55 -0000	1.1
+++ .cvsignore	25 Apr 2008 20:44:11 -0000	1.2
@@ -0,0 +1 @@
+hamster-applet-0.1.7.4.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/hamster-applet/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	25 Apr 2008 20:18:55 -0000	1.1
+++ sources	25 Apr 2008 20:44:11 -0000	1.2
@@ -0,0 +1 @@
+a98f344429668dbb8a71c0a8c4996705  hamster-applet-0.1.7.4.tar.gz




More information about the fedora-extras-commits mailing list