]> git.pld-linux.org Git - SPECS.git/blob - gtk-gnutella.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / gtk-gnutella.spec
1 Summary:        Gnutella P2P Network Client
2 Summary(es.UTF-8):      Cliente de la red P2P Gnutella
3 Summary(pl.UTF-8):      Klient sieci Gnutella
4 Name:           gtk-gnutella
5 Version:        0.97.1
6 Release:        1
7 License:        GPL v2+
8 Group:          Applications/Communications
9 Source0:        http://downloads.sourceforge.net/gtk-gnutella/%{name}-%{version}.tar.bz2
10 # Source0-md5:  7ded76ca9892b58b0e9314ee563e4bae
11 Patch0:         %{name}-desktop.patch
12 URL:            http://gtk-gnutella.sourceforge.net/
13 BuildRequires:  bison
14 BuildRequires:  gettext-tools
15 BuildRequires:  glib2-devel
16 BuildRequires:  groff
17 BuildRequires:  gtk+2-devel
18 BuildRequires:  libxml2-devel
19 BuildRequires:  pkgconfig
20 BuildRequires:  zlib-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Gnutella P2P Network Client.
25
26 %description -l es.UTF-8
27 Cliente de la red P2P Gnutella.
28
29 %description -l pl.UTF-8
30 Klient sieci Gnutella.
31
32 %prep
33 %setup -q
34 %patch0 -p1
35
36 %build
37 ./Configure \
38         -Dprefix=%{_prefix} \
39         -Dbindir=%{_bindir} \
40         -Dprivlib=%{_datadir}/%{name} \
41         -Dsysman=%{_mandir}/man1 \
42         -Dldflags="-L/usr/%{_lib}" \
43         -Dccflags="-Wall -I/usr/include/glib-2.0 -I/usr/%{_lib}/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/pango-1.0 -I/usr/%{_lib}/gtk-2.0/include -I/usr/include/atk-1.0" \
44         -Dcc="%{__cc}" \
45         -Doptimize="%{rpmcflags}" \
46         -Dyacc="bison -y" \
47         -Dgtkversion=2  \
48         -Dofficial=true -ders
49
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
55
56 %{__make} install \
57         INSTALL_PREFIX=$RPM_BUILD_ROOT
58 %{__make} install.man \
59         INSTALL_PREFIX=$RPM_BUILD_ROOT
60
61 install extra_files/%{name}.desktop $RPM_BUILD_ROOT%{_desktopdir}
62 install extra_files/%{name}*.png $RPM_BUILD_ROOT%{_pixmapsdir}
63
64 %find_lang %{name} --with-gnome
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files -f %{name}.lang
70 %defattr(644,root,root,755)
71 %doc README ChangeLog AUTHORS
72 %attr(755,root,root) %{_bindir}/gtk-gnutella
73 %{_datadir}/%{name}
74 %{_mandir}/man1/gtk-gnutella.1*
75 %{_desktopdir}/%{name}.desktop
76 %{_pixmapsdir}/%{name}*.png
This page took 2.114031 seconds and 3 git commands to generate.