changeset 3737:5939b57aeed8

[gaim-migrate @ 3875] Gaim no longer has to be packaged as root. It now uses the %{_*} macros for specifying directories. I also removed the deprecated Serial: line. I think that's it. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Fri, 18 Oct 2002 04:50:37 +0000
parents 71d4502ca36b
children 10a60faad8d7
files gaim.spec.in
diffstat 1 files changed, 30 insertions(+), 30 deletions(-) [+]
line wrap: on
line diff
--- a/gaim.spec.in	Fri Oct 18 02:59:06 2002 +0000
+++ b/gaim.spec.in	Fri Oct 18 04:50:37 2002 +0000
@@ -1,23 +1,23 @@
 %define name       @PACKAGE@
 %define version    @VERSION@
 %define release    1
-%define serial     1
 %define prefix     /usr
 %define sysconfdir /etc
 
-Summary:	A Gtk+ based multiprotocol instant messaging client
-Name:		%{name}
-Version:	%{version}
-Release:	%{release}
-Serial:		%{serial}
-License:	GPL
-Group:		Applications/Internet
-Vendor:		Pimpin' Penguins
-Url:		http://gaim.sf.net/
-Source:		%{name}-%{version}.tar.gz
-Packager:	Rob Flynn <rob@marko.net>
-BuildRoot:	/var/tmp/%{name}-%{version}-root
-Requires:	gtk2 >= 2.0.0
+Summary:    A Gtk+ based multiprotocol instant messaging client
+Name:       %{name}
+Version:    %{version}
+Release:    %{release}
+Epoch:      1
+License:    GPL
+Group:      Applications/Internet
+Vendor:     Pimpin' Penguins
+Url:        http://gaim.sf.net/
+Source:     %{name}-%{version}.tar.gz
+Packager:   Rob Flynn <rob@marko.net>
+BuildRoot:  /var/tmp/%{name}-%{version}-root
+Requires:   gtk2 >= 2.0.0
+Prefix:     %{prefix}
 
 %description
 Gaim allows you to talk to anyone using a variety of messaging 
@@ -37,27 +37,27 @@
 %build
 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --disable-artsc
 make
-if [ -d $RPM_BUILD_ROOT ]; then rm -r $RPM_BUILD_ROOT; fi;
-mkdir -p $RPM_BUILD_ROOT%{prefix}
-make prefix=$RPM_BUILD_ROOT%{prefix} install
-make -C src mostlyclean-compile
 
 %install
+if [ -d $RPM_BUILD_ROOT ]; then rm -r $RPM_BUILD_ROOT; fi;
 make DESTDIR=$RPM_BUILD_ROOT prefix=%{prefix} sysconfdir=%{sysconfdir} install
 
 %files
-%defattr(-,root,root)
-%{prefix}/bin/gaim
-%{prefix}/bin/gaim-remote
-%doc doc/the_penguin.txt doc/CREDITS NEWS COPYING AUTHORS doc/FAQ README ChangeLog plugins/PERL-HOWTO HACKING
-%{prefix}/man/man1/gaim.1.*
-%attr(755,root,root) %{prefix}/lib/gaim/*
-%{prefix}/share/locale/*/*/*
-%{prefix}/share/pixmaps/gaim.png
-%{prefix}/share/pixmaps/gaim/*
-%{prefix}/share/pixmaps/gaim/dialogs/*
-%{prefix}/share/pixmaps/gaim/buttons/*
-%{prefix}/share/applications/gaim.desktop
+%defattr(-, root, root)
+
+%doc doc/the_penguin.txt doc/CREDITS NEWS COPYING AUTHORS
+%doc doc/FAQ README ChangeLog plugins/PERL-HOWTO HACKING
+
+%attr(755, root, root) %{_libdir}/gaim/*
+
+%{_bindir}/*
+%{_mandir}/man1/gaim.1.*
+%{_datadir}/locale/*/*/*
+%{_datadir}/pixmaps/*
+%{_datadir}/pixmaps/gaim/*
+%{_datadir}/pixmaps/gaim/dialogs/*
+%{_datadir}/pixmaps/gaim/buttons/*
+%{_datadir}/applications/gaim.desktop
 
 %clean
 rm -r $RPM_BUILD_ROOT