]> git.pld-linux.org Git - packages/xchat-gnome.git/blob - xchat-gnome.spec
- BR: enchant-devel
[packages/xchat-gnome.git] / xchat-gnome.spec
1 Summary:        Graphical IRC (chat) client
2 Summary(de):    IRC-Client (Chat) mit grafischer Oberfläche
3 Summary(fr):    Client IRC (chat) avec interface graphique
4 Summary(pl):    Graficzny klient IRC (chat)
5 Name:           xchat-gnome
6 Version:        0.8
7 Release:        1
8 Group:          X11/Applications/Networking
9 License:        GPL
10 Source0:        http://flapjack.navi.cx/releases/%{name}/%{name}-%{version}.tar.bz2
11 # Source0-md5:  048f0bb530bc2afce43aff6eb9538554
12 Patch0: %{name}-long-delimiter.patch
13 Patch1: %{name}-gtk-2.8.9.patch
14 URL:            http://xchat.org/
15 BuildRequires:  gettext-devel
16 BuildRequires:  gtk+2-devel >= 2.0.0
17 BuildRequires:  enchant-devel
18 BuildRequires:  libnotify-devel
19 BuildRequires:  libsexy-devel
20 BuildRequires:  python-devel
21 BuildRequires:  perl-devel
22 Requires(post): GConf2
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 A GUI IRC client with DCC file transfers, C plugin interface, Perl and
27 Python scripting capability, mIRC color, shaded transparency, tabbed
28 channels and more.
29
30 %description -l pl
31 Klient IRC z graficznym interfejsem u¿ytkownika, z przesy³aniem plików
32 DCC, interfejsem do wtyczek w C, mo¿liwo¶ci± uruchamiania skryptów w
33 Perlu i Pythonie, obs³ug± kolorów mIRC-a, cieniowan±
34 przezroczysto¶ci±, zak³adkami z kana³ami itd.
35
36 %package perl
37 Summary:        XChat Perl plugin
38 Summary(pl):    Wtyczka Perla do XChata
39 Group:          X11/Applications/Networking
40 Requires:       %{name} = %{version}-%{release}
41 Requires:       perl
42
43 %description perl
44 Provides Perl scripting capability to XChat.
45
46 %description perl -l pl
47 Wtyczka dodaj±ca do XChata mo¿liwo¶æ uruchamiania skryptów w Perlu.
48
49 %package python
50 Summary:        XChat Python plugin
51 Summary(pl):    Wtyczka Pythona do XChata
52 Group:          X11/Applications/Networking
53 Requires:       %{name} = %{version}-%{release}
54 Requires:       python >= 2.2.0
55
56 %description python
57 Provides Python scripting capability to XChat.
58
59 %description python -l pl
60 Wtyczka dodaj±ca do XChata mo¿liwo¶æ uruchamiania skryptów w Pythonie.
61
62 %prep
63 %setup -q
64 %patch0 -p1
65 %patch1 -p1
66
67 %build
68 %configure \
69         --disable-dependency-tracking \
70         --enable-gnomefe \
71         --enable-ipv6 \
72         --disable-tcl
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77 install -d $RPM_BUILD_ROOT%{_desktopdir} \
78         $RPM_BUILD_ROOT%{_pixmapsdir}
79
80 %{__make} install \
81         DESTDIR=$RPM_BUILD_ROOT
82
83 rm $RPM_BUILD_ROOT/%{_libdir}/xchat-gnome/plugins/*.a
84 rm $RPM_BUILD_ROOT/%{_libdir}/xchat-gnome/plugins/*.la
85
86 %find_lang xchat-gnome --with-gnome
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %post
92 %gconf_schema_install
93
94 %files -f xchat-gnome.lang
95 %defattr(644,root,root,755)
96 %doc README ChangeLog
97 %attr(755,root,root) %{_bindir}/xchat-gnome
98 %attr(755,root,root) %{_bindir}/xchat-gnome-remote
99 %dir %{_libdir}/xchat-gnome
100 %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/autoaway.so
101 %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/dbus.so
102 %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/netmonitor.so
103 %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/notification.so
104 %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/notifyosd.so
105 %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/urlscraper.so
106 %{_datadir}/xchat-gnome
107 %{_desktopdir}/xchat-gnome.desktop
108 %{_pixmapsdir}/xchat-gnome.png
109 %{_sysconfdir}/gconf/schemas/*.schemas
110 %{_omf_dest_dir}/%{name}/xchat-gnome-C.omf
111
112
113 %files perl
114 %defattr(644,root,root,755)
115 %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/perl.so
116
117 %files python
118 %defattr(644,root,root,755)
119 %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/python.so
This page took 0.053893 seconds and 4 git commands to generate.