diff gaim.spec.in @ 827:cc07bbd39472

[gaim-migrate @ 837] would help if it worked committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 01 Sep 2000 21:58:15 +0000
parents eaab8abda2c0
children a3fe1e6f4946
line wrap: on
line diff
--- a/gaim.spec.in	Fri Sep 01 21:29:01 2000 +0000
+++ b/gaim.spec.in	Fri Sep 01 21:58:15 2000 +0000
@@ -1,8 +1,9 @@
-%define name    @PACKAGE@
-%define version @VERSION@
-%define release 1
-%define serial  1
-%define prefix  /usr
+%define name       @PACKAGE@
+%define version    @VERSION@
+%define release    1
+%define serial     1
+%define prefix     /usr
+%define sysconfdir /etc
 
 Summary:	A client compatible with AOL's 'Instant Messenger'
 Name:		%{name}
@@ -55,17 +56,17 @@
 mkdir -p $RPM_BUILD_ROOT%{prefix}
 make prefix=$RPM_BUILD_ROOT%{prefix} install-strip
 make distclean
-CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=${prefix} --enable-distrib
+CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=${prefix} --sysconfdir=${sysconfdir} --enable-distrib
 make
 
 %install
-make prefix=$RPM_BUILD_ROOT%{prefix} install-strip
+make prefix=$RPM_BUILD_ROOT%{prefix} sysconfdir=$RPM_BUILD_ROOT%{sysconfdir} install-strip
 
 %files
 %defattr(-,root,root)
-%attr(755,root,root) %{prefix}/bin/gaim
+%{prefix}/bin/gaim
 %doc doc/the_penguin.txt doc/PROTOCOL doc/CREDITS NEWS COPYING AUTHORS doc/FAQ README README.plugins ChangeLog
-%{prefix}/lib/gaim/*
+%attr(755,root,root) %{prefix}/lib/gaim/*
 %{prefix}/share/locale/*/*/*
 %{prefix}/share/pixmaps/gaim.xpm
 %{prefix}/share/gnome/apps/Internet/gaim.desktop
@@ -79,11 +80,10 @@
 %{prefix}/share/locale/*/*/*
 %{prefix}/share/sounds/gaim/*
 %{prefix}/share/pixmaps/gaim.xpm
-%{prefix}/share/pixmaps/gaim/gnome/*
 %{prefix}/share/gnome/apps/Internet/gaim.desktop
-/etc/CORBA/servers/*
+%{sysconfdir}/CORBA/servers/*
 %{prefix}/share/applets/Network/*
-/etc/sound/events/*
+%{sysconfdir}/sound/events/*
 
 %clean
 rm -r $RPM_BUILD_ROOT