Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > 719a5ac61de12aab84b215e2bd6bfb60 > files > 2

drakcowsay-0.6-2mdk.src.rpm

Name: drakcowsay
Version: 0.6
Release: 2mdk
Summary: Graphical interface for cowsay
Source0: %{name}-%{version}.tar.bz2
License: GPL
Group: Toys
URL: http://peoples.mandrakesoft.com/~blino/drakcowsay/
Requires: drakxtools cowsay
BuildRequires: xchat-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
%{name} is a graphical interface for cowsay.
Its target audience is those not yet familiar with the tough command line,
thus making cowsay rendering as easy as if you were a true l33t.

This package also includes drakcowthink, a graphical interface to cowthink.

%package -n xchat-%{name}
Group: System/Libraries
Summary: xchat plugin for %{name}
Requires: xchat

%description -n xchat-%{name}
xchat-%{name} is a plugin for xchat to cowsay in your current IRC window.

%package -n irssi-%{name}
Group: System/Libraries
Summary: irssi plugin for %{name}
Requires: irssi

%description -n irssi-%{name}
irssi-%{name} is a plugin for irssi to cowsay in your current IRC window.

%prep
%setup -q

%build
gcc -Wl,--export-dynamic -Wall -O1 -shared -fPIC -I. xchat-%{name}.c -o xchat-%{name}.so

%install
rm -rf %{buildroot}
install -m755 -D %{name} %{buildroot}%{_bindir}/%{name}
ln -s %{name} %{buildroot}%{_bindir}/drakcowthink
install -m755 -D xchat-%{name}.so %{buildroot}%{_libdir}/xchat/plugins/xchat-%{name}.so
install -m755 -D irssi-%{name}.pl %{buildroot}%{_datadir}/irssi/scripts/irssi-%{name}.pl

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%{_bindir}/%{name}
%{_bindir}/drakcowthink

%files -n xchat-%{name}
%defattr(-,root,root)
%{_libdir}/xchat/plugins/xchat-%{name}.so

%files -n irssi-%{name}
%defattr(-,root,root)
%{_datadir}/irssi/scripts/irssi-%{name}.pl

%changelog
* Wed Jun  1 2005 Claudio Matsuoka <claudio@mandriva.com> 0.6-2mdk
- added missing drakcowthink symlink
- fixed buildrequires to xchat-devel
- minor specfile cleanup

* Wed Oct 27 2004 Olivier Blin <blino@mandrake.org> 0.6-1mdk
- new release 0.6 :
  o parental advisory option (obscene cows are hidden by default)
  o read from stdin with '-' option

* Fri Aug 13 2004 Olivier Blin <blino@mandrake.org> 0.5-1mdk
- new release 0.5 :
  o remove ads in irc plugins
  o read initial input from command line or stdin

* Tue Jul 27 2004 Olivier Blin <blino@mandrake.org> 0.4-1mdk
- new release 0.4 (l33t edition):
  o irssi plugin

* Tue Jul 27 2004 Olivier Blin <blino@mandrake.org> 0.3-1mdk
- new release 0.3 (irc edition):
  o send to irc button
  o xchat plugin
  o word-wrap can be toggled
- redde rafaela quae sunt rafaela (fix changelog)

* Tue Jul 20 2004 Olivier Blin <blino@mandrake.org> 0.2-1mdk
- new release 0.2:
  o use scrollbars and resize TextViews
  o sort cows, quit button (rafael)
  o quit button (rafael)
  o misc fixes (rafael)
- requires cowsay (anne)

* Mon Jul 19 2004 Olivier Blin <blino@mandrake.org> 0.1-1mdk
- initial Mandrakelinux release