]> git.pld-linux.org Git - packages/gg.git/blob - gg.spec
- some changes in specfile
[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.0
5 Release:        3
6 Epoch:          4
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 Source2:        %{name}.png
13 Icon:           gg.xpm
14 URL:            http://netkrab.slackware.pl/gg/
15 BuildRequires:  gtk+-devel > 1.2.8
16 BuildRequires:  esound-devel > 0.2.7
17 BuildRequires:  gnome-libs-devel 
18 BuildRequires:  gnome-core-devel 
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _prefix         /usr/X11R6
22 %define         _mandir         %{_prefix}/man
23
24 %description
25 Gadu-Gadu client released on GNU/GPL.
26
27 %description -l pl
28 Klient Gadu-Gadu na licencji GNU/GPL.
29
30 %package common
31 Summary:        GNU Gadu - free talking - common files
32 Summary(pl):    GNU Gadu - wolne gadanie - wspólne pliki
33 Group:          Applications/Communications
34 Group(de):      Applikationen/Kommunikation
35 Group(pl):      Aplikacje/Komunikacja
36 Obsoletes:      gg < 0.2.0
37
38
39 %description common
40 Gadu-Gadu client released on GNU/GPL.
41
42 %description -l pl common
43 Klient Gadu-Gadu na licencji GNU/GPL.
44
45 %package X11
46 Summary:        GNU Gadu - free talking - gnome dockable
47 Summary(pl):    GNU Gadu - wolne gadanie - wersja dokowalna dla gnome
48 Group:          Applications/Communications
49 Group(de):      Applikationen/Kommunikation
50 Group(pl):      Aplikacje/Komunikacja
51 Prereq:         %{name}-common = %{epoch}:%{version}
52 Provides:       gg = %{epoch}:%{version}-%{release}
53
54 %description X11
55 Gadu-Gadu client released on GNU/GPL. 
56
57 %description -l pl X11
58 Klient Gadu-Gadu na licencji GNU/GPL. Wersja dla X11.
59
60 %package gnome
61 Summary:        GNU Gadu - free talking - gnome dockable
62 Summary(pl):    GNU Gadu - wolne gadanie - wersja dokowalna dla gnome
63 Group:          Applications/Communications
64 Group(de):      Applikationen/Kommunikation
65 Group(pl):      Aplikacje/Komunikacja
66 Prereq:         %{name}-common = %{epoch}:%{version}
67 Provides:       gg = %{epoch}:%{version}-%{release}
68
69 %description X11
70 Gadu-Gadu client released on GNU/GPL. Gnome dockable version
71
72 %description -l pl gnome
73 Klient Gadu-Gadu na licencji GNU/GPL. Wersja dokowalna dla gnome.
74
75 %prep
76 %setup  -q
77
78 %build
79 LDFLAGS=" -L%{_libdir} %{rpmldflags}"
80 %configure \
81         --enable-gnome \
82         --enable-panel
83 %{__make}
84 mv src/gg src/gnu_gadu_applet
85 %{__make} clean
86
87 %configure
88 %{__make}
89
90 %install
91 rm -rf $RPM_BUILD_ROOT
92 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Communications,%{_pixmapsdir},%{_datadir}/applets/Network/}
93
94 %{__make} install DESTDIR=$RPM_BUILD_ROOT
95 install src/gnu_gadu_applet $RPM_BUILD_ROOT%{_bindir}
96
97 cp -f src/GnuGadu.desktop $RPM_BUILD_ROOT%{_applnkdir}/Network/Communications/
98 cat src/GnuGadu.desktop | sed -e 's/Exec=gg/Exec=gnu_gadu_applet/' > $RPM_BUILD_ROOT%{_datadir}/applets/Network/GnuGadu.desktop
99
100 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
101
102 gzip -9nf README ChangeLog TODO
103
104 %clean
105 rm -rf $RPM_BUILD_ROOT
106
107 %files common
108 %defattr(644,root,root,755)
109 %doc *.gz
110 %{_datadir}/gg
111 %{_pixmapsdir}/*
112
113 %files X11
114 %defattr(644,root,root,755)
115 %{_applnkdir}/Network/Communications/GnuGadu.desktop
116 %attr(755,root,root) %{_bindir}/gg
117
118 %files gnome
119 %defattr(644,root,root,755)
120 %attr(755,root,root) %{_bindir}/gnu_gadu_applet
121 %attr(755,root,root) %{_datadir}/applets/Network/GnuGadu.desktop
This page took 0.182545 seconds and 4 git commands to generate.