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