File climm.spec of Package climm
# norootforbuild
Name: climm
Version: 0.7.1
Release: 0
Summary: Console-Based ICQ Client
# http://www.climm.org/source/climm-%{version}.tgz
Source: climm-%{version}.tar.bz2
Source1: climm.desktop
Patch1: climm-fix_missing_return.patch
URL: http://www.climm.org/
Group: Productivity/Networking/Other
License: GNU General Public License version 2 (GPL v2)
BuildRoot: %{_tmppath}/build-%{name}-%{version}
BuildRequires: make gcc glibc-devel gcc-c++ libstdc++-devel pkgconfig
BuildRequires: tcl tcl-devel
BuildRequires: gnutls-devel
BuildRequires: libotr-devel libotr
BuildRequires: autoconf automake libtool
%if 0%{?suse_version} > 0
BuildRequires: update-desktop-files
%endif
BuildRequires: zlib-devel libidn-devel
BuildRequires: iksemel-devel
Obsoletes: micq < %{version}
Provides: micq = %{version}-%{release}
%description
Climm is a portable, small, and powerful console based ICQ client formerly
known as "micq".
It supports password changing, auto-away, creation of new accounts, searching,
file transfer, acknowledged messages, SMS, client identification, logging,
scripting, transcoding, multi-UIN usage, and other features that make it a
very complete and simple internationalized client that supports the current
ICQ v8 protocol as well as XMPP/Jabber.
It has leading support for (ICQ2002+/ICQ Lite/ICQ2go) Unicode encoded messages
unreached by other ICQ clones.
Authors:
--------
RĂ¼diger Kuhlmann <info@ruediger-kuhlmann.de>
%debug_package
%prep
%setup -q
%patch1
%build
%configure \
--enable-ssl=gnutls \
--enable-tcl \
--enable-xmpp \
--enable-peer2peer \
--enable-largefile \
--enable-remote \
--disable-autopackage
%__make %{?jobs:-j%{jobs}}
%install
%makeinstall
%__install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/climm.desktop"
%__install -D -m 0644 doc/climm@48x48.png "%{buildroot}%{_datadir}/pixmaps/climm.png"
%if 0%{?suse_version} > 0
%suse_update_desktop_file -r "%{name}" Network InstantMessaging
%endif
echo -n > "%{name}.lang"
LANGFILE="${PWD}/%{name}.lang"
pushd "%{buildroot}%{_datadir}/climm"
find . -name '[a-z]*.i18n' | while read x; do
file=${x#./}
lang=${file%%.i18n}
echo "%lang(${lang}) %{_datadir}/climm/${file}" >> "${LANGFILE}"
done
popd
%__ln_s climm "%{buildroot}%{_bindir}/micq"
%clean
%__rm -rf "%{buildroot}"
%files -f "%{name}.lang"
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING* FAQ NEWS README TODO
%doc contrib doc/icq091.txt doc/icqv7.txt doc/README*
%doc doc/climm@16x16.png
%doc doc/example-climm-event-script
%{_bindir}/climm
%{_bindir}/micq
%doc %dir %{_mandir}/??
%doc %dir %{_mandir}/*/man1
%doc %dir %{_mandir}/*/man5
%doc %dir %{_mandir}/*/man7
%doc %{_mandir}/man1/climm.1*
%doc %{_mandir}/man5/climmrc.5*
%doc %{_mandir}/man7/climmcmds.7*
%doc %{_mandir}/*/man1/climm.1*
%doc %{_mandir}/*/man5/climmrc.5*
%doc %{_mandir}/*/man7/climmcmds.7*
%dir %{_datadir}/climm
%{_datadir}/climm/C.i18n
%{_datadir}/applications/climm.desktop
%{_datadir}/pixmaps/climm.png
%changelog
# Local Variables:
# vim: set sw=3 ts=3 noet:
# mode: rpm-spec
# tab-width: 3
# End: