]> git.pld-linux.org Git - packages/xcowsay.git/blame - xcowsay.spec
- updated gettext BR
[packages/xcowsay.git] / xcowsay.spec
CommitLineData
60732b25
ER
1Summary: Displays a cute cow and message on your desktop
2Name: xcowsay
72010ee9 3Version: 1.3
a361fcca 4Release: 3
60732b25
ER
5License: GPL v3+
6Group: Applications/Games
7URL: http://www.doof.me.uk/xcowsay
8Source0: http://www.nickg.me.uk/files/%{name}-%{version}.tar.gz
72010ee9 9# Source0-md5: 1df62b31e6bc57fbeb386da4539bb21d
60732b25 10Source1: xcowfortune.desktop
a361fcca 11Source2: xcowsay.png
60732b25 12BuildRequires: dbus-glib-devel
848743cb 13BuildRequires: gettext-tools
60732b25 14BuildRequires: gtk+2-devel
69ce7dac 15BuildRequires: pkgconfig
5554cd4e
ER
16Suggests: fortune-mod
17Suggests: fortune-mod-data
60732b25
ER
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21xcowsay displays a cute cow and message on your desktop. The message
22can be text or images (with xcowdream) xcowsay can run in daemon mode
23for sending your cow message with DBus. Inspired by the original
24cowsay.
25
26%prep
27%setup -q
28iconv -f iso-8859-1 -t utf-8 NEWS -o NEWS
29
30%build
31%configure \
32 --enable-dbus
33%{__make}
34
35%install
36rm -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
43install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
44cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
45cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
60732b25
ER
46
47%find_lang %{name}
48
49%clean
50rm -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
This page took 0.046436 seconds and 4 git commands to generate.