Mercurial > pidgin
comparison gaim.spec.in @ 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 | 643d1bdc76a9 |
comparison
equal
deleted
inserted
replaced
3736:71d4502ca36b | 3737:5939b57aeed8 |
---|---|
1 %define name @PACKAGE@ | 1 %define name @PACKAGE@ |
2 %define version @VERSION@ | 2 %define version @VERSION@ |
3 %define release 1 | 3 %define release 1 |
4 %define serial 1 | |
5 %define prefix /usr | 4 %define prefix /usr |
6 %define sysconfdir /etc | 5 %define sysconfdir /etc |
7 | 6 |
8 Summary: A Gtk+ based multiprotocol instant messaging client | 7 Summary: A Gtk+ based multiprotocol instant messaging client |
9 Name: %{name} | 8 Name: %{name} |
10 Version: %{version} | 9 Version: %{version} |
11 Release: %{release} | 10 Release: %{release} |
12 Serial: %{serial} | 11 Epoch: 1 |
13 License: GPL | 12 License: GPL |
14 Group: Applications/Internet | 13 Group: Applications/Internet |
15 Vendor: Pimpin' Penguins | 14 Vendor: Pimpin' Penguins |
16 Url: http://gaim.sf.net/ | 15 Url: http://gaim.sf.net/ |
17 Source: %{name}-%{version}.tar.gz | 16 Source: %{name}-%{version}.tar.gz |
18 Packager: Rob Flynn <rob@marko.net> | 17 Packager: Rob Flynn <rob@marko.net> |
19 BuildRoot: /var/tmp/%{name}-%{version}-root | 18 BuildRoot: /var/tmp/%{name}-%{version}-root |
20 Requires: gtk2 >= 2.0.0 | 19 Requires: gtk2 >= 2.0.0 |
20 Prefix: %{prefix} | |
21 | 21 |
22 %description | 22 %description |
23 Gaim allows you to talk to anyone using a variety of messaging | 23 Gaim allows you to talk to anyone using a variety of messaging |
24 protocols, including AIM (Oscar and TOC), ICQ, IRC, Yahoo!, | 24 protocols, including AIM (Oscar and TOC), ICQ, IRC, Yahoo!, |
25 MSN Messenger, Jabber, Gadu-Gadu, Napster, and Zephyr. These | 25 MSN Messenger, Jabber, Gadu-Gadu, Napster, and Zephyr. These |
35 %setup | 35 %setup |
36 | 36 |
37 %build | 37 %build |
38 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --disable-artsc | 38 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --disable-artsc |
39 make | 39 make |
40 | |
41 %install | |
40 if [ -d $RPM_BUILD_ROOT ]; then rm -r $RPM_BUILD_ROOT; fi; | 42 if [ -d $RPM_BUILD_ROOT ]; then rm -r $RPM_BUILD_ROOT; fi; |
41 mkdir -p $RPM_BUILD_ROOT%{prefix} | |
42 make prefix=$RPM_BUILD_ROOT%{prefix} install | |
43 make -C src mostlyclean-compile | |
44 | |
45 %install | |
46 make DESTDIR=$RPM_BUILD_ROOT prefix=%{prefix} sysconfdir=%{sysconfdir} install | 43 make DESTDIR=$RPM_BUILD_ROOT prefix=%{prefix} sysconfdir=%{sysconfdir} install |
47 | 44 |
48 %files | 45 %files |
49 %defattr(-,root,root) | 46 %defattr(-, root, root) |
50 %{prefix}/bin/gaim | 47 |
51 %{prefix}/bin/gaim-remote | 48 %doc doc/the_penguin.txt doc/CREDITS NEWS COPYING AUTHORS |
52 %doc doc/the_penguin.txt doc/CREDITS NEWS COPYING AUTHORS doc/FAQ README ChangeLog plugins/PERL-HOWTO HACKING | 49 %doc doc/FAQ README ChangeLog plugins/PERL-HOWTO HACKING |
53 %{prefix}/man/man1/gaim.1.* | 50 |
54 %attr(755,root,root) %{prefix}/lib/gaim/* | 51 %attr(755, root, root) %{_libdir}/gaim/* |
55 %{prefix}/share/locale/*/*/* | 52 |
56 %{prefix}/share/pixmaps/gaim.png | 53 %{_bindir}/* |
57 %{prefix}/share/pixmaps/gaim/* | 54 %{_mandir}/man1/gaim.1.* |
58 %{prefix}/share/pixmaps/gaim/dialogs/* | 55 %{_datadir}/locale/*/*/* |
59 %{prefix}/share/pixmaps/gaim/buttons/* | 56 %{_datadir}/pixmaps/* |
60 %{prefix}/share/applications/gaim.desktop | 57 %{_datadir}/pixmaps/gaim/* |
58 %{_datadir}/pixmaps/gaim/dialogs/* | |
59 %{_datadir}/pixmaps/gaim/buttons/* | |
60 %{_datadir}/applications/gaim.desktop | |
61 | 61 |
62 %clean | 62 %clean |
63 rm -r $RPM_BUILD_ROOT | 63 rm -r $RPM_BUILD_ROOT |
64 | 64 |
65 %changelog | 65 %changelog |