]>
Commit | Line | Data |
---|---|---|
a8716e76 | 1 | Summary: Graphical IRC (chat) client |
0072f25b ER |
2 | Summary(de.UTF-8): IRC-Client (Chat) mit grafischer Oberfläche |
3 | Summary(fr.UTF-8): Client IRC (chat) avec interface graphique | |
4 | Summary(pl.UTF-8): Graficzny klient IRC (chat) | |
a8716e76 | 5 | Name: xchat-gnome |
4537b14f | 6 | Version: 0.18 |
ec0e1c75 | 7 | Release: 1 |
a8716e76 | 8 | License: GPL |
a8f802f0 ER |
9 | Group: X11/Applications/Networking |
10 | Source0: http://flapjack.navi.cx/releases/xchat-gnome/%{name}-%{version}.tar.bz2 | |
4537b14f | 11 | # Source0-md5: 4976cd34a0e9115c800b5d317e121182 |
a8f802f0 | 12 | Patch0: %{name}-long-delimiter.patch |
cbfe766e | 13 | URL: http://xchat-gnome.navi.cx/ |
14 | BuildRequires: autoconf | |
15 | BuildRequires: automake | |
a8f802f0 | 16 | BuildRequires: enchant-devel |
a8716e76 | 17 | BuildRequires: gettext-devel |
49094f17 | 18 | BuildRequires: gtk+2-devel >= 2.0.0 |
72db9e03 | 19 | BuildRequires: libnotify-devel |
c4a49445 | 20 | BuildRequires: libsexy-devel >= 0.1.11 |
72db9e03 | 21 | BuildRequires: perl-devel |
a8f802f0 | 22 | BuildRequires: python-devel |
f457c486 | 23 | BuildRequires: scrollkeeper >= 0.3.11 |
49094f17 | 24 | Requires(post): GConf2 |
f457c486 | 25 | Requires(post,postun): scrollkeeper |
49094f17 | 26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
a8716e76 | 27 | |
28 | %description | |
29 | A GUI IRC client with DCC file transfers, C plugin interface, Perl and | |
30 | Python scripting capability, mIRC color, shaded transparency, tabbed | |
31 | channels and more. | |
32 | ||
5ed66a91 JR |
33 | %description -l pl.UTF-8 |
34 | Klient IRC z graficznym interfejsem użytkownika, z przesyłaniem plików | |
35 | DCC, interfejsem do wtyczek w C, możliwością uruchamiania skryptów w | |
36 | Perlu i Pythonie, obsługą kolorów mIRC-a, cieniowaną | |
37 | przezroczystością, zakładkami z kanałami itd. | |
49094f17 | 38 | |
a8716e76 | 39 | %package perl |
40 | Summary: XChat Perl plugin | |
0072f25b | 41 | Summary(pl.UTF-8): Wtyczka Perla do XChata |
a8716e76 | 42 | Group: X11/Applications/Networking |
49094f17 | 43 | Requires: %{name} = %{version}-%{release} |
a8716e76 | 44 | Requires: perl |
49094f17 | 45 | |
a8716e76 | 46 | %description perl |
47 | Provides Perl scripting capability to XChat. | |
48 | ||
5ed66a91 JR |
49 | %description perl -l pl.UTF-8 |
50 | Wtyczka dodająca do XChata możliwość uruchamiania skryptów w Perlu. | |
49094f17 | 51 | |
a8716e76 | 52 | %package python |
53 | Summary: XChat Python plugin | |
0072f25b | 54 | Summary(pl.UTF-8): Wtyczka Pythona do XChata |
a8716e76 | 55 | Group: X11/Applications/Networking |
49094f17 JB |
56 | Requires: %{name} = %{version}-%{release} |
57 | Requires: python >= 2.2.0 | |
58 | ||
a8716e76 | 59 | %description python |
60 | Provides Python scripting capability to XChat. | |
61 | ||
5ed66a91 JR |
62 | %description python -l pl.UTF-8 |
63 | Wtyczka dodająca do XChata możliwość uruchamiania skryptów w Pythonie. | |
49094f17 | 64 | |
a8716e76 | 65 | %prep |
49094f17 | 66 | %setup -q |
8031f121 | 67 | %patch0 -p1 |
a8716e76 | 68 | |
69 | %build | |
cbfe766e | 70 | %{__aclocal} -I m4 |
71 | %{__autoconf} | |
72 | %{__autoheader} | |
73 | %{__automake} | |
49094f17 JB |
74 | %configure \ |
75 | --disable-dependency-tracking \ | |
76 | --enable-gnomefe \ | |
e8db982b | 77 | --enable-ipv6 \ |
49094f17 | 78 | --disable-tcl |
a8716e76 | 79 | %{__make} |
80 | ||
81 | %install | |
82 | rm -rf $RPM_BUILD_ROOT | |
49094f17 | 83 | install -d $RPM_BUILD_ROOT%{_desktopdir} \ |
72db9e03 | 84 | $RPM_BUILD_ROOT%{_pixmapsdir} |
49094f17 | 85 | |
72db9e03 | 86 | %{__make} install \ |
87 | DESTDIR=$RPM_BUILD_ROOT | |
88 | ||
a8f802f0 ER |
89 | rm $RPM_BUILD_ROOT%{_libdir}/xchat-gnome/plugins/*.a |
90 | rm $RPM_BUILD_ROOT%{_libdir}/xchat-gnome/plugins/*.la | |
a8716e76 | 91 | |
7ef5d9ab | 92 | %find_lang xchat-gnome --with-gnome |
a8716e76 | 93 | |
49094f17 JB |
94 | %clean |
95 | rm -rf $RPM_BUILD_ROOT | |
96 | ||
a8716e76 | 97 | %post |
49094f17 | 98 | %gconf_schema_install |
f457c486 | 99 | %scrollkeeper_update_post |
100 | ||
101 | %postun | |
102 | %scrollkeeper_update_postun | |
a8716e76 | 103 | |
104 | %files -f xchat-gnome.lang | |
105 | %defattr(644,root,root,755) | |
72db9e03 | 106 | %doc README ChangeLog |
0a4e8a9e | 107 | %attr(755,root,root) %{_bindir}/xchat-gnome |
72db9e03 | 108 | %dir %{_libdir}/xchat-gnome |
5b85fb0a | 109 | %dir %{_libdir}/xchat-gnome/plugins |
72db9e03 | 110 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/autoaway.so |
72db9e03 | 111 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/netmonitor.so |
112 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/notification.so | |
113 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/notifyosd.so | |
6d6ba56b | 114 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/soundnotification.so |
72db9e03 | 115 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/urlscraper.so |
5b85fb0a | 116 | %dir %{_datadir}/omf/xchat-gnome |
db88c0d4 | 117 | %{_iconsdir}/hicolor/*/apps/* |
72db9e03 | 118 | %{_datadir}/xchat-gnome |
49094f17 | 119 | %{_desktopdir}/xchat-gnome.desktop |
5b85fb0a | 120 | #%{_pixmapsdir}/xchat-gnome.png |
0a4e8a9e | 121 | %{_sysconfdir}/gconf/schemas/*.schemas |
7ef5d9ab | 122 | %{_omf_dest_dir}/%{name}/xchat-gnome-C.omf |
f457c486 | 123 | %{_datadir}/dbus-1/services/org.gnome.Xchat.service |
124 | %{_mandir}/man1/xchat-gnome.1* | |
a8716e76 | 125 | |
126 | %files perl | |
127 | %defattr(644,root,root,755) | |
72db9e03 | 128 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/perl.so |
a8716e76 | 129 | |
130 | %files python | |
131 | %defattr(644,root,root,755) | |
72db9e03 | 132 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/python.so |