]> git.pld-linux.org Git - packages/irssi.git/commitdiff
- rewrite to PLD style coding:
authorArtur Frysiak <artur@frysiak.net>
Thu, 2 Sep 1999 17:22:51 +0000 (17:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
-- correct Group and Group(pl)
-- %%changelog moved to end
-- splited to irssi and irssi-GNOME
-- added patch to allow 'make install DESTDIR=/some/dir'
-- added ./configure parameters
-- striped unneeded symbol from plugins
-- gziped docs
-- corrected %%files section

Changed files:
    irssi.spec -> 1.2

irssi.spec

index 03264de00c2162d3464bb13a63fda531afb9045a..227cb5403f873feb5d861b984f8b5c339b906a57 100644 (file)
@@ -1,82 +1,86 @@
-Name: irssi
-Version: 0.7.15
-Release: 1
-Packager: Red Hat Contrib|Net <rhcn-bugs@redhat.com>
-Vendor: Timo Sirainen <cras@irccrew.org>
-Distribution: Red Hat Contrib|Net
-Summary:  Irssi is a GTK based IRC client
-Copyright: GPL
-Group: X11/Applications/Networking
-URL: http://xlife.dhs.org/irssi/
-Source: http://xlife.dhs.org/irssi/files/%{name}-%{version}.tar.bz2
-Requires: gtk+
-Prefix: /usr
-BuildRoot: /tmp/%{name}-%{version}
-
-%changelog
-* Thu Mar 25 1999 JT Traub <jtraub@dragoncat.net>
-- Updated sources
-
-* Sat Mar 13 1999 JT Traub <jtraub@dragoncat.net>
-- Updated to 0.7.4 sources
-- Added the irssi-text bin to the package.
-
-* Mon Feb 22 1999 JT Traub <jtraub@dragoncat.net>
-- Made spec file compliant with RHCN guidelines.
-
-* Sun Feb 13 1999 JT Traub <jtraub@dragoncat.net>
-- Updated to 0.6.0 sources.
-- Cleaned up spec file to make it relocatable on install
-
-* Sun Feb 7 1999  JT Traub <jtraub@dragoncat.net>
-- Updated sources to 0.5.0
-- removed obsolete patch lines
-
-* Sat Feb 3 1999  JT Traub <jtraub@dragoncat.net>
-- Updated sources to 0.4.0
-- Deleted old patch line
-
-* Sat Jan 30 1999  JT Traub <jtraub@dragoncat.net>
-- Updated sources to 0.3.6
-- Updated spec to install the .desktop file.
-- Removed the now obsolete patch lines
-
-* Wed Jan 27 1999  JT Traub <jtraub@dragoncat.net>
-- Upgraded to 0.3.5
-
-* Sun Jan 24 1999  JT Traub <jtraub@dragoncat.net>
-- First attempt at building this
+%define                ver      0.7.15
+%define                patchlvl 3
+Name:          irssi
+Version:       %{ver}_%{patchlvl}
+Release:       1
+Vendor:        Timo Sirainen <cras@irccrew.org>
+Summary:       Irssi is a IRC client
+Copyright:     GPL
+Group:                 Applications/Communications
+Group(pl):      Aplikacje/Komunikacja
+URL:           http://xlife.dhs.org/irssi/
+Source:        http://xlife.dhs.org/irssi/files/%{name}-%{ver}-%{patchlvl}.tar.bz2
+Patch:         irssi-DESTDIR.patch
+BuildRoot:     /tmp/%{name}-%{version}-root
+
+%define                _sysconfdir     /etc
 
 %description
-Irssi is a GTK based GUI IRC client by Timo Sirainen <cras@irccrew.org>.
+Irssi is a textUI IRC client with IPv6 support 
+by Timo Sirainen <cras@irccrew.org>.
 More information can be found at http://xlife.dhs.org/irssi/.
 
+%package GNOME
+Summary:       GNOME version of irssi IRC client
+Group:         X11/Applications/Communications
+Group(pl):     X11/Aplikacje/Komunikacja
+Requires:      %{name} = %{version}
+
+%description GNOME
+Irssi is a GTK based (with GNOME) GUI IRC client with IPv6 support
+by Timo Sirainen <cras@irccrew.org>.
+More information can be found at http://xlife.dhs.org/irssi/.
 
 %prep
-%setup
-#%patch0 -p1 -b .slang
+%setup -q -n %{name}-%{ver}
+%patch -p1 
 
 %build
-./configure --prefix=%{prefix}
+automake
+CPPFLAGS="-I/usr/X11R6/include"; export CPPFLAGS
+LDFLAGS="-s -L/usr/X11R6/lib"; export LDFLAGS
+%configure \
+       --with-gnome \
+       --with-gnome-panel \
+       --with-imlib \
+       --enable-ipv6 \
+       --with-textui=ncurses \
+       --with-proplist \
+       --without-socks \
+       --with-plugins
 make
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make prefix=$RPM_BUILD_ROOT%{prefix} install
-strip $RPM_BUILD_ROOT%{prefix}/bin/irssi
-#strip $RPM_BUILD_ROOT%{prefix}/bin/irssi-text
+make DESTDIR=$RPM_BUILD_ROOT install
+strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/irssi/plugins/lib*.so.*.*
 
+gzip -9fn AUTHORS ChangeLog README TODO NEWS
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files 
-%defattr (-,root,root)
-%doc AUTHORS COPYING INSTALL ChangeLog README TODO NEWS
-%attr(755,root,root) %{prefix}/bin/irssi
-#%attr(755,root,root) %{prefix}/bin/irssi-text
-%attr(644,root,root) %config %{prefix}/etc/irssi.conf
-%attr(644,root,root) %{prefix}/etc/CORBA/servers/irssi.gnorba
-%attr(644,root,root) %{prefix}/share/applets/Network/irssi.desktop
-%attr(644,root,root) %{prefix}/lib/irssi/plugins/*.so
-#%attr(644,root,root) %{prefix}/lib/irssi/scripts/perl/test.pl
+%defattr (644,root,root,755)
+%doc {AUTHORS,ChangeLog,README,TODO,NEWS}.gz
+
+%attr(755,root,root) %{_bindir}/irssi-text
+%attr(755,root,root) %{_bindir}/irssi-bot
+
+%dir %{_sysconfdir}/irssi
+%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/irssi/*
+
+%dir %{_libdir}/irssi
+%dir %{_libdir}/irssi/plugins
+%attr(755,root,root) %{_libdir}/irssi/plugins/lib*.so.*.*
+#%attr(755,root,root) %{_libdir}/irssi/plugins/lib*.so
+#%attr(755,root,root) %{_libdir}/irssi/plugins/lib*.la
+#%attr(755,root,root) %{_libdir}/irssi/plugins/lib*.a
+
+%files GNOME
+%defattr (644,root,root,755)
+%attr(755,root,root) %{_bindir}/irssi
+
+%{_sysconfdir}/CORBA/servers/irssi.gnorba
+%{_datadir}/applets/Network/irssi.desktop
+%{_datadir}/gnome/help/irssi
This page took 0.111596 seconds and 4 git commands to generate.