Thu, 17 Jul 2003 04:50:55 +0000
[gaim-migrate @ 6656]
Updated .spec file from Paco-Paco. It works for Mandrake, too.
committer: Mark Doliner <markdoliner@pidgin.im>
| gaim.spec.in | file | annotate | diff | comparison | revisions |
--- a/gaim.spec.in Thu Jul 17 04:37:56 2003 +0000 +++ b/gaim.spec.in Thu Jul 17 04:50:55 2003 +0000 @@ -1,35 +1,26 @@ -%define name @PACKAGE@ -%define version @VERSION@ -%define release 1 -%define prefix /usr -%define sysconfdir /etc - -# This stuff makes things install into the directories that LFS wants. -# Ugly, and I don't know why rpm doesn't put them in the right places, -# but whatever. -%{expand:%%define share %(if [ -d %{prefix}/share/man ]; then echo /share ; else echo %%{nil} ; fi)} -%ifos linux -%define CONFIG_FLAGS --prefix=%prefix --infodir='%{prefix}%{share}/info' --mandir='%{prefix}%{share}/man' -%else -%define CONFIG_FLAGS --prefix=%prefix -%endif - Summary: A Gtk+ based multiprotocol instant messaging client -Name: %{name} -Version: %{version} -Release: %{release} +Name: @PACKAGE@ +Version: @VERSION@ +Release: 1 Epoch: 1 License: GPL Group: Applications/Internet Vendor: Pimpin' Penguins -Url: http://gaim.sf.net/ +Url: http://gaim.sourceforge.net/ Source: %{name}-%{version}.tar.gz Packager: Rob Flynn <rob@marko.net> -BuildRoot: /var/tmp/%{name}-%{version}-root -Prefix: %{prefix} - +BuildRoot: %{_tmppath}/%{name}-%{version}-root +%if %{_vendor} != MandrakeSoft Requires: gtk2 >= 2.0.0 BuildRequires: libao-devel, gtk2-devel, gtkspell-devel, libtool, audiofile-devel +%else +Requires: gtk+2.0 >= 2.0.0 +BuildRequires: libao-devel, libgtk+2.0_0-devel, gtkspell-devel, libtool, audiofile-devel +%endif + +%package devel +Summary: Development headers, documentation, and libraries for Gaim. +Group: Applications/Internet %description Gaim allows you to talk to anyone using a variety of messaging @@ -43,421 +34,62 @@ Gaim is NOT affiliated with or endorsed by AOL. +%description devel + +The gaim-devel package contains the header files, developer +documentation, and libraries required for development of gaim scripts +and plugins. + %prep %setup %build -CFLAGS="$RPM_OPT_FLAGS" ./configure %{CONFIG_FLAGS} -make +CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \ + --bindir=%{_bindir} \ + --datadir=%{_datadir} \ + --includedir=%{_includedir} \ + --libdir=%{_libdir} \ + --mandir=%{_mandir} \ + --sysconfdir=%{_sysconfdir} +make %{?_smp_mflags} %install -if [ -d $RPM_BUILD_ROOT ]; then rm -r $RPM_BUILD_ROOT; fi; -make DESTDIR=$RPM_BUILD_ROOT prefix=%{prefix} sysconfdir=%{sysconfdir} install +rm -rf %{buildroot} +make prefix=%{buildroot}%{_prefix} bindir=%{buildroot}%{_bindir} \ + datadir=%{buildroot}%{_datadir} includedir=%{buildroot}%{_includedir} \ + libdir=%{buildroot}%{_libdir} mandir=%{buildroot}%{_mandir} \ + sysconfdir=%{buildroot}%{_sysconfdir} \ + install + +%clean +rm -rf %{buildroot} %files %defattr(-, root, root) -%doc doc/the_penguin.txt doc/CREDITS NEWS COPYING AUTHORS -%doc doc/FAQ README ChangeLog plugins/PERL-HOWTO HACKING +%doc doc/the_penguin.txt doc/CREDITS doc/FAQ NEWS COPYING AUTHORS +%doc README ChangeLog +%doc %{_mandir}/man1/* %attr(755, root, root) %{_libdir}/gaim/* - +%attr(755, root, root) %{_libdir}/libgaim-remote.so.* %{_bindir}/* -%{_mandir}/man1/* %{_datadir}/locale/*/*/* %{_datadir}/pixmaps/* %{_datadir}/sounds/gaim/* %{_datadir}/applications/* -%clean -rm -r $RPM_BUILD_ROOT +%files devel + +%doc plugins/SIGNALS plugins/HOWTO plugins/PERL-HOWTO +%doc HACKING TODO + +%attr(755, root, root) %{_libdir}/libgaim-remote.la +%{_includedir}/gaim-remote/*.h %changelog -* Thu May 29 2003 Rob Flynn <rob@marko.net> (0.64 release) -- Buddy list sorting in buddy list preferences. -- Improved debug window with timestamps and pause buttons. -- New core/ui split notification and request APIs. -- New mail notification dialog. -- Several bug fixes in MSN. -- Conversation window buddy icon bugs were fixed. -- Buddy list sorting in buddy list preferences.