forked from pool/weechat
Autobuild autoformatter for 65904
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/weechat?expand=0&rev=5
This commit is contained in:
parent
c56bc4237a
commit
89cce3fd95
31
weechat.spec
31
weechat.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package weechat (Version 0.3.4)
|
# spec file for package weechat
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,25 +17,26 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
|
|
||||||
Name: weechat
|
Name: weechat
|
||||||
Version: 0.3.4
|
Version: 0.3.4
|
||||||
Release: 0
|
Release: 1
|
||||||
Summary: Portable, Fast, Light and Extensible Chat Client
|
Summary: Portable, Fast, Light and Extensible Chat Client
|
||||||
Source: http://www.weechat.org/files/src/weechat-%{version}.tar.bz2
|
Source: http://www.weechat.org/files/src/weechat-%{version}.tar.bz2
|
||||||
Source1: weechat.desktop
|
Source1: weechat.desktop
|
||||||
Patch1: weechat-0.3.3-fix-strftime.patch
|
Patch1: weechat-0.3.3-fix-strftime.patch
|
||||||
Patch3: weechat-0.3.4-fix-array-overflow.patch
|
Patch3: weechat-0.3.4-fix-array-overflow.patch
|
||||||
URL: http://www.weechat.org
|
Url: http://www.weechat.org
|
||||||
Group: Productivity/Networking/IRC
|
Group: Productivity/Networking/IRC
|
||||||
License: GNU General Public License (GPL)
|
License: GNU General Public License (GPL)
|
||||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: ncurses-devel perl python-devel cmake
|
BuildRequires: cmake ncurses-devel perl python-devel
|
||||||
BuildRequires: ruby gcc gnutls gnutls-devel glibc-devel aspell-devel
|
BuildRequires: aspell-devel gcc glibc-devel gnutls gnutls-devel ruby
|
||||||
BuildRequires: libstdc++-devel gcc-c++
|
BuildRequires: gcc-c++ libstdc++-devel
|
||||||
BuildRequires: lua-devel ruby-devel
|
BuildRequires: lua-devel ruby-devel
|
||||||
BuildRequires: tcl-devel
|
BuildRequires: tcl-devel
|
||||||
BuildRequires: lzo-devel libgpg-error libgcrypt
|
BuildRequires: libgcrypt libgpg-error lzo-devel
|
||||||
BuildRequires: libgpg-error-devel libgcrypt-devel
|
BuildRequires: libgcrypt-devel libgpg-error-devel
|
||||||
BuildRequires: autoconf automake libtool pkgconfig
|
BuildRequires: autoconf automake libtool pkgconfig
|
||||||
%if 0%{?suse_version:1}
|
%if 0%{?suse_version:1}
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
@ -54,9 +55,10 @@ Authors:
|
|||||||
--------
|
--------
|
||||||
Sebastien Helleu <flashcode@flashtux.org>
|
Sebastien Helleu <flashcode@flashtux.org>
|
||||||
|
|
||||||
%lang_package
|
|
||||||
|
|
||||||
|
%lang_package
|
||||||
%package devel
|
%package devel
|
||||||
|
License: GNU General Public License (GPL)
|
||||||
Summary: Development Environment for %{name} Plugins
|
Summary: Development Environment for %{name} Plugins
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
@ -65,6 +67,7 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
Development environment for authoring %{name} plugins.
|
Development environment for authoring %{name} plugins.
|
||||||
|
|
||||||
%package lua
|
%package lua
|
||||||
|
License: GNU General Public License (GPL)
|
||||||
Summary: Lua Scripting Support for %{name}
|
Summary: Lua Scripting Support for %{name}
|
||||||
Group: Productivity/Networking/IRC
|
Group: Productivity/Networking/IRC
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
@ -73,6 +76,7 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
Support for %{name} scripts written in the Lua language.
|
Support for %{name} scripts written in the Lua language.
|
||||||
|
|
||||||
%package perl
|
%package perl
|
||||||
|
License: GNU General Public License (GPL)
|
||||||
Summary: Perl Scripting Support for %{name}
|
Summary: Perl Scripting Support for %{name}
|
||||||
Group: Productivity/Networking/IRC
|
Group: Productivity/Networking/IRC
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
@ -81,6 +85,7 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
Support for %{name} scripts written in the Perl language.
|
Support for %{name} scripts written in the Perl language.
|
||||||
|
|
||||||
%package python
|
%package python
|
||||||
|
License: GNU General Public License (GPL)
|
||||||
Summary: Python Scripting Support for %{name}
|
Summary: Python Scripting Support for %{name}
|
||||||
Group: Productivity/Networking/IRC
|
Group: Productivity/Networking/IRC
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
@ -89,6 +94,7 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
Support for %{name} scripts written in the Python language.
|
Support for %{name} scripts written in the Python language.
|
||||||
|
|
||||||
%package tcl
|
%package tcl
|
||||||
|
License: GNU General Public License (GPL)
|
||||||
Summary: Tcl Scripting Support for %{name}
|
Summary: Tcl Scripting Support for %{name}
|
||||||
Group: Productivity/Networking/IRC
|
Group: Productivity/Networking/IRC
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
@ -97,6 +103,7 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
Support for %{name} scripts written in the Tcl language.
|
Support for %{name} scripts written in the Tcl language.
|
||||||
|
|
||||||
%package ruby
|
%package ruby
|
||||||
|
License: GNU General Public License (GPL)
|
||||||
Summary: Ruby Scripting Support for %{name}
|
Summary: Ruby Scripting Support for %{name}
|
||||||
Group: Productivity/Networking/IRC
|
Group: Productivity/Networking/IRC
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
@ -105,6 +112,7 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
Support for %{name} scripts written in the Ruby language.
|
Support for %{name} scripts written in the Ruby language.
|
||||||
|
|
||||||
%package aspell
|
%package aspell
|
||||||
|
License: GNU General Public License (GPL)
|
||||||
Summary: Aspell Spell-Checking Support for %{name}
|
Summary: Aspell Spell-Checking Support for %{name}
|
||||||
Group: Productivity/Networking/IRC
|
Group: Productivity/Networking/IRC
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
@ -122,7 +130,6 @@ TIME="\"$(date -d "${modified}" "+%%R")\""
|
|||||||
find . -name '*.[ch]' |\
|
find . -name '*.[ch]' |\
|
||||||
xargs sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g"
|
xargs sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g"
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
%__mkdir build
|
%__mkdir build
|
||||||
|
Loading…
Reference in New Issue
Block a user