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