]>
Commit | Line | Data |
---|---|---|
60732b25 ER |
1 | Summary: Displays a cute cow and message on your desktop |
2 | Name: xcowsay | |
72010ee9 | 3 | Version: 1.3 |
a361fcca | 4 | Release: 3 |
60732b25 ER |
5 | License: GPL v3+ |
6 | Group: Applications/Games | |
7 | URL: http://www.doof.me.uk/xcowsay | |
8 | Source0: http://www.nickg.me.uk/files/%{name}-%{version}.tar.gz | |
72010ee9 | 9 | # Source0-md5: 1df62b31e6bc57fbeb386da4539bb21d |
60732b25 | 10 | Source1: xcowfortune.desktop |
a361fcca | 11 | Source2: xcowsay.png |
60732b25 | 12 | BuildRequires: dbus-glib-devel |
848743cb | 13 | BuildRequires: gettext-tools |
60732b25 | 14 | BuildRequires: gtk+2-devel |
69ce7dac | 15 | BuildRequires: pkgconfig |
5554cd4e ER |
16 | Suggests: fortune-mod |
17 | Suggests: fortune-mod-data | |
60732b25 ER |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
21 | xcowsay displays a cute cow and message on your desktop. The message | |
22 | can be text or images (with xcowdream) xcowsay can run in daemon mode | |
23 | for sending your cow message with DBus. Inspired by the original | |
24 | cowsay. | |
25 | ||
26 | %prep | |
27 | %setup -q | |
28 | iconv -f iso-8859-1 -t utf-8 NEWS -o NEWS | |
29 | ||
30 | %build | |
31 | %configure \ | |
32 | --enable-dbus | |
33 | %{__make} | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | %{__make} install \ | |
38 | INSTALL="install -p" \ | |
39 | DESTDIR=$RPM_BUILD_ROOT | |
40 | ||
41 | # xcowfortune is the only .desktop file because the other program | |
42 | #(xcowsay, xcowthink and xcowdream) need an argument | |
a361fcca ER |
43 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
44 | cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} | |
45 | cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} | |
60732b25 ER |
46 | |
47 | %find_lang %{name} | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files -f %{name}.lang | |
53 | %defattr(644,root,root,755) | |
54 | %doc NEWS README AUTHORS ChangeLog | |
55 | %attr(755,root,root) %{_bindir}/xcowdream | |
56 | %attr(755,root,root) %{_bindir}/xcowfortune | |
57 | %attr(755,root,root) %{_bindir}/xcowsay | |
58 | %attr(755,root,root) %{_bindir}/xcowthink | |
59 | %{_mandir}/man6/xcowsay.6* | |
60 | %{_datadir}/xcowsay | |
61 | %{_desktopdir}/xcowfortune.desktop | |
a361fcca | 62 | %{_pixmapsdir}/xcowsay.png |