rpms/straw/devel Makefile, 1.3, 1.4 sources, 1.3, 1.4 straw.spec, 1.8, 1.9 dead.package, 1.1, NONE

Subhodip Biswas (subhodip) fedora-extras-commits at redhat.com
Thu Sep 27 14:32:17 UTC 2007


Author: subhodip

Update of /cvs/pkgs/rpms/straw/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3889/devel

Added Files:
	Makefile sources straw.spec 
Removed Files:
	dead.package 
Log Message:



Index: Makefile
===================================================================
RCS file: Makefile
diff -N Makefile
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Makefile	27 Sep 2007 14:31:43 -0000	1.4
@@ -0,0 +1,21 @@
+# Makefile for source rpm: straw
+# $Id$
+NAME := straw
+SPECFILE = $(firstword $(wildcard *.spec))
+
+define find-makefile-common
+for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
+endef
+
+MAKEFILE_COMMON := $(shell $(find-makefile-common))
+
+ifeq ($(MAKEFILE_COMMON),)
+# attept a checkout
+define checkout-makefile-common
+test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
+endef
+
+MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
+endif
+
+include $(MAKEFILE_COMMON)


Index: sources
===================================================================
RCS file: sources
diff -N sources
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ sources	27 Sep 2007 14:31:44 -0000	1.4
@@ -0,0 +1 @@
+5c64c65158dab096e2077e4f91412b37  straw-0.27.tar.gz


Index: straw.spec
===================================================================
RCS file: straw.spec
diff -N straw.spec
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ straw.spec	27 Sep 2007 14:31:44 -0000	1.9
@@ -0,0 +1,123 @@
+%define python_sitelib %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib()')
+
+%define desktop_vendor fedora
+
+Summary:        Desktop news aggregator
+Name:           straw
+Version:        0.27
+Release:        9%{?dist}
+License:        GPLv2+
+Group:          Applications/Internet
+URL:            http://www.gnome.org/projects/straw/
+Source:         http://download.gnome.org/sources/straw/%{version}/%{name}-%{version}.tar.gz
+BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+Requires: python >= 2.4
+# fix for python >= 2.5
+%if "%{?fedora}" > "6"
+BuildRequires: python-devel
+%endif
+Requires: gnome-python2-gnomevfs
+Requires: gnome-python2-gtkhtml2
+Requires: gnome-python2-libegg
+Requires: gnome-python2-gconf
+Requires: pygtk2-libglade
+Requires: mx
+# Current python-adns makes double free problem (bug 292821)
+Conflicts:python-adns
+Requires: dbus-python
+
+Requires(pre): GConf2
+Requires(post):GConf2
+Requires(preun):GConf2
+
+BuildRequires: dbus-python
+BuildRequires: pygtk2-libglade
+BuildRequires: pygtk2 >= 2.8.0
+BuildRequires: desktop-file-utils
+BuildRequires: gnome-python2-gconf
+BuildRequires: intltool
+
+BuildArch: noarch
+
+%description
+Straw is a desktop news aggregator for the GNOME environment. Its aim
+is to be a faster, easier and more accessible way to read news and
+blogs than the traditional browser.
+
+%prep
+%setup -q
+
+%build
+%{__python} setup.py build
+
+%install
+%{__rm} -rf %{buildroot}
+
+export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
+%{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}" --sysconfdir="%{_sysconfdir}"
+
+# this is a fix for constants.py to lookup in install dir rather than buildroot
+sed -i -e s@${RPM_BUILD_ROOT}@@ ${RPM_BUILD_ROOT}%{python_sitelib}/%{name}/constants.py
+
+%{__python} -Oc 'from compileall import *; compile_dir("'$RPM_BUILD_ROOT%{python_sitelib}/%{name}'")'
+
+%find_lang %{name}
+
+%{__install} -Dp -m0644 data/%{name}.schemas %{buildroot}%{_sysconfdir}/gconf/schemas/%{name}.schemas
+
+desktop-file-install --vendor %{desktop_vendor} --delete-original \
+                     --dir %{buildroot}%{_datadir}/applications    \
+                     %{buildroot}%{_datadir}/applications/%{name}.desktop
+
+%pre
+if [ $1 -gt 1 ]; then
+  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+  gconftool-2 --makefile-uninstall-rule \
+  %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || :
+fi
+%post
+export GCONF_CONFIG_SOURCE="$(gconftool-2 --get-default-source)"
+gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/%{name}.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/%{name}.schemas > /dev/null || :
+fi
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files -f %{name}.lang
+%defattr(-, root, root, 0755)
+%{_sysconfdir}/gconf/schemas/straw.schemas
+%doc LICENSE NEWS README TODO ChangeLog AUTHORS
+%{_bindir}/%{name}
+%{python_sitelib}/straw/
+%{_datadir}/straw/
+%{_datadir}/applications/%{desktop_vendor}-%{name}.desktop
+%{_datadir}/pixmaps/%{name}.png
+
+
+%changelog
+* Sun Sep 23 2007 Subhodip Biswas <440volt.tux at gmail.com> - 0.27-9
+- Fixed dependecies related to pygtk
+* Fri Sep 21 2007 Subhodip Biswas <440volt.tux at gmail.com> - 0.27-8
+- Fixed dependencies related to gnome-python2
+* Mon Sep 17 2007 Subhodip Biswas <440volt.tux at gmail.com> - 0.27-7
+- Fixed redundant dependencies 
+* Sun Sep 16 2007 Subhodip Biswas <440volt.tux at gmail.com> - 0.27-6
+- Fixed usage Gconf.Straw does not support python-adns anymore.
+- So removed it. Fixed Spec file indentation warning.
+* Thu Sep 14 2007 Subhodip Biswas <440volt.tux at gmail.com> - 0.27-5
+- Fixed few major errors and dependencies
+* Tue Sep 11 2007 Subhodip Biswas <440volt.tux at gmail.com> - 0.27-4
+- Fixed failed dependencies
+* Mon Sep 10 2007 Subhodip Biswas <440volt.tux at gmail.com> - 0.27-3
+- Fixed few errors 
+* Sun Sep 9  2007 Subhodip Biswas <440volt.tux at gmail.com> - 0.27-2
+- Some dependencies fixed 
+* Tue Aug 27 2007 Subhodip Biswas <440volt.tux at gmail.com> - 0.27-1
+- Updated to 0.27


--- dead.package DELETED ---




More information about the fedora-extras-commits mailing list