comparison gaim.spec.in @ 1618:b4349bb68302

[gaim-migrate @ 1628] rerun ./config.status before building an rpm. (or make distclean first.) i probably shouldn't do this but i'm getting frustrated at people submitting backtraces where i can't see the cause of it. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 19 Mar 2001 21:35:24 +0000
parents 497a074fa1c8
children cce40a648f7a
comparison
equal deleted inserted replaced
1617:f30f719e5933 1618:b4349bb68302
61 %build 61 %build
62 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --disable-gnome 62 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --disable-gnome
63 make 63 make
64 if [ -d $RPM_BUILD_ROOT ]; then rm -r $RPM_BUILD_ROOT; fi; 64 if [ -d $RPM_BUILD_ROOT ]; then rm -r $RPM_BUILD_ROOT; fi;
65 mkdir -p $RPM_BUILD_ROOT%{prefix} 65 mkdir -p $RPM_BUILD_ROOT%{prefix}
66 make prefix=$RPM_BUILD_ROOT%{prefix} install-strip 66 make prefix=$RPM_BUILD_ROOT%{prefix} install
67 make distclean 67 make distclean
68 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=${prefix} --sysconfdir=${sysconfdir} --enable-distrib 68 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=${prefix} --sysconfdir=${sysconfdir} --enable-distrib
69 make 69 make
70 70
71 %install 71 %install
72 make DESTDIR=$RPM_BUILD_ROOT prefix=%{prefix} sysconfdir=%{sysconfdir} install-strip 72 make DESTDIR=$RPM_BUILD_ROOT prefix=%{prefix} sysconfdir=%{sysconfdir} install
73 73
74 %files 74 %files
75 %defattr(-,root,root) 75 %defattr(-,root,root)
76 %{prefix}/bin/gaim 76 %{prefix}/bin/gaim
77 %doc doc/the_penguin.txt doc/PROTOCOL doc/CREDITS NEWS COPYING AUTHORS doc/FAQ README README.plugins ChangeLog plugins/PERL-HOWTO HACKING 77 %doc doc/the_penguin.txt doc/PROTOCOL doc/CREDITS NEWS COPYING AUTHORS doc/FAQ README README.plugins ChangeLog plugins/PERL-HOWTO HACKING