]> git.pld-linux.org Git - packages/xchat-gnome.git/blame - xchat-gnome.spec
- release 12 (by relup.sh)
[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
c0b8d616 7Release: 12
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
d7acb986 21BuildRequires: gettext-tools
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 \
30db83db 97 --enable-compile-warnings=minimum \
2dc159dc 98 --disable-static \
49094f17 99 --disable-tcl
a8716e76 100%{__make}
101
102%install
103rm -rf $RPM_BUILD_ROOT
49094f17 104
72db9e03 105%{__make} install \
106 DESTDIR=$RPM_BUILD_ROOT
107
2dc159dc 108rm $RPM_BUILD_ROOT%{_libdir}/xchat-gnome/plugins/*.la
a8716e76 109
a673ab24 110%find_lang %{name} --with-gnome --with-omf
a8716e76 111
49094f17
JB
112%clean
113rm -rf $RPM_BUILD_ROOT
114
a8716e76 115%post
a673ab24
MB
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
f457c486 120%scrollkeeper_update_post
a673ab24
MB
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
f457c486 128
129%postun
130%scrollkeeper_update_postun
a673ab24 131%update_icon_cache hicolor
a8716e76 132
a673ab24 133%files -f %{name}.lang
a8716e76 134%defattr(644,root,root,755)
72db9e03 135%doc README ChangeLog
0a4e8a9e 136%attr(755,root,root) %{_bindir}/xchat-gnome
72db9e03 137%dir %{_libdir}/xchat-gnome
5b85fb0a 138%dir %{_libdir}/xchat-gnome/plugins
72db9e03 139%attr(755,root,root) %{_libdir}/xchat-gnome/plugins/autoaway.so
72db9e03 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
6d6ba56b 143%attr(755,root,root) %{_libdir}/xchat-gnome/plugins/soundnotification.so
72db9e03 144%attr(755,root,root) %{_libdir}/xchat-gnome/plugins/urlscraper.so
db88c0d4 145%{_iconsdir}/hicolor/*/apps/*
72db9e03 146%{_datadir}/xchat-gnome
49094f17 147%{_desktopdir}/xchat-gnome.desktop
a673ab24
MB
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
f457c486 152%{_datadir}/dbus-1/services/org.gnome.Xchat.service
153%{_mandir}/man1/xchat-gnome.1*
a8716e76 154
155%files perl
156%defattr(644,root,root,755)
72db9e03 157%attr(755,root,root) %{_libdir}/xchat-gnome/plugins/perl.so
a8716e76 158
159%files python
160%defattr(644,root,root,755)
72db9e03 161%attr(755,root,root) %{_libdir}/xchat-gnome/plugins/python.so
This page took 0.142833 seconds and 4 git commands to generate.