Pascal Bleser 2009-09-14 14:00:40 +00:00 committed by Git OBS Bridge
parent 6f5061ac1c
commit 92076e7e11
4 changed files with 111 additions and 29 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ac21810115ed3b0d63001747f800d478a97d0a3760f34b7d6280aa19abf838cd
size 1110344

3
weechat-0.3.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0064c647bd057a9e347deeb1a1ee397d23c0b52f42baf218c6313508bb3943d4
size 1333413

View File

@ -0,0 +1,38 @@
--- configure.in.orig 2009-09-14 12:53:44.000000000 +0200
+++ configure.in 2009-09-14 12:54:45.000000000 +0200
@@ -870,16 +870,6 @@
AC_MSG_RESULT(no)
fi
-CFLAGS=`echo $CFLAGS | sed 's/ -g //g'`
-CFLAGS=`echo $CFLAGS | sed 's/^-g //g'`
-CFLAGS=`echo $CFLAGS | sed 's/ -g$//g'`
-CFLAGS=`echo $CFLAGS | sed 's/^-g$//g'`
-if test "x$debug" = "x0" ; then
- CFLAGS="$COMMON_CFLAGS $CFLAGS"
-else
- CFLAGS="$COMMON_CFLAGS $CFLAGS -g -O0"
-fi
-
LIBS="$LIBS $INTLLIBS"
case "$host_os" in
--- configure.orig 2009-09-14 12:54:48.000000000 +0200
+++ configure 2009-09-14 12:55:12.000000000 +0200
@@ -18353,16 +18353,6 @@
$as_echo "no" >&6; }
fi
-CFLAGS=`echo $CFLAGS | sed 's/ -g //g'`
-CFLAGS=`echo $CFLAGS | sed 's/^-g //g'`
-CFLAGS=`echo $CFLAGS | sed 's/ -g$//g'`
-CFLAGS=`echo $CFLAGS | sed 's/^-g$//g'`
-if test "x$debug" = "x0" ; then
- CFLAGS="$COMMON_CFLAGS $CFLAGS"
-else
- CFLAGS="$COMMON_CFLAGS $CFLAGS -g -O0"
-fi
-
LIBS="$LIBS $INTLLIBS"
case "$host_os" in

View File

