Mass letter "h" and "i" update, one or more apply :
- Drop epoch: 0 - Remove %{epoch} requirements in sub-packages - Remove trailing white spaces - Keep consistent between spaces and tabs
This commit is contained in:
parent
1f479986e7
commit
608679e162
36
irssi.spec
36
irssi.spec
@ -1,51 +1,46 @@
|
|||||||
%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
|
%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
|
||||||
|
|
||||||
Summary: Modular text mode IRC client with Perl scripting
|
Summary: Modular text mode IRC client with Perl scripting
|
||||||
Name: irssi
|
Name: irssi
|
||||||
Version: 0.8.9
|
Version: 0.8.9
|
||||||
Release: 5
|
Release: 5
|
||||||
Epoch: 0
|
License: GPL
|
||||||
License: GPL
|
Group: Applications/Communications
|
||||||
Group: Applications/Communications
|
URL: http://irssi.org/
|
||||||
URL: http://irssi.org/
|
Source0: http://irssi.org/files/%{name}-%{version}.tar.bz2
|
||||||
Source0: http://irssi.org/files/%{name}-%{version}.tar.bz2
|
|
||||||
Source1: http://wouter.coekaerts.be/irssi/scripts/replace.pl
|
Source1: http://wouter.coekaerts.be/irssi/scripts/replace.pl
|
||||||
Source2: http://wouter.coekaerts.be/irssi/scripts/trigger.pl
|
Source2: http://wouter.coekaerts.be/irssi/scripts/trigger.pl
|
||||||
Source3: http://wouter.coekaerts.be/irssi/scripts/convert-replace-trigger.pl
|
Source3: http://wouter.coekaerts.be/irssi/scripts/convert-replace-trigger.pl
|
||||||
Patch1: convert-replace-trigger.pl-fixpath-patch
|
Patch1: convert-replace-trigger.pl-fixpath-patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
||||||
BuildRequires: ncurses-devel openssl-devel zlib-devel pkgconfig gc-devel
|
BuildRequires: ncurses-devel openssl-devel zlib-devel pkgconfig gc-devel
|
||||||
%{?_with_glib1:BuildRequires: glib-devel}
|
%{?_with_glib1:BuildRequires: glib-devel}
|
||||||
%{!?_with_glib1:BuildRequires: glib2-devel}
|
%{!?_with_glib1:BuildRequires: glib2-devel}
|
||||||
|
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Irssi is a modular IRC client with Perl scripting. Only text-mode
|
Irssi is a modular IRC client with Perl scripting. Only text-mode
|
||||||
frontend is currently supported. The GTK/GNOME frontend is no longer
|
frontend is currently supported. The GTK/GNOME frontend is no longer
|
||||||
being maintained.
|
being maintained.
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
install -m 0644 %{SOURCE3} .
|
install -m 0644 %{SOURCE3} .
|
||||||
%patch1 -p0
|
%patch1 -p0
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-ipv6 --with-textui \
|
%configure --enable-ipv6 --with-textui \
|
||||||
%{?_with_glib1: --with-glib1} \
|
%{?_with_glib1: --with-glib1} \
|
||||||
--with-proxy \
|
--with-proxy \
|
||||||
--with-bot \
|
--with-bot \
|
||||||
--with-perl=module \
|
--with-perl=module \
|
||||||
--with-perl-lib=vendor --with-gc
|
--with-perl-lib=vendor --with-gc
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -64,12 +59,10 @@ find $RPM_BUILD_ROOT%{perl_vendorarch} -type f -a -name .packlist -exec rm {} ';
|
|||||||
# Fix permissions
|
# Fix permissions
|
||||||
chmod -R u+w $RPM_BUILD_ROOT%{perl_vendorarch}
|
chmod -R u+w $RPM_BUILD_ROOT%{perl_vendorarch}
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -83,7 +76,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{perl_vendorarch}/Irssi*
|
%{perl_vendorarch}/Irssi*
|
||||||
%{perl_vendorarch}/auto/Irssi
|
%{perl_vendorarch}/auto/Irssi
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Dec 24 2004 Michael Schwendt <mschwendt[AT]users.sf.net> 0:0.8.9-5
|
* Fri Dec 24 2004 Michael Schwendt <mschwendt[AT]users.sf.net> 0:0.8.9-5
|
||||||
|
Loading…
Reference in New Issue
Block a user