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