@ -5,18 +5,19 @@
%define with_lua 1
%endif
Name: weechat
Version: 0.2.6.3
Release: 0
Summary: Portable, Fast, Light and Extensible IRC Client
Name: weechat
Version: 0.3.0
Release: 0
Summary: Portable, Fast, Light and Extensible IRC Client
Source: http://weechat.flashtux.org/download/weechat-%{version}.tar.bz2
Source1: weechat.desktop
Source1: weechat.desktop
Patch1: weechat-fix-strftime.patch
URL: http://weechat.flashtux.org/
Patch2: weechat-disable_messing_with_cflags.patch
URL: http://weechat.flashtux.org/
Group: Productivity/Networking/IRC
License: GNU General Public License (GPL)
License: GNU General Public License (GPL)
BuildRoot: %{_tmppath}/build-%{name}-%{version}
BuildRequires: ncurses ncurses-devel perl python python-devel
BuildRequires: ncurses ncurses-devel perl python python-devel cmake
BuildRequires: ruby gcc gnutls gnutls-devel glibc-devel aspell aspell-devel
BuildRequires: libstdc++-devel
%if %{?with_lua:1}0
@ -38,6 +39,14 @@ for many operating systems. Everything can be done with a keyboard, and it
is customizable and extensible with scripts. Many GUIs are available (Curses,
GTK, and Qt). It is compliant with RFCs 1459, 2810, 2811, 2812, and 2813.
%package devel
Summary: Development Environment for %{name} Plugins
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}-%{release}
%description devel
Development environment for authoring %{name} plugins.
%if %{?with_lua:1}0
%package lua
Summary: Lua Scripting Support for %{name}
@ -64,6 +73,14 @@ Requires: %{name} = %{version}-%{release}
%description python
Python scripting plugin for %{name}
%package tcl
Summary: TCL Scripting Support for %{name}
Group: Productivity/Networking/IRC
Requires: %{name} = %{version}-%{release}
%description tcl
TCL scripting plugin for %{name}
%package ruby
Summary: Ruby Scripting Support for %{name}
Group: Productivity/Networking/IRC
@ -83,25 +100,30 @@ Spell-checking support for %{name}, using aspell.
%prep
%setup -q
%patch1
%patch2
%if "%{_lib}"!="lib"
%__grep -rl 'INSTALL(.* lib/' . \
| xargs %__sed -i.orig -r 's|^(INSTALL\(.* )lib(/.*)$|\1%{_lib}\2|'
%__grep -rl 'DESTINATION .*CMAKE_INSTALL_PREFIX.*/lib/' . \
| xargs %__sed -i.orig -r 's|^(.*DESTINATION .*CMAKE_INSTALL_PREFIX.*/)lib(/.*)|\1%{_lib}\2|'
%endif
%build
# don't, breaks build:
# autoreconf -fiv
%configure \
--disable-wxwidgets \
--disable-gtk \
--disable-qt
%__mkdir build
pushd build
cmake -DCMAKE_INSTALL_PREFIX="%{_prefix}" VERBOSE=1 ..
%__make %{?jobs:-j%{jobs}}
popd #build
%install
pushd build
%makeinstall
%__rm "%{buildroot}%{_libdir}/weechat/plugins"/*.{a,la}
popd #build
%__install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop"
%__install -D -m 0644 weechat_icon_32.png "%{buildroot}%{_datadir}/pixmaps/%{name}.png"
%if 0%{?suse_version:1}
%if 0%{?suse_version}
%suse_update_desktop_file -r "%{name}" Network IRCClient
%endif
@ -112,44 +134,66 @@ Spell-checking support for %{name}, using aspell.
%files -f "%{name}.lang"
%defattr(-,root,root)
%doc AUTHORS BUGS ChangeLog COPYING FAQ* NEWS README TODO
%doc AUTHORS ChangeLog COPYING NEWS README
%{_bindir}/weechat-curses
%dir %{_libdir}/weechat
%dir %{_libdir}/weechat/plugins
%{_libdir}/weechat/plugins/charset.so*
%doc %{_datadir}/doc/weechat
%{_libdir}/weechat/plugins/alias.so
%{_libdir}/weechat/plugins/charset.so
%{_libdir}/weechat/plugins/fifo.so
%{_libdir}/weechat/plugins/irc.so
%{_libdir}/weechat/plugins/logger.so
%{_libdir}/weechat/plugins/xfer.so
%doc %{_mandir}/man1/weechat-curses.1*
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%files devel
%defattr(-,root,root)
%{_includedir}/weechat
%{_libdir}/pkgconfig/weechat.pc
%if %{?with_lua:1}0
%files lua
%defattr(-,root,root)
%{_libdir}/weechat/plugins/lua.so
%{_libdir}/weechat/plugins/lua.so.*
%endif
%files perl
%defattr(-,root,root)
%{_libdir}/weechat/plugins/perl.so
%{_libdir}/weechat/plugins/perl.so.*
%files python
%defattr(-,root,root)
%{_libdir}/weechat/plugins/python.so
%{_libdir}/weechat/plugins/python.so.*
%files tcl
%defattr(-,root,root)
%{_libdir}/weechat/plugins/tcl.so
%files ruby
%defattr(-,root,root)
%{_libdir}/weechat/plugins/ruby.so
%{_libdir}/weechat/plugins/ruby.so.*
%files aspell
%defattr(-,root,root)
%{_libdir}/weechat/plugins/aspell.so
%{_libdir}/weechat/plugins/aspell.so.*
%changelog
* Mon Sep 14 2009 Pascal Bleser <pascal.bleser@opensuse.org> 0.3.0
- update to 0.3.0:
* externalization of IRC as a plugin
* new display engine (faster)
* NES plugins
* new plugin API
* buffers with free content
* dynamic filtering
* smart join/part/quit filter
* custom bars with custom items
* buffer merging
* group support in nicklist
* less CPU usage
* Sat Jun 13 2009 Pascal Bleser <pascal.bleser@opensuse.org> 0.2.6.3
- update to 0.2.6.3:
* fixes a bug with detection of the gnutls library