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