SPECS: krecipes.spec (NEW) - initial revision

pascalek pascalek at pld-linux.org
Wed Nov 7 20:51:35 CET 2007


Author: pascalek                     Date: Wed Nov  7 19:51:35 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial revision

---- Files affected:
SPECS:
   krecipes.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/krecipes.spec
diff -u /dev/null SPECS/krecipes.spec:1.1
--- /dev/null	Wed Nov  7 20:51:35 2007
+++ SPECS/krecipes.spec	Wed Nov  7 20:51:29 2007
@@ -0,0 +1,79 @@
+# $Revision$, $Date$
+
+%bcond_without	sqlite		# without sqlite support
+%bcond_with	mysql		# with mysql support
+%bcond_with	postgresql	# with postgresql support
+
+Summary:	KDE Recipe Tool
+Summary(pl.UTF-8):	Zarządzaj przepisami w KDE
+Name:		krecipes
+Version:	0.9.1
+Release:	0.1
+License:	GPL v2
+Group:		X11/Applications
+Source0:	http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+# Source0-md5:	ca9b761045cac9aeccdf1b941a310996
+URL:		http://krecipes.sourceforge.net/
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The goal of this projects was to create a KDE Recipe Tool that:
+ - Can manage a recipe database with an easy to use interface
+ - Allows creation/removal of new ingredients and units
+ - Helps with diets, calculating amount of calories, vitamines, carbohydrates... per recipe
+ - Creates shopping lists, and daily suggestions for a given diet type
+ - Is based on MySQL (1) so it could be possible to generate a KSN(2)
+ - Should be as flexible as possible to have the possibility to extend it in future.
+                        
+%prep
+%setup -q
+
+%build
+%configure \
+	--enable-pch \
+	--with%{!?with_sqlite:out}-sqlite \
+	--with%{!?with_mysql:out}-mysql \
+	--with%{!?with_postgresql:out}-postgresql \
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	appsdir=%{_desktopdir}/kde \
+	k3bsetup2dir=%{_desktopdir}/kde \
+	kde_htmldir=%{_kdedocdir}
+
+mv $RPM_BUILD_ROOT%{_datadir}/applnk/Utilities $RPM_BUILD_ROOT%{_datadir}/applnk/.hidden
+
+%find_lang %{name} --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc ChangeLog AUTHORS README TODO
+%attr(755,root,root) %{_bindir}/%{name}
+%{_datadir}/applnk/.hidden/*.desktop
+%dir %{_datadir}/apps/krecipes
+%{_datadir}/apps/krecipes/data
+%{_datadir}/apps/krecipes/icons
+%{_datadir}/apps/krecipes/layouts
+%{_datadir}/apps/krecipes/pics
+%{_datadir}/apps/krecipes/*.rc
+%{_datadir}/mimelnk/application/*.desktop
+%{_iconsdir}/*/*/mimetypes/*
+%{_iconsdir}/*/*/apps/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/11/07 19:51:29  pascalek
+- initial revision
+
================================================================


More information about the pld-cvs-commit mailing list