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