]> git.pld-linux.org Git - packages/xcowsay.git/blob - xcowsay.spec
- updated gettext BR
[packages/xcowsay.git] / xcowsay.spec
1 Summary:        Displays a cute cow and message on your desktop
2 Name:           xcowsay
3 Version:        1.3
4 Release:        3
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
9 # Source0-md5:  1df62b31e6bc57fbeb386da4539bb21d
10 Source1:        xcowfortune.desktop
11 Source2:        xcowsay.png
12 BuildRequires:  dbus-glib-devel
13 BuildRequires:  gettext-tools
14 BuildRequires:  gtk+2-devel
15 BuildRequires:  pkgconfig
16 Suggests:       fortune-mod
17 Suggests:       fortune-mod-data
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
43 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
44 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
45 cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
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
62 %{_pixmapsdir}/xcowsay.png
This page took 0.055138 seconds and 3 git commands to generate.