]>
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.26.1 | |
7 | Release: 12 | |
8 | License: GPL v2+ | |
9 | Group: X11/Applications/Networking | |
10 | Source0: http://ftp.gnome.org/pub/GNOME/sources/xchat-gnome/0.26/%{name}-%{version}.tar.bz2 | |
11 | # Source0-md5: c9ce3d6e549736edfc1a1dc0282fb363 | |
12 | Patch0: %{name}-long-delimiter.patch | |
13 | Patch1: %{name}-notify.patch | |
14 | Patch2: %{name}-makefile.patch | |
15 | Patch3: perl-detect.patch | |
16 | URL: http://xchat-gnome.navi.cx/ | |
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 | |
21 | BuildRequires: gettext-tools | |
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 | |
31 | BuildRequires: libsexy-devel >= 0.1.11 | |
32 | BuildRequires: libtool | |
33 | BuildRequires: openssl-devel | |
34 | BuildRequires: perl-devel | |
35 | BuildRequires: pkgconfig | |
36 | BuildRequires: python-devel >= 2.2.0 | |
37 | BuildRequires: rpmbuild(find_lang) >= 1.23 | |
38 | BuildRequires: rpmbuild(macros) >= 1.311 | |
39 | BuildRequires: scrollkeeper | |
40 | Requires(post,postun): gtk-update-icon-cache | |
41 | Requires(post,postun): scrollkeeper | |
42 | Requires(post,preun): GConf2 | |
43 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
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 | ||
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. | |
55 | ||
56 | %package perl | |
57 | Summary: XChat Perl plugin | |
58 | Summary(pl.UTF-8): Wtyczka Perla do XChata | |
59 | Group: X11/Applications/Networking | |
60 | Requires: %{name} = %{version}-%{release} | |
61 | Requires: perl-base | |
62 | ||
63 | %description perl | |
64 | Provides Perl scripting capability to XChat. | |
65 | ||
66 | %description perl -l pl.UTF-8 | |
67 | Wtyczka dodająca do XChata możliwość uruchamiania skryptów w Perlu. | |
68 | ||
69 | %package python | |
70 | Summary: XChat Python plugin | |
71 | Summary(pl.UTF-8): Wtyczka Pythona do XChata | |
72 | Group: X11/Applications/Networking | |
73 | Requires: %{name} = %{version}-%{release} | |
74 | Requires: python >= 2.2.0 | |
75 | ||
76 | %description python | |
77 | Provides Python scripting capability to XChat. | |
78 | ||
79 | %description python -l pl.UTF-8 | |
80 | Wtyczka dodająca do XChata możliwość uruchamiania skryptów w Pythonie. | |
81 | ||
82 | %prep | |
83 | %setup -q | |
84 | %patch0 -p1 | |
85 | %patch1 -p1 | |
86 | %patch2 -p1 | |
87 | %patch3 -p1 | |
88 | ||
89 | %build | |
90 | %{__libtoolize} | |
91 | %{__intltoolize} | |
92 | %{__aclocal} -I m4 | |
93 | %{__autoconf} | |
94 | %{__autoheader} | |
95 | %{__automake} | |
96 | %configure \ | |
97 | --enable-compile-warnings=minimum \ | |
98 | --disable-static \ | |
99 | --disable-tcl | |
100 | %{__make} | |
101 | ||
102 | %install | |
103 | rm -rf $RPM_BUILD_ROOT | |
104 | ||
105 | %{__make} install \ | |
106 | DESTDIR=$RPM_BUILD_ROOT | |
107 | ||
108 | rm $RPM_BUILD_ROOT%{_libdir}/xchat-gnome/plugins/*.la | |
109 | ||
110 | %find_lang %{name} --with-gnome --with-omf | |
111 | ||
112 | %clean | |
113 | rm -rf $RPM_BUILD_ROOT | |
114 | ||
115 | %post | |
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 | |
120 | %scrollkeeper_update_post | |
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 | |
128 | ||
129 | %postun | |
130 | %scrollkeeper_update_postun | |
131 | %update_icon_cache hicolor | |
132 | ||
133 | %files -f %{name}.lang | |
134 | %defattr(644,root,root,755) | |
135 | %doc README ChangeLog | |
136 | %attr(755,root,root) %{_bindir}/xchat-gnome | |
137 | %dir %{_libdir}/xchat-gnome | |
138 | %dir %{_libdir}/xchat-gnome/plugins | |
139 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/autoaway.so | |
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 | |
143 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/soundnotification.so | |
144 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/urlscraper.so | |
145 | %{_iconsdir}/hicolor/*/apps/* | |
146 | %{_datadir}/xchat-gnome | |
147 | %{_desktopdir}/xchat-gnome.desktop | |
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 | |
152 | %{_datadir}/dbus-1/services/org.gnome.Xchat.service | |
153 | %{_mandir}/man1/xchat-gnome.1* | |
154 | ||
155 | %files perl | |
156 | %defattr(644,root,root,755) | |
157 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/perl.so | |
158 | ||
159 | %files python | |
160 | %defattr(644,root,root,755) | |
161 | %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/python.so |