--- mcabber.spec	2011-08-31 18:33:29.000000000 +0000
+++ mcabber_u.spec	2011-12-16 10:20:47.000000000 +0000
@@ -2,12 +2,12 @@
 Summary:	mcabber - small console Jabber client
 Summary(pl.UTF-8):	mcabber - mały konsolowy klient protokołu Jabber
 Name:		mcabber
-Version:	0.9.10
-Release:	3
+Version:	0.10.1
+Release:	1
 License:	GPL
 Group:		Applications/Console
 Source0:	http://www.lilotux.net/%7emikael/mcabber/files/%{name}-%{version}.tar.bz2
-# Source0-md5:	887415d16c32af58eab2ec2d9bb17fa6
+# Source0-md5:	fe96beab30f535d5d6270fd1719659b4
 URL:		http://www.lilotux.net/~mikael/mcabber/
 BuildRequires:	autoconf >= 2.59
 BuildRequires:	automake
@@ -15,6 +15,7 @@
 BuildRequires:	gpgme-devel
 BuildRequires:	libotr-devel
 BuildRequires:	libtool
+BuildRequires:	loudmouth-devel
 BuildRequires:	ncurses-ext-devel
 BuildRequires:	openssl-devel
 BuildRequires:	pkgconfig
@@ -31,6 +32,17 @@
 dopełnianie poleceń i wywoływanie zewnętrznych pleceń przy
 zdarzeniach.
 
+%package devel
+Summary:	Header files for mcabber library
+Summary(pl.UTF-8):	pliki naglowkowe dla biblioteki mcabber
+Group:		Development/Libriaries
+
+%description devel
+Header files for mcabber library
+
+%description devel -l pl.UTF-8
+Pliki naglowkowe dla biblioteki mcabber.
+
 %prep
 %setup -q
 
@@ -60,6 +72,14 @@
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*
 %{_datadir}/%{name}
+%dir %{_libdir}/%{name}
+%attr(755,root,root) %{_libdir}/%{name}/libbeep.so
+%attr(755,root,root) %{_libdir}/%{name}/libxttitle.so
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/mcabber
+%{_pkgconfigdir}/mcabber.pc
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
