packages: xcowsay/xcowfortune.desktop (NEW), xcowsay/xcowsay.spec (NEW) - n...

glen glen at pld-linux.org
Fri Oct 22 10:57:07 CEST 2010


Author: glen                         Date: Fri Oct 22 08:57:07 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new, based on fc git package

---- Files affected:
packages/xcowsay:
   xcowfortune.desktop (NONE -> 1.1)  (NEW), xcowsay.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/xcowsay/xcowfortune.desktop
diff -u /dev/null packages/xcowsay/xcowfortune.desktop:1.1
--- /dev/null	Fri Oct 22 10:57:07 2010
+++ packages/xcowsay/xcowfortune.desktop	Fri Oct 22 10:57:02 2010
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=Application
+Categories=Game;
+Name=xcowfortune
+Terminal=false
+Comment=Displays a cute cow saying a fortune
+Exec=xcowfortune

================================================================
Index: packages/xcowsay/xcowsay.spec
diff -u /dev/null packages/xcowsay/xcowsay.spec:1.1
--- /dev/null	Fri Oct 22 10:57:07 2010
+++ packages/xcowsay/xcowsay.spec	Fri Oct 22 10:57:02 2010
@@ -0,0 +1,66 @@
+# $Revision$, $Date$
+Summary:	Displays a cute cow and message on your desktop
+Name:		xcowsay
+Version:	1.2
+Release:	1
+License:	GPL v3+
+Group:		Applications/Games
+URL:		http://www.doof.me.uk/xcowsay
+Source0:	http://www.nickg.me.uk/files/%{name}-%{version}.tar.gz
+# Source0-md5:	a0f8e511a5c07d9e48057ad8100fa42b
+Source1:	xcowfortune.desktop
+BuildRequires:	dbus-glib-devel
+BuildRequires:	gettext
+BuildRequires:	gtk+2-devel
+Requires:	fortune-mod
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+xcowsay displays a cute cow and message on your desktop. The message
+can be text or images (with xcowdream) xcowsay can run in daemon mode
+for sending your cow message with DBus. Inspired by the original
+cowsay.
+
+%prep
+%setup -q
+iconv -f iso-8859-1 -t utf-8 NEWS -o NEWS
+
+%build
+%configure \
+	--enable-dbus
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	INSTALL="install -p" \
+	DESTDIR=$RPM_BUILD_ROOT
+
+# xcowfortune is the only .desktop file because the other program
+#(xcowsay, xcowthink and xcowdream) need an argument
+cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc NEWS README AUTHORS ChangeLog
+%attr(755,root,root) %{_bindir}/xcowdream
+%attr(755,root,root) %{_bindir}/xcowfortune
+%attr(755,root,root) %{_bindir}/xcowsay
+%attr(755,root,root) %{_bindir}/xcowthink
+%{_mandir}/man6/xcowsay.6*
+%{_datadir}/xcowsay
+%{_desktopdir}/xcowfortune.desktop
+
+%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  2010/10/22 08:57:02  glen
+- new, based on fc git package
================================================================


More information about the pld-cvs-commit mailing list