]> git.pld-linux.org Git - packages/pidgin.git/blob - pidgin.spec
- Release 2.
[packages/pidgin.git] / pidgin.spec
1 Summary:        A client compatible with AOL's 'Instant Messenger'
2 Summary(pl):    Klient kompatybilny z programem AOLa 'Instant Messenger'
3 Name:           gaim
4 Version:        0.46
5 Release:        2
6 License:        GPL
7 Group:          Applications/Communications
8 Group(de):      Applikationen/Kommunikation
9 Group(pl):      Aplikacje/Komunikacja
10 Source0:        http://prdownloads.sourceforge.net/gaim/%{name}-%{version}.tar.bz2
11 Patch0:         %{name}-font-by-locale.patch
12 Patch1:         %{name}-iconv.patch
13 URL:            http://gaim.sourceforge.net/
14 BuildRequires:  ORBit-devel
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  gnome-libs-devel >= 1.2.13
18 BuildRequires:  esound-devel
19 BuildRequires:  gtk+-devel >= 1.2.5
20 BuildRequires:  gettext-devel
21 BuildRequires:  libtool
22 BuildRequires:  perl-devel
23 BuildRequires:  gnome-core-devel
24 BuildRequires:  gdk-pixbuf-devel
25 Requires:       applnk
26 Requires:       gaim-ui
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %define         _prefix         /usr/X11R6
30 %define         _sysconfdir     /etc/X11/GNOME
31 %define         _mandir         %{_prefix}/man
32
33 %description
34 Gaim allows you to talk to anyone using AOL's Instant Messenger
35 service (you can sign up at http://www.aim.aol.com). It uses the TOC
36 version of the AOL protocol, so your buddy list is stored on AOL's
37 servers and can be retrieved from anywhere. It contains many of the
38 same features as AOL's IM client while at the same time incorporating
39 many new features. Gaim also contains a multiple connection feature
40 which consists of protocol plugins. These plugins allow you to use
41 gaim to connect to other chat services such as Yahoo!, ICQ, MSN,
42 Jabber, Napster, Zephyr, IRC and Gadu-Gadu.
43
44 %description -l pl
45 Gaim pozwala na rozmowy z dowoln± osob± u¿ywaj±c± us³ugi AOL Instant
46 Messenger (mo¿na siê zarejstrowaæ pod adresem
47 http://www.aim.aol.com/). Program u¿ywa wersji TOC protoko³u AOL wiêc
48 Twoja lista kontaktów jest zapisana na serwerze AOL i mo¿e byc
49 przes³ana gdziekolwiek. Gaim zawiera wiele udogodnieñ dostêpnych w
50 kliencie AOL IM jak równie¿ dodaje w³asne. Gaim umo¿liwia tak¿e dostêp
51 do us³ug takich jak Yahoo!, ICQ, MSN, Jabber, Napster, Zephyr, IRC
52 oraz Gadu-Gadu.
53
54 %package ui-gtk
55 Summary:        gtk+ user interface for gaim
56 Summary(pl):    Interfejs u¿ytkownika gaim korzystaj±cy z gtk+
57 Group:          Applications/Communications
58 Group(de):      Applikationen/Kommunikation
59 Group(pl):      Aplikacje/Komunikacja
60 Provides:       gaim-ui
61
62 %description ui-gtk
63 gtk+ user interface for gaim
64
65 %description -l pl ui-gtk
66 Interfejs u¿ytkownika gaim korzystaj±cy z gtk+
67
68 %package ui-gnome
69 Summary:        GNOME user interface for gaim (applet)
70 Summary(pl):    Interfejs u¿ytkownika gaim korzystaj±cy z GNOME (applet)
71 Group:          Applications/Communications
72 Group(de):      Applikationen/Kommunikation
73 Group(pl):      Aplikacje/Komunikacja
74 Provides:       gaim-ui
75
76 %description ui-gnome
77 GNOME user interface for gaim (applet)
78
79 %description -l pl ui-gnome
80 Interfejs u¿ytkownika gaim korzystaj±cy z GNOME (applet)
81
82 %prep
83 %setup -q
84 %patch0 -p1
85 %patch1 -p1
86
87 %build
88 rm  -f missing
89 libtoolize --copy --force
90 gettextize --copy --force
91 aclocal -I m4
92 autoheader
93 autoconf
94 automake -a -c
95 %configure \
96         --disable-panel \
97         --enable-esd \
98         --disable-nas \
99         --disable-artsc \
100         --with-gnome
101 %{__make}
102 mv plugins/iconaway{,_standalone}.so
103 mv src/gaim{,_standalone}
104 %{__make} clean
105
106 %configure \
107         --enable-panel \
108         --enable-esd \
109         --disable-nas \
110         --disable-artsc \
111         --with-gnome
112 %{__make}
113
114 %install
115 rm -rf $RPM_BUILD_ROOT
116
117 # NOTE: make ignores gaimdesktopdir set below.
118 %{__make} install \
119         DESTDIR=$RPM_BUILD_ROOT \
120         gaimdesktopdir=%{_applnkdir}/Network/Communications \
121         distribdesktopdir=%{_applnkdir}/Network/Communications
122
123 mv $RPM_BUILD_ROOT{%{_datadir}/gnome/apps/Internet/gaim.desktop,%{_applnkdir}/Network/Communications}
124
125 mv $RPM_BUILD_ROOT%{_libdir}/gaim/iconaway{,_applet}.so
126 install plugins/iconaway_standalone.so $RPM_BUILD_ROOT%{_libdir}/gaim/iconaway.so
127 install src/gaim_standalone $RPM_BUILD_ROOT%{_bindir}/gaim
128         
129 gzip -9nf AUTHORS ChangeLog NEWS README* STATUS TODO HACKING \
130         doc/{CREDITS,FAQ}
131
132 %find_lang %{name} --with-gnome --all-name
133
134 %clean
135 rm -rf $RPM_BUILD_ROOT
136
137 %files -f %{name}.lang
138 %defattr(644,root,root,755)
139 %doc {*,doc/*}.gz
140 %dir %{_libdir}/gaim
141 %attr(755,root,root) %{_libdir}/gaim/[^i]*.so
142 %{_applnkdir}/Network/Communications/*.desktop
143 %{_pixmapsdir}/*
144 %{_mandir}/man?/*
145
146 %files ui-gtk
147 %attr(755,root,root) %{_bindir}/gaim
148 %attr(755,root,root) %{_libdir}/gaim/iconaway.so
149
150 %files ui-gnome
151 %attr(755,root,root) %{_bindir}/gaim_applet
152 %attr(755,root,root) %{_libdir}/gaim/iconaway_applet.so
153 %{_sysconfdir}/CORBA/servers/*
This page took 0.057614 seconds and 4 git commands to generate.