]>
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 |
2aea07a0 | 6 | Version: 0.26.1 |
0d731926 | 7 | Release: 3 |
2dc159dc | 8 | License: GPL v2+ |
a8f802f0 | 9 | Group: X11/Applications/Networking |
a58dfd62 | 10 | Source0: http://ftp.gnome.org/pub/GNOME/sources/xchat-gnome/0.26/%{name}-%{version}.tar.bz2 |
2aea07a0 | 11 | # Source0-md5: c9ce3d6e549736edfc1a1dc0282fb363 |
a8f802f0 | 12 | Patch0: %{name}-long-delimiter.patch |
2aea07a0 LG |
13 | Patch1: %{name}-notify.patch |
14 | Patch2: %{name}-makefile.patch | |
cbfe766e | 15 | URL: http://xchat-gnome.navi.cx/ |
a673ab24 MB |
16 | BuildRequires: GConf2-devel >= 2.24.0 |
17 | BuildRequires: autoconf >= 2.60 | |
18 | BuildRequires: automake >= 1:1.9 | |
19 | BuildRequires: dbus-glib-devel >= 0.74 | |
a8716e76 | 20 | BuildRequires: gettext-devel |
a673ab24 MB |
21 | BuildRequires: glib2-devel >= 1:2.18.0 |
22 | BuildRequires: gnome-common >= 2.24.0 | |
23 | BuildRequires: gnome-doc-utils >= 0.14.0 | |
24 | BuildRequires: gtk+2-devel >= 2:2.14.0 | |
25 | BuildRequires: intltool >= 0.40.0 | |
26 | BuildRequires: libcanberra-gtk-devel >= 0.3 | |
27 | BuildRequires: libglade2-devel >= 1:2.6.2 | |
28 | BuildRequires: libgnomeui-devel >= 2.24.0 | |
29 | BuildRequires: libnotify-devel >= 0.4.0 | |
c4a49445 | 30 | BuildRequires: libsexy-devel >= 0.1.11 |
12c28764 | 31 | BuildRequires: libtool |
a673ab24 | 32 | BuildRequires: openssl-devel |
72db9e03 | 33 | BuildRequires: perl-devel |
12c28764 | 34 | BuildRequires: pkgconfig |
2dc159dc | 35 | BuildRequires: python-devel >= 2.2.0 |
a673ab24 MB |
36 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
37 | BuildRequires: rpmbuild(macros) >= 1.311 | |
38 | BuildRequires: scrollkeeper | |
ddcdc7a9 | 39 | Requires(post,postun): gtk-update-icon-cache |
f457c486 | 40 | Requires(post,postun): scrollkeeper |
a673ab24 | 41 | Requires(post,preun): GConf2 |
49094f17 | 42 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
a8716e76 | 43 | |
44 | %description | |
45 | A GUI IRC client with DCC file transfers, C plugin interface, Perl and | |
46 | Python scripting capability, mIRC color, shaded transparency, tabbed | |
47 | channels and more. | |
48 | ||
5ed66a91 JR |
49 | %description -l pl.UTF-8 |
50 | Klient IRC z graficznym interfejsem użytkownika, z przesyłaniem plików | |
51 | DCC, interfejsem do wtyczek w C, możliwością uruchamiania skryptów w | |
52 | Perlu i Pythonie, obsługą kolorów mIRC-a, cieniowaną | |
53 | przezroczystością, zakładkami z kanałami itd. | |
49094f17 | 54 | |
a8716e76 | 55 | %package perl |
56 | Summary: XChat Perl plugin | |
0072f25b | 57 | Summary(pl.UTF-8): Wtyczka Perla do XChata |
a8716e76 | 58 | Group: X11/Applications/Networking |
49094f17 | 59 | Requires: %{name} = %{version}-%{release} |
2dc159dc | 60 | Requires: perl-base |
49094f17 | 61 | |
a8716e76 | 62 | %description perl |
63 | Provides Perl scripting capability to XChat. | |
64 | ||
5ed66a91 JR |
65 | %description perl -l pl.UTF-8 |
66 | Wtyczka dodająca do XChata możliwość uruchamiania skryptów w Perlu. | |
49094f17 | 67 | |
a8716e76 | 68 | %package python |
69 | Summary: XChat Python plugin | |
0072f25b | 70 | Summary(pl.UTF-8): Wtyczka Pythona do XChata |
a8716e76 | 71 | Group: X11/Applications/Networking |
49094f17 JB |
72 | Requires: %{name} = %{version}-%{release} |
73 | Requires: python >= 2.2.0 | |
74 | ||
a8716e76 | 75 | %description python |
76 | Provides Python scripting capability to XChat. | |
77 | ||
5ed66a91 JR |
78 | %description python -l pl.UTF-8 |
79 | Wtyczka dodająca do XChata możliwość uruchamiania skryptów w Pythonie. | |
49094f17 | 80 | |
a8716e76 | 81 | %prep |
49094f17 | 82 | %setup -q |
8031f121 | 83 | %patch0 -p1 |
2aea07a0 LG |
84 | %patch1 -p1 |
85 | %patch2 -p1 | |
a8716e76 | 86 | |
87 | %build | |
a673ab24 MB |
88 | %{__libtoolize} |
89 | %{__intltoolize} | |
cbfe766e | 90 | %{__aclocal} -I m4 |
91 | %{__autoconf} | |
92 | %{__autoheader} | |
93 | %{__automake} | |
49094f17 | 94 | %configure \ |
2dc159dc | 95 | --disable-static \ |
49094f17 | 96 | --disable-tcl |
a8716e76 | 97 | %{__make} |
98 | ||
99 | %install | |
100 | rm -rf $RPM_BUILD_ROOT | |
49094f17 | 101 | |
72db9e03 | 102 | %{__make} install \ |
103 | DESTDIR=$RPM_BUILD_ROOT | |
104 | ||
2dc159dc | 105 | rm $RPM_BUILD_ROOT%{_libdir}/xchat-gnome/plugins/*.la |
a8716e76 | 106 | |
a673ab24 | 107 | %find_lang %{name} --with-gnome --with-omf |
a8716e76 | 108 | |
49094f17 JB |
109 | %clean |
110 | rm -rf $RPM_BUILD_ROOT | |
111 | ||
a8716e76 | 112 | %post |
a673ab24 MB |
113 | %gconf_schema_install apps_xchat.schemas |
114 | %gconf_schema_install notification.schemas | |
115 | %gconf_schema_install url_handler.schemas | |
116 | %gconf_schema_install urlscraper.schemas | |
f457c486 | 117 | %scrollkeeper_update_post |
a673ab24 MB |
118 | %update_icon_cache hicolor |
119 | ||
120 | %preun | |
121 | %gconf_schema_uninstall apps_xchat.schemas | |
122 | %gconf_schema_uninstall notification.schemas | |
123 | %gconf_schema_uninstall url_handler.schemas | |
124 | %gconf_schema_uninstall urlscraper.schemas | |
f457c486 | 125 | |
126 | %postun | |
127 | %scrollkeeper_update_postun | |
a673ab24 | 128 | %update_icon_cache hicolor |
a8716e76 | 129 | |
a673ab24 | 130 | %files -f %{name}.lang |
a8716e76 | 131 | %defattr(644,root,root,755) |
72db9e03 | 132 | %doc README ChangeLog |
0a4e8a9e | 133 | %attr(755,root,root) %{_bindir}/xchat-gnome |
72db9e03 | 134 | %dir %{_libdir}/xchat-gnome |
5b85fb0a | 135 | %dir %{_libdir}/xchat-gnome/plugins |
72db9e03 | 136 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/autoaway.so |
72db9e03 | 137 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/netmonitor.so |
138 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/notification.so | |
139 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/notifyosd.so | |
6d6ba56b | 140 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/soundnotification.so |
72db9e03 | 141 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/urlscraper.so |
db88c0d4 | 142 | %{_iconsdir}/hicolor/*/apps/* |
72db9e03 | 143 | %{_datadir}/xchat-gnome |
49094f17 | 144 | %{_desktopdir}/xchat-gnome.desktop |
a673ab24 MB |
145 | %{_sysconfdir}/gconf/schemas/apps_xchat.schemas |
146 | %{_sysconfdir}/gconf/schemas/notification.schemas | |
147 | %{_sysconfdir}/gconf/schemas/url_handler.schemas | |
148 | %{_sysconfdir}/gconf/schemas/urlscraper.schemas | |
f457c486 | 149 | %{_datadir}/dbus-1/services/org.gnome.Xchat.service |
150 | %{_mandir}/man1/xchat-gnome.1* | |
a8716e76 | 151 | |
152 | %files perl | |
153 | %defattr(644,root,root,755) | |
72db9e03 | 154 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/perl.so |
a8716e76 | 155 | |
156 | %files python | |
157 | %defattr(644,root,root,755) | |
72db9e03 | 158 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/python.so |