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