]> git.pld-linux.org Git - packages/gg.git/blob - gg.spec
- updated to pre4 (NICE)
[packages/gg.git] / gg.spec
1 Summary:        GNU Gadu - free talking
2 Summary(pl):    GNU Gadu - wolne gadanie
3 Name:           gg
4 Version:        0.2.pre4
5 Release:        1
6 Epoch:          2
7 License:        GPL
8 Group:          Applications/Communications
9 Group(de):      Applikationen/Kommunikation
10 Group(pl):      Aplikacje/Komunikacja
11 Source0:        http://netkrab.slackware.pl/gg/%{name}-%{version}.tar.gz
12 Source1:        %{name}.desktop
13 Source2:        %{name}.png
14 Icon:           gg.xpm
15 URL:            http://netkrab.slackware.pl/gg/
16 BuildRequires:  gtk+-devel > 1.2.8
17 BuildRequires:  esound-devel > 0.2.7
18 BuildRequires:  gnome-libs-devel 
19 BuildRequires:  gnome-core-devel 
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _prefix         /usr/X11R6
23 %define         _mandir         %{_prefix}/man
24
25 %description
26 Gadu-Gadu client released on GNU/GPL.
27
28 %description -l pl
29 Klient Gadu-Gadu na licencji GNU/GPL.
30
31 %package gnome
32 Summary:        GNU Gadu - free talking - gnome dockable
33 Summary(pl):    GNU Gadu - wolne gadanie - wersja dokowalna dla gnome
34 Group:          Applications/Communications
35 Group(de):      Applikationen/Kommunikation
36 Group(pl):      Aplikacje/Komunikacja
37
38 %description gnome
39 Gadu-Gadu client released on GNU/GPL. Gnome dockable version
40
41 %description -l pl gnome
42 Klient Gadu-Gadu na licencji GNU/GPL. Wersja dokowalna dla gnome.
43
44 %prep
45 %setup  -q
46
47 %build
48 LDFLAGS=" -L%{_libdir} "
49 %configure --enable-gnome --enable-panel
50 %{__make}
51 mv src/gg src/gnu_gadu_applet
52 %{__make} clean
53
54 %configure
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Communications,%{_pixmapsdir},%{_datadir}/applets/Network/}
60
61 %{__make} install DESTDIR=$RPM_BUILD_ROOT
62 install src/gnu_gadu_applet $RPM_BUILD_ROOT%{_bindir}
63
64 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/Communications/gg.desktop
65 cat %{SOURCE1} | sed -e 's/Exec=gg/Exec=gnu_gadu_applet/' > $RPM_BUILD_ROOT%{_datadir}/applets/Network/gnu_gadu_applet.desktop
66
67 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
68
69 gzip -9nf README ChangeLog
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files
75 %defattr(644,root,root,755)
76 %doc *.gz
77 %attr(755,root,root) %{_bindir}/gg
78 %{_datadir}/gg
79 %{_applnkdir}/Network/Communications/gg.desktop
80 %{_pixmapsdir}/*
81
82 %files gnome
83 %defattr(644,root,root,755)
84 %doc *.gz
85 %attr(755,root,root) %{_bindir}/gnu_gadu_applet
86 %{_datadir}/gg
87 %{_datadir}/applets/Network/gnu_gadu_applet.desktop
88 %{_pixmapsdir}/*
This page took 0.338325 seconds and 4 git commands to generate.