]>
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 |
a673ab24 | 6 | Version: 0.24.0 |
ec0e1c75 | 7 | Release: 1 |
a8716e76 | 8 | License: GPL |
a8f802f0 | 9 | Group: X11/Applications/Networking |
a673ab24 MB |
10 | Source0: http://ftp.gnome.org/pub/GNOME/sources/xchat-gnome/0.24/%{name}-%{version}.tar.bz2 |
11 | # Source0-md5: 925010f01f593e6ff7027f2ba523c607 | |
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 |
a8f802f0 | 33 | BuildRequires: python-devel |
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} |
a8716e76 | 58 | Requires: perl |
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 \ |
49094f17 | 91 | --disable-tcl |
a8716e76 | 92 | %{__make} |
93 | ||
94 | %install | |
95 | rm -rf $RPM_BUILD_ROOT | |
49094f17 | 96 | |
72db9e03 | 97 | %{__make} install \ |
98 | DESTDIR=$RPM_BUILD_ROOT | |
99 | ||
a673ab24 | 100 | rm $RPM_BUILD_ROOT%{_libdir}/xchat-gnome/plugins/*.{a,la} |
a8716e76 | 101 | |
a673ab24 | 102 | %find_lang %{name} --with-gnome --with-omf |
a8716e76 | 103 | |
49094f17 JB |
104 | %clean |
105 | rm -rf $RPM_BUILD_ROOT | |
106 | ||
a8716e76 | 107 | %post |
a673ab24 MB |
108 | %gconf_schema_install apps_xchat.schemas |
109 | %gconf_schema_install notification.schemas | |
110 | %gconf_schema_install url_handler.schemas | |
111 | %gconf_schema_install urlscraper.schemas | |
f457c486 | 112 | %scrollkeeper_update_post |
a673ab24 MB |
113 | %update_icon_cache hicolor |
114 | ||
115 | %preun | |
116 | %gconf_schema_uninstall apps_xchat.schemas | |
117 | %gconf_schema_uninstall notification.schemas | |
118 | %gconf_schema_uninstall url_handler.schemas | |
119 | %gconf_schema_uninstall urlscraper.schemas | |
f457c486 | 120 | |
121 | %postun | |
122 | %scrollkeeper_update_postun | |
a673ab24 | 123 | %update_icon_cache hicolor |
a8716e76 | 124 | |
a673ab24 | 125 | %files -f %{name}.lang |
a8716e76 | 126 | %defattr(644,root,root,755) |
72db9e03 | 127 | %doc README ChangeLog |
0a4e8a9e | 128 | %attr(755,root,root) %{_bindir}/xchat-gnome |
72db9e03 | 129 | %dir %{_libdir}/xchat-gnome |
5b85fb0a | 130 | %dir %{_libdir}/xchat-gnome/plugins |
72db9e03 | 131 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/autoaway.so |
72db9e03 | 132 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/netmonitor.so |
133 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/notification.so | |
134 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/notifyosd.so | |
6d6ba56b | 135 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/soundnotification.so |
72db9e03 | 136 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/urlscraper.so |
db88c0d4 | 137 | %{_iconsdir}/hicolor/*/apps/* |
72db9e03 | 138 | %{_datadir}/xchat-gnome |
49094f17 | 139 | %{_desktopdir}/xchat-gnome.desktop |
a673ab24 MB |
140 | %{_sysconfdir}/gconf/schemas/apps_xchat.schemas |
141 | %{_sysconfdir}/gconf/schemas/notification.schemas | |
142 | %{_sysconfdir}/gconf/schemas/url_handler.schemas | |
143 | %{_sysconfdir}/gconf/schemas/urlscraper.schemas | |
f457c486 | 144 | %{_datadir}/dbus-1/services/org.gnome.Xchat.service |
145 | %{_mandir}/man1/xchat-gnome.1* | |
a8716e76 | 146 | |
147 | %files perl | |
148 | %defattr(644,root,root,755) | |
72db9e03 | 149 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/perl.so |
a8716e76 | 150 | |
151 | %files python | |
152 | %defattr(644,root,root,755) | |
72db9e03 | 153 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/python.so |