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