[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/gourmet/devel gourmet.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2



Author: mpeters

Update of /cvs/extras/rpms/gourmet/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22013/devel

Modified Files:
	.cvsignore sources 
Added Files:
	gourmet.spec 
Log Message:
auto-import gourmet-0.8.5.2-1 on branch devel from gourmet-0.8.5.2-1.src.rpm


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

Name:		gourmet
Version:	0.8.5.2
Release:	1%{?dist}
Summary:	PyGTK Recipe Manager

Group:		Applications/Productivity
License:	GPL
URL:		http://grecipe-manager.sourceforge.net
Source0:	http://easynews.dl.sourceforge.net/sourceforge/grecipe-manager/%{name}-%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:	noarch
BuildRequires:	python >= 0:2.2
BuildRequires:	gettext
BuildRequires:	desktop-file-utils
BuildRequires:	sed >= 3.95
Requires:	python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")
Requires:	gnome-python2
Requires:	gnome-python2-gnomeprint
Requires:	metakit
Requires:	pygtk2 > 2.3.9
Requires:	PyRTF
Requires:	python-imaging

%description
Gourmet Recipe Manager is a recipe-organizer for GNOME that generates shopping
lists and allows rapid searching of recipes. It imports mealmaster & mastercook
files and exports webpages & other formats. Gourmet uses python, gtk and
metakit.

%prep
%setup -q
%{__sed} -i 's?\.$??g' gourmet.desktop
%{__sed} -i 's?\r??' src/lib/defaults_pt.py
%{__sed} -i 's?\r??' src/lib/defaults_sk.py
# remove *.mo files - we'll regenerate them
pushd i18n
find -name \*.mo |xargs rm -f
popd

%build
pushd i18n
for file in *.po; do
	sh make_mo.sh $(basename $file .po)
done
popd

%{__python} setup.py build

%install
rm -rf %buildroot
%{__python} setup.py install -O1 --skip-build --root %buildroot \
--disable-modules-check

desktop-file-install %buildroot%_datadir/applications/gourmet.desktop \
--vendor=fedora \
--add-category=X-Fedora \
--dir=%buildroot%_datadir/applications \
--copy-name-to-generic-name \
--delete-original


%find_lang %{name}

%clean
rm -rf %buildroot


%files -f %{name}.lang
%defattr(-,root,root,-)
%doc CHANGES PKG-INFO README TODO
%doc documentation
%_bindir/gourmet
# sitelib stuff
%dir %{python_sitelib}/gourmet
%{python_sitelib}/gourmet/*.py
%{python_sitelib}/gourmet/*.pyc
%ghost %{python_sitelib}/gourmet/*.pyo
%dir %{python_sitelib}/gourmet/backends
%{python_sitelib}/gourmet/backends/*.py
%{python_sitelib}/gourmet/backends/*.pyc
%ghost %{python_sitelib}/gourmet/backends/*.pyo
%dir %{python_sitelib}/gourmet/exporters
%{python_sitelib}/gourmet/exporters/*.py
%{python_sitelib}/gourmet/exporters/*.pyc
%ghost %{python_sitelib}/gourmet/exporters/*.pyo
%dir %{python_sitelib}/gourmet/importers
%{python_sitelib}/gourmet/importers/*.py
%{python_sitelib}/gourmet/importers/*.pyc
%ghost %{python_sitelib}/gourmet/importers/*.pyo
# datadir stuff
%{_datadir}/applications/fedora-gourmet.desktop
%{_datadir}/pixmaps/recbox.png
%{_datadir}/gourmet

%changelog
* Mon Jun 13 2005 Michael A. Peters <mpeters mac com> - 0.8.5.2-1
- Initial checkin to cvs


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/gourmet/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	14 Jun 2005 01:10:08 -0000	1.1
+++ .cvsignore	14 Jun 2005 01:44:06 -0000	1.2
@@ -0,0 +1 @@
+gourmet-0.8.5.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/gourmet/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	14 Jun 2005 01:10:08 -0000	1.1
+++ sources	14 Jun 2005 01:44:06 -0000	1.2
@@ -0,0 +1 @@
+9a1014582aacc58ff2ea86ad66fdc2cb  gourmet-0.8.5.2.tar.gz


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]