packages: bitlbee/bitlbee.spec - enable skype protocol plugin
glen
glen at pld-linux.org
Sun Apr 15 00:21:00 CEST 2012
Author: glen Date: Sat Apr 14 22:21:00 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- enable skype protocol plugin
---- Files affected:
packages/bitlbee:
bitlbee.spec (1.10 -> 1.11)
---- Diffs:
================================================================
Index: packages/bitlbee/bitlbee.spec
diff -u packages/bitlbee/bitlbee.spec:1.10 packages/bitlbee/bitlbee.spec:1.11
--- packages/bitlbee/bitlbee.spec:1.10 Sat Apr 14 23:47:03 2012
+++ packages/bitlbee/bitlbee.spec Sun Apr 15 00:20:55 2012
@@ -10,12 +10,13 @@
Summary(pl.UTF-8): Bramka pomiędzy IRC-em i innymi sieciami komunikacyjnymi
Name: bitlbee
Version: 3.0.5
-Release: 0.2
+Release: 0.6
License: GPL v2+ and MIT
Group: Daemons
Source0: http://get.bitlbee.org/src/%{name}-%{version}.tar.gz
# Source0-md5: 9ff97260a2a7f3a7d102db158a8d9887
URL: http://www.bitlbee.org/
+BuildRequires: asciidoc
BuildRequires: gnutls-devel
%{?with_otr:BuildRequires: libotr-devel >= 3.2.0}
BuildRequires: systemd-units
@@ -51,12 +52,27 @@
The bitlbee-otr package includes OTR plugin for bitlbee. Not
completely stable and not 100% foolproof so use at your own risk.
+%package protocol-skype
+Summary: Skype protocol support for bitlbee
+Group: Daemons
+Requires: %{name} = %{version}-%{release}
+Requires: python-skype
+
+%description protocol-skype
+Skype protocol support for bitlbee.
+
%prep
%setup -q
# fix wrong assumption with $DESTDIR
%{__sed} -i -e 's,$(shell id -u),0,' Makefile
+# fix #!%{_bindir}/env python -> #!%{__python}:
+%{__sed} -i -e '1s,^#!.*python.*,#!%{__python},' protocols/skype/*.py
+
+# fix config path
+%{__sed} -i -e 's,/usr/local/etc/skyped,%{_sysconfdir}/skyped,' protocols/skype/*.py
+
%build
CFLAGS="%{rpmcflags}" \
./configure \
@@ -74,12 +90,10 @@
%if %{with otr}
--otr=plugin \
%endif
+ --skype=plugin \
%{__make}
-### FIXME: Documentation needs old sgmltools tool, deprecated.
-#%{__make} -C doc
-
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_localstatedir}/lib/%{name}
@@ -99,6 +113,7 @@
%{_mandir}/man5/bitlbee.conf.5*
%{_mandir}/man8/bitlbee.8*
%{_datadir}/bitlbee
+%dir %{_libdir}/%{name}
%attr(700,root,root) %{_localstatedir}/lib/bitlbee
%{systemdunitdir}/bitlbee.service
%{systemdunitdir}/bitlbee.socket
@@ -116,12 +131,25 @@
%attr(755,root,root) %{_libdir}/%{name}/otr.so
%endif
+%files protocol-skype
+%defattr(644,root,root,755)
+%doc protocols/skype/{HACKING,NEWS,README,skyped.txt}
+%dir %{_sysconfdir}/skyped
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/skyped/skyped.cnf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/skyped/skyped.conf
+%attr(755,root,root) %{_libdir}/%{name}/skype.so
+%attr(755,root,root) %{_sbindir}/skyped
+%{_mandir}/man1/skyped.1*
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.11 2012/04/14 22:20:55 glen
+- enable skype protocol plugin
+
Revision 1.10 2012/04/14 21:47:03 glen
- missing dir
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/bitlbee/bitlbee.spec?r1=1.10&r2=1.11
More information about the pld-cvs-commit
mailing list