1 %include /usr/lib/rpm/macros.perl
2 Summary: A curses-based tty Jabber, IRC, AIM and Zephyr client
6 # Perl libraries LGPL v2.1
7 License: BSD, LGPL v2.1
8 Group: Applications/Communications
9 Source0: http://barnowl.mit.edu/dist/%{name}-%{version}-src.tgz
10 # Source0-md5: ef8d2a71fc8d63ec2f9f4512a22c516b
11 URL: http://barnowl.mit.edu/
12 BuildRequires: autoconf
13 BuildRequires: glib2-devel
14 BuildRequires: openssl-devel
15 BuildRequires: perl-AnyEvent
16 BuildRequires: perl-Class-Accessor
17 BuildRequires: perl-Glib-devel
18 BuildRequires: perl-devel
19 BuildRequires: pkg-config
20 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 BarnOwl is a fully integrated tty‐based instant messaging client.
26 Currently it supports AOL Instant Messenger, MIT Zephyr, Jabber, IRC,
27 and Twitter. It is curses‐based, allows for emacs‐style editing of
28 outgoing messages, and uses Perl as an extension and configuration
29 language. BarnOwl will also run happily without a configuration file.
32 %setup -q -n %{name}-%{version}-src
39 rm -rf $RPM_BUILD_ROOT
41 DESTDIR=$RPM_BUILD_ROOT
43 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
50 %doc AUTHORS COPYING README ChangeLog doc/*.txt examples
51 %attr(755,root,root) %{_bindir}/barnowl
52 %attr(755,root,root) %{_bindir}/zcrypt
54 %{_mandir}/man1/barnowl.1*