Author: arekm                        Date: Fri Mar 14 22:26:43 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- gtk UI added; qt gui doesn't exist

---- Files affected:
SPECS:
   weechat.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/weechat.spec
diff -u SPECS/weechat.spec:1.11 SPECS/weechat.spec:1.12
--- SPECS/weechat.spec:1.11     Fri Mar 14 23:09:37 2008
+++ SPECS/weechat.spec  Fri Mar 14 23:26:37 2008
@@ -5,7 +5,8 @@
 #
 # Conditional build:
 %bcond_without aspell  # don't build aspell support
-%bcond_without qt      # don't build qt support
+%bcond_without gtk     # build gtk support
+%bcond_with    qt      # don't build qt support
 %bcond_without ruby    # don't build ruby plugin support
 %bcond_without lua     # don't build lua plugin support
 %bcond_without perl    # don't build perl plugin support
@@ -28,6 +29,7 @@
 BuildRequires: automake
 BuildRequires: docbook-style-xsl
 %{?with_gnutls:BuildRequires:  gnutls-devel}
+%{?with_gtk:BuildRequires:     gtk+2-devel}
 %{?with_lua:BuildRequires:     lua-devel}
 BuildRequires: ncurses-devel
 %{?with_perl:BuildRequires:    perl-devel}
@@ -35,6 +37,7 @@
 %{?with_qt:BuildRequires:      qt-devel}
 BuildRequires: rpmbuild(macros) >= 1.129
 %{?with_ruby:BuildRequires:    ruby-devel}
+Requires:      %{name}-common = %{version}-%{release}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -48,6 +51,21 @@
 zrobić przy pomocy klawiatury. Jest konfigurowalne i rozszerzalne za
 pomocą skryptów.
 
+%package gtk
+Summary:       GTK WeeChat UI
+Group:         X11/Applications
+Requires:      %{name}-common = %{version}-%{release}
+
+%description gtk
+GTK WeeChat UI.
+
+%package common
+Summary:       WeeChat common files
+Group:         X11/Applications
+
+%description common
+WeeChat common files.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -60,6 +78,7 @@
 %if "%{_lib}" == "lib64"
        --enable-libsuffix=64 \
 %endif
+       --enable-threads=posix \
        --with-doc-xsl-prefix=%{_datadir}/sgml/docbook/xsl-stylesheets \
        --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
        --disable-static \
@@ -68,6 +87,7 @@
        --%{?with_qt:en}%{!?with_qt:dis}able-qt \
        --enable-ncurses \
        --%{?with_aspell:en}%{!?with_aspell:dis}able-aspell \
+       --%{?with_gtk:en}%{!?with_gtk:dis}able-gtk \
        --%{?with_perl:en}%{!?with_perl:dis}able-perl \
        --%{?with_python:en}%{!?with_python:dis}able-python \
        --%{?with_ruby:en}%{!?with_ruby:dis}able-ruby \
@@ -91,11 +111,19 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files -f %{name}.lang
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/weechat-curses
+%{_mandir}/man1/weechat-curses.1*
+
+%files gtk
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/weechat-gtk
+
+%files common -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/aspell.so*
@@ -104,7 +132,6 @@
 %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"`)
 %changelog
@@ -112,6 +139,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2008-03-14 22:26:37  arekm
+- gtk UI added; qt gui doesn't exist
+
 Revision 1.11  2008-03-14 22:09:37  arekm
 - up to 0.2.6
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/weechat.spec?r1=1.11&r2=1.12&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to