Группа :: Сети/IRC
Пакет: xchat
Главная Изменения Спек Патчи Загрузить Bugs and FR
%define r_name xchat
Name: %{r_name}
Version: 2.4.3
Release: alt1.M24
Summary: Graphical IRC client
Summary(ru_RU.KOI8-R): Графический IRC клиент
Group: Networking/IRC
License: GPL
Url: http://www.xchat.org
Source: http://www.xchat.org/files/source/2.0/%r_name-%version.tar.bz2
Provides: xchat2 = %version-%release
Obsoletes: xchat2
Patch1: xc241-fix-fetext.diff
Patch10: xchat-2.4.1-alt-hmepas-servlist.patch
Patch11: xchat-2.4.1-alt-hmepas-deffont-increase.patch
Patch12: xchat-2.4.3-alt-browser.patch
Patch13: xchat-2.0.8-alt-hmepas-nick_suffix.patch
Patch14: xchat-2.0.9-alt-hmepas-nohup.patch
Patch15: xchat-2.4.1-alt-text_auto_indent-option.patch
Patch16: xchat-2.4.3-dmi-trans-1.patch
Source2: %name.xpm
Source3: %name-menu
Source4: %name-wmconfig
Source5: %name-16.png
Source6: %name-32.png
Source7: %name-48.png
Source9: xchat-README.ALT.koi8-r
%define xchatlibdir %_libdir/%name
%define xchatpluginsdir %xchatlibdir/plugins
# Automatically added by buildreq on Tue Apr 05 2005
BuildRequires: XFree86-devel XFree86-libs fontconfig freetype2 gcc-c++ gcc-g77 glib2-devel hostinfo libatk-devel libgtk+2-devel libpango-devel libssl-devel libstdc++-devel perl-devel pkgconfig python-base python-dev python-modules-encodings
%description
X-Chat is yet another IRC client for the X Window System, using the Gtk2+
toolkit. It is pretty easy to use compared to the other Gtk2+ IRC clients and
the interface is quite nicely designed.
%description -l ru_RU.KOI8-R
X-Chat - это отличный IRC клиент для системы X Window, использующий набор
инструментов GTK2+. Прекрасный дизайн интерфейса, удобные функции и легкие
настройки являются отличительной особенностью этого приложения для общения.
%prep
%setup -q -n %r_name-%version
#
%patch1 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%patch15 -p1
#%patch16 -p1
autoconf
%build
%configure \
--disable-gnome \
xchatlibdir=%xchatlibdir
%make
%install
%makeinstall
mkdir -p %buildroot/%_datadir/pixmaps
install -c -m 644 %SOURCE2 %buildroot/%_datadir/pixmaps/
# plugins
mkdir -p %buildroot%xchatpluginsdir
for i in python.so perl.so; do
mv %buildroot%_libdir/$i %buildroot%xchatpluginsdir/
done
# menu
install -m 755 -d %buildroot/%_menudir
install -m 644 %SOURCE3 %buildroot/%_menudir/xchat
# wmconfig
mkdir -p %buildroot/etc/X11/wmconfig
install -m 644 %SOURCE4 %buildroot/etc/X11/wmconfig/%name
# icon
mkdir -p %buildroot/%_datadir/icons/{mini,large}
install -m 644 %SOURCE5 %buildroot/%_miconsdir/%name.png
install -m 644 %SOURCE6 %buildroot/%_iconsdir/%name.png
install -m 644 %SOURCE7 %buildroot/%_liconsdir/%name.png
%find_lang %name
cp %SOURCE9 ./README.ALT.koi8-r
%post
## menu
%update_menus
%postun
## menu
%clean_menus
%files -f %name.lang
%doc AUTHORS README ChangeLog HACKING INSTALL faq.html README.ALT.koi8-r
%attr(755,root,root) %_bindir/%name
/etc/X11/wmconfig/xchat
%_datadir/pixmaps/%name.*
%_menudir/%name
%_iconsdir/%name.png
%_miconsdir/%name.png
%_liconsdir/%name.png
%xchatpluginsdir/python.so
%xchatpluginsdir/perl.so
%changelog
…
Полный changelog можно просмотреть здесь
Name: %{r_name}
Version: 2.4.3
Release: alt1.M24
Summary: Graphical IRC client
Summary(ru_RU.KOI8-R): Графический IRC клиент
Group: Networking/IRC
License: GPL
Url: http://www.xchat.org
Source: http://www.xchat.org/files/source/2.0/%r_name-%version.tar.bz2
Provides: xchat2 = %version-%release
Obsoletes: xchat2
Patch1: xc241-fix-fetext.diff
Patch10: xchat-2.4.1-alt-hmepas-servlist.patch
Patch11: xchat-2.4.1-alt-hmepas-deffont-increase.patch
Patch12: xchat-2.4.3-alt-browser.patch
Patch13: xchat-2.0.8-alt-hmepas-nick_suffix.patch
Patch14: xchat-2.0.9-alt-hmepas-nohup.patch
Patch15: xchat-2.4.1-alt-text_auto_indent-option.patch
Patch16: xchat-2.4.3-dmi-trans-1.patch
Source2: %name.xpm
Source3: %name-menu
Source4: %name-wmconfig
Source5: %name-16.png
Source6: %name-32.png
Source7: %name-48.png
Source9: xchat-README.ALT.koi8-r
%define xchatlibdir %_libdir/%name
%define xchatpluginsdir %xchatlibdir/plugins
# Automatically added by buildreq on Tue Apr 05 2005
BuildRequires: XFree86-devel XFree86-libs fontconfig freetype2 gcc-c++ gcc-g77 glib2-devel hostinfo libatk-devel libgtk+2-devel libpango-devel libssl-devel libstdc++-devel perl-devel pkgconfig python-base python-dev python-modules-encodings
%description
X-Chat is yet another IRC client for the X Window System, using the Gtk2+
toolkit. It is pretty easy to use compared to the other Gtk2+ IRC clients and
the interface is quite nicely designed.
%description -l ru_RU.KOI8-R
X-Chat - это отличный IRC клиент для системы X Window, использующий набор
инструментов GTK2+. Прекрасный дизайн интерфейса, удобные функции и легкие
настройки являются отличительной особенностью этого приложения для общения.
%prep
%setup -q -n %r_name-%version
#
%patch1 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%patch15 -p1
#%patch16 -p1
autoconf
%build
%configure \
--disable-gnome \
xchatlibdir=%xchatlibdir
%make
%install
%makeinstall
mkdir -p %buildroot/%_datadir/pixmaps
install -c -m 644 %SOURCE2 %buildroot/%_datadir/pixmaps/
# plugins
mkdir -p %buildroot%xchatpluginsdir
for i in python.so perl.so; do
mv %buildroot%_libdir/$i %buildroot%xchatpluginsdir/
done
# menu
install -m 755 -d %buildroot/%_menudir
install -m 644 %SOURCE3 %buildroot/%_menudir/xchat
# wmconfig
mkdir -p %buildroot/etc/X11/wmconfig
install -m 644 %SOURCE4 %buildroot/etc/X11/wmconfig/%name
# icon
mkdir -p %buildroot/%_datadir/icons/{mini,large}
install -m 644 %SOURCE5 %buildroot/%_miconsdir/%name.png
install -m 644 %SOURCE6 %buildroot/%_iconsdir/%name.png
install -m 644 %SOURCE7 %buildroot/%_liconsdir/%name.png
%find_lang %name
cp %SOURCE9 ./README.ALT.koi8-r
%post
## menu
%update_menus
%postun
## menu
%clean_menus
%files -f %name.lang
%doc AUTHORS README ChangeLog HACKING INSTALL faq.html README.ALT.koi8-r
%attr(755,root,root) %_bindir/%name
/etc/X11/wmconfig/xchat
%_datadir/pixmaps/%name.*
%_menudir/%name
%_iconsdir/%name.png
%_miconsdir/%name.png
%_liconsdir/%name.png
%xchatpluginsdir/python.so
%xchatpluginsdir/perl.so
%changelog
…
Полный changelog можно просмотреть здесь