SPECS: weechat.spec - up to 0.2.6
arekm
arekm at pld-linux.org
Fri Mar 14 23:09:42 CET 2008
Author: arekm Date: Fri Mar 14 22:09:42 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 0.2.6
---- Files affected:
SPECS:
weechat.spec (1.10 -> 1.11)
---- Diffs:
================================================================
Index: SPECS/weechat.spec
diff -u SPECS/weechat.spec:1.10 SPECS/weechat.spec:1.11
--- SPECS/weechat.spec:1.10 Thu May 17 22:40:44 2007
+++ SPECS/weechat.spec Fri Mar 14 23:09:37 2008
@@ -2,7 +2,6 @@
#
# TODO:
# - consider doing subpackages for all those plugins (which one should be in main package ?)
-# - maybe some other BRs ?
#
# Conditional build:
%bcond_without aspell # don't build aspell support
@@ -16,15 +15,19 @@
Summary: WeeChat - fast and light chat environment
Summary(pl.UTF-8): WeeChat - szybkie i lekkie środowisko do rozmów
Name: weechat
-Version: 0.2.3
-Release: 0.3
-License: GPL
+Version: 0.2.6
+Release: 1
+License: GPL v3+
Group: X11/Applications
Source0: http://weechat.flashtux.org/download/%{name}-%{version}.tar.bz2
-# Source0-md5: 12c39b30988d78e9544acda6e518476f
+# Source0-md5: ccdecf663b0050a23049acb4b9a76193
+Patch0: %{name}-ac.patch
URL: http://weechat.flashtux.org/
%{?with_aspell:BuildRequires: aspell-devel}
-%{?with_lgnutls:BuildRequires: gnutls-devel}
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: docbook-style-xsl
+%{?with_gnutls:BuildRequires: gnutls-devel}
%{?with_lua:BuildRequires: lua-devel}
BuildRequires: ncurses-devel
%{?with_perl:BuildRequires: perl-devel}
@@ -47,12 +50,17 @@
%prep
%setup -q
+%patch0 -p1
+sed -i -e 's#PYTHON_LIB=.*#PYTHON_LIB=%{_libdir}#g' configure.in
%build
+%{__aclocal}
+%{__autoconf}
%configure \
%if "%{_lib}" == "lib64"
--enable-libsuffix=64 \
%endif
+ --with-doc-xsl-prefix=%{_datadir}/sgml/docbook/xsl-stylesheets \
--%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
--disable-static \
--enable-plugins \
@@ -73,6 +81,9 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+rm -rf html-doc
+mv $RPM_BUILD_ROOT%{_datadir}/doc/weechat html-doc
+
rm -f $RPM_BUILD_ROOT%{_libdir}/weechat/plugins/*.la
%find_lang %{name}
@@ -83,9 +94,16 @@
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS BUGS FAQ NEWS README TODO
+%doc html-doc/*
%attr(755,root,root) %{_bindir}/*
+%dir %{_libdir}/weechat
%dir %{_libdir}/weechat/plugins
-%attr(755,root,root) %{_libdir}/weechat/plugins/*.so*
+%attr(755,root,root) %{_libdir}/weechat/plugins/aspell.so*
+%attr(755,root,root) %{_libdir}/weechat/plugins/charset.so*
+%attr(755,root,root) %{_libdir}/weechat/plugins/lua.so*
+%attr(755,root,root) %{_libdir}/weechat/plugins/perl.so*
+%attr(755,root,root) %{_libdir}/weechat/plugins/python.so*
+%attr(755,root,root) %{_libdir}/weechat/plugins/ruby.so*
%{_mandir}/man1/*.1*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -94,7 +112,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
-Revision 1.10 2007-05-17 20:40:44 qboosh
+Revision 1.11 2008-03-14 22:09:37 arekm
+- up to 0.2.6
+
+Revision 1.10 2007/05/17 20:40:44 qboosh
- removed INSTALL from doc (nothing useful after build)
- plugin files cleanup
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/weechat.spec?r1=1.10&r2=1.11&f=u
More information about the pld-cvs-commit
mailing list