Name: xcowsay Version: 1.4 Release: 2%{?dist} Summary: Displays a cute cow and message on your desktop Group: Amusements/Games License: GPLv3+ URL: http://www.doof.me.uk/xcowsay Source0: http://www.nickg.me.uk/files/%{name}-%{version}.tar.gz Source1: xcowfortune.desktop #Patch23: xcowsay-aarch64.patch BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: gtk2-devel BuildRequires: gettext BuildRequires: dbus-glib-devel BuildRequires: desktop-file-utils Requires: fortune-mod %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 #%patch23 -p1 -b .aarch64 iconv -f iso-8859-1 -t utf-8 NEWS -o NEWS %build %configure --enable-dbus make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" %find_lang %{name} desktop-file-install --vendor="" \ --dir=%{buildroot}%{_datadir}/applications/ \ %{SOURCE1} # xcowfortune is the only .desktop file because the other program #(xcowsay, xcowthink and xcowdream) need an argument %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %doc NEWS README COPYING AUTHORS ChangeLog %{_bindir}/xcowdream %{_bindir}/xcowfortune %{_bindir}/xcowsay %{_bindir}/xcowthink %{_datadir}/man/man6/xcowsay.6.gz %{_datadir}/xcowsay/ %{_datadir}/applications/xcowfortune.desktop %changelog * Sat Feb 11 2017 Fedora Release Engineering - 1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Oct 04 2016 Jon Ciesla - 1.4-1 - 1.4, aarch64 patch no longer needed. * Mon May 16 2016 Hans Ulrich Niedermann - 1.3-12 - remove useless %%defattr for clarity * Fri Feb 05 2016 Fedora Release Engineering - 1.3-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jun 19 2015 Fedora Release Engineering - 1.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Aug 18 2014 Fedora Release Engineering - 1.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 1.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Nov 16 2013 Hans Ulrich Niedermann - 1.3-7 - Fix aarch64 build (#926757) * Sun Aug 04 2013 Fedora Release Engineering - 1.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Feb 15 2013 Fedora Release Engineering - 1.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sun Jul 22 2012 Fedora Release Engineering - 1.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jan 14 2012 Fedora Release Engineering - 1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Thu Nov 10 2011 Jon Ciesla - 1.3-2 - Rebuild for libpng 1.5. * Wed Jun 22 2011 Jon Ciesla - 1.3-1 - New upstream. * Mon Feb 07 2011 Fedora Release Engineering - 1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Jul 14 2010 Fabien Georget - 1.2-1 - Update to 1.2 * Mon Jul 27 2009 Fedora Release Engineering - 1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Apr 28 2009 Fabien Georget 1.1-1 - change license to GPLv3+ - add /usr/share/xcowsay/ in files - add dbus-glib-devel in BR for daemon mode of xcowsay - add fortune-mod in Requires for xcowfortune - add xcowfortune.desktop * Mon Mar 30 2009 Fabien Georget 1.1-0.1 - Creation