From 5b243e92446b5ff14a47c5df038e5b3e82f6527e297ea88deb4b461baf213ab7 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 8 Jun 2007 22:40:41 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/server:irc/weechat?expand=0&rev=1 --- .gitattributes | 23 ++++++++ .gitignore | 1 + weechat.spec | 149 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 173 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 weechat.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/weechat.spec b/weechat.spec new file mode 100644 index 0000000..e691fcf --- /dev/null +++ b/weechat.spec @@ -0,0 +1,149 @@ +# norootforbuild + +%define _prefix /usr + +Name: weechat +Version: 0.2.5 +Release: 0 +Summary: Portable, Fast, Light and Extensible IRC Client +Source: http://weechat.flashtux.org/download/weechat-%{version}.tar.bz2 +Source1: weechat.desktop +Patch1: weechat-fix-strftime.patch +URL: http://weechat.flashtux.org/ +Group: Productivity/Networking/IRC +License: GNU General Public License (GPL) +BuildRoot: %{_tmppath}/build-%{name}-%{version} +BuildRequires: ncurses ncurses-devel lua lua-devel perl python python-devel +BuildRequires: ruby gcc gnutls gnutls-devel glibc-devel aspell aspell-devel +%if 0%{suse_version} >= 1000 +BuildRequires: ruby-devel +%endif +BuildRequires: lzo lzo-devel libgpg-error libgcrypt +BuildRequires: libgpg-error-devel libgcrypt-devel +BuildRequires: autoconf automake libtool +%if 0%{suse_release} +BuildRequires: update-desktop-files +%endif + +%description +WeeChat (Wee Enhanced Environment for Chat) is a fast and light IRC client +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 lua +Summary: Lua Scripting Support for %{name} +Group: Productivity/Networking/IRC +Requires: %{name} = %{version}-%{release} + +%description lua +Lua scripting plugin for %{name} + +%package perl +Summary: Perl Scripting Support for %{name} +Group: Productivity/Networking/IRC +Requires: %{name} = %{version}-%{release} + +%description perl +Perl scripting plugin for %{name} + +%package python +Summary: Python Scripting Support for %{name} +Group: Productivity/Networking/IRC +Requires: %{name} = %{version}-%{release} + +%description python +Python scripting plugin for %{name} + +%package ruby +Summary: Ruby Scripting Support for %{name} +Group: Productivity/Networking/IRC +Requires: %{name} = %{version}-%{release} + +%description ruby +Ruby scripting plugin for %{name} + +%package aspell +Summary: Aspell Spell-Checking Support for %{name} +Group: Productivity/Networking/IRC +Requires: %{name} = %{version}-%{release} + +%description aspell +Spell-checking support for %{name}, using aspell. + +%debug_package +%prep +%setup -q +%patch1 + +%build +# don't, breaks build: +# autoreconf -fiv + +%configure \ + --disable-wxwidgets \ + --disable-gtk \ + --disable-qt + +%__make %{?jobs:-j%{jobs}} + +%install +%makeinstall +%__rm "%{buildroot}%{_libdir}/weechat/plugins"/*.{a,la} + +%__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_release} +%suse_update_desktop_file -r "%{name}" Network IRCClient +%endif + +%find_lang "%{name}" + +%clean +%__rm -rf "%{buildroot}" + +%files -f "%{name}.lang" +%defattr(-,root,root) +%doc AUTHORS BUGS ChangeLog COPYING FAQ* NEWS README TODO +%{_bindir}/weechat-curses +%dir %{_libdir}/weechat +%dir %{_libdir}/weechat/plugins +%{_libdir}/weechat/plugins/charset.so* +%doc %{_datadir}/doc/weechat +%doc %{_mandir}/man1/weechat-curses.1* +%{_datadir}/applications/%{name}.desktop +%{_datadir}/pixmaps/%{name}.png + +%files lua +%defattr(-,root,root) +%{_libdir}/weechat/plugins/lua.so +%{_libdir}/weechat/plugins/lua.so.* + +%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 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 +* Sat Jun 9 2007 Pascal Bleser +- initial build service submission + +# Local Variables: +# mode: rpm-spec +# tab-width: 3 +# End: