forked from pool/weechat
This commit is contained in:
commit
5b243e9244
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
149
weechat.spec
Normal file
149
weechat.spec
Normal file
@ -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 <guru@unixtech.be>
|
||||
- initial build service submission
|
||||
|
||||
# Local Variables:
|
||||
# mode: rpm-spec
|
||||
# tab-width: 3
|
||||
# End:
|
Loading…
Reference in New Issue
Block a user