X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=xchat-gnome.spec;h=e8cb664d28e9d2616f998c5906258b55a23d7cc4;hb=0ae78fa;hp=7518ea34400f80d395d2bd46fcf71f6e996377bb;hpb=0a4e8a9e414caa57d4615478d9dd7a18b95d0953;p=packages%2Fxchat-gnome.git diff --git a/xchat-gnome.spec b/xchat-gnome.spec index 7518ea3..e8cb664 100644 --- a/xchat-gnome.spec +++ b/xchat-gnome.spec @@ -1,21 +1,45 @@ Summary: Graphical IRC (chat) client -Summary(de): IRC-Client (Chat) mit grafischer Oberfläche -Summary(fr): Client IRC (chat) avec interface graphique -Summary(pl): Graficzny klient IRC (chat) +Summary(de.UTF-8): IRC-Client (Chat) mit grafischer Oberfläche +Summary(fr.UTF-8): Client IRC (chat) avec interface graphique +Summary(pl.UTF-8): Graficzny klient IRC (chat) Name: xchat-gnome -Version: 0.5 -Release: 0.1 +Version: 0.26.1 +Release: 4 +License: GPL v2+ Group: X11/Applications/Networking -License: GPL -Source0: http://flapjack.navi.cx/releases/%{name}/%{name}-%{version}.tar.bz2 -# Source0-md5: 5b2a8a3abae883f68695d9bcf65a568b -Patch0: xchat-long-delimiter.patch -URL: http://xchat.org/ +Source0: http://ftp.gnome.org/pub/GNOME/sources/xchat-gnome/0.26/%{name}-%{version}.tar.bz2 +# Source0-md5: c9ce3d6e549736edfc1a1dc0282fb363 +Patch0: %{name}-long-delimiter.patch +Patch1: %{name}-notify.patch +Patch2: %{name}-makefile.patch +Patch3: perl-detect.patch +URL: http://xchat-gnome.navi.cx/ +BuildRequires: GConf2-devel >= 2.24.0 +BuildRequires: autoconf >= 2.60 +BuildRequires: automake >= 1:1.9 +BuildRequires: dbus-glib-devel >= 0.74 BuildRequires: gettext-devel -BuildRequires: gtk+2-devel >= 2.0.0 -BuildRequires: python-devel -Requires(post): GConf2 -Conflicts: xchat +BuildRequires: glib2-devel >= 1:2.18.0 +BuildRequires: gnome-common >= 2.24.0 +BuildRequires: gnome-doc-utils >= 0.14.0 +BuildRequires: gtk+2-devel >= 2:2.14.0 +BuildRequires: intltool >= 0.40.0 +BuildRequires: libcanberra-gtk-devel >= 0.3 +BuildRequires: libglade2-devel >= 1:2.6.2 +BuildRequires: libgnomeui-devel >= 2.24.0 +BuildRequires: libnotify-devel >= 0.4.0 +BuildRequires: libsexy-devel >= 0.1.11 +BuildRequires: libtool +BuildRequires: openssl-devel +BuildRequires: perl-devel +BuildRequires: pkgconfig +BuildRequires: python-devel >= 2.2.0 +BuildRequires: rpmbuild(find_lang) >= 1.23 +BuildRequires: rpmbuild(macros) >= 1.311 +BuildRequires: scrollkeeper +Requires(post,postun): gtk-update-icon-cache +Requires(post,postun): scrollkeeper +Requires(post,preun): GConf2 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -23,28 +47,28 @@ A GUI IRC client with DCC file transfers, C plugin interface, Perl and Python scripting capability, mIRC color, shaded transparency, tabbed channels and more. -%description -l pl -Klient IRC z graficznym interfejsem u¿ytkownika, z przesy³aniem plików -DCC, interfejsem do wtyczek w C, mo¿liwo¶ci± uruchamiania skryptów w -Perlu i Pythonie, obs³ug± kolorów mIRC-a, cieniowan± -przezroczysto¶ci±, zak³adkami z kana³ami itd. +%description -l pl.UTF-8 +Klient IRC z graficznym interfejsem użytkownika, z przesyłaniem plików +DCC, interfejsem do wtyczek w C, możliwością uruchamiania skryptów w +Perlu i Pythonie, obsługą kolorów mIRC-a, cieniowaną +przezroczystością, zakładkami z kanałami itd. %package perl Summary: XChat Perl plugin -Summary(pl): Wtyczka Perla do XChata +Summary(pl.UTF-8): Wtyczka Perla do XChata Group: X11/Applications/Networking Requires: %{name} = %{version}-%{release} -Requires: perl +Requires: perl-base %description perl Provides Perl scripting capability to XChat. -%description perl -l pl -Wtyczka dodaj±ca do XChata mo¿liwo¶æ uruchamiania skryptów w Perlu. +%description perl -l pl.UTF-8 +Wtyczka dodająca do XChata możliwość uruchamiania skryptów w Perlu. %package python Summary: XChat Python plugin -Summary(pl): Wtyczka Pythona do XChata +Summary(pl.UTF-8): Wtyczka Pythona do XChata Group: X11/Applications/Networking Requires: %{name} = %{version}-%{release} Requires: python >= 2.2.0 @@ -52,62 +76,85 @@ Requires: python >= 2.2.0 %description python Provides Python scripting capability to XChat. -%description python -l pl -Wtyczka dodaj±ca do XChata mo¿liwo¶æ uruchamiania skryptów w Pythonie. +%description python -l pl.UTF-8 +Wtyczka dodająca do XChata możliwość uruchamiania skryptów w Pythonie. %prep %setup -q %patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 %build +%{__libtoolize} +%{__intltoolize} +%{__aclocal} -I m4 +%{__autoconf} +%{__autoheader} +%{__automake} %configure \ - --disable-dependency-tracking \ - --enable-gnomefe \ - --enable-ipv6 \ + --disable-static \ --disable-tcl %{__make} %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT%{_desktopdir} \ - $RPM_BUILD_ROOT%{_pixmapsdir} \ - $RPM_BUILD_ROOT%{_libdir}/xchat/plugins -%makeinstall -mv -f $RPM_BUILD_ROOT%{_libdir}/perl.so $RPM_BUILD_ROOT%{_libdir}/xchat/plugins -mv -f $RPM_BUILD_ROOT%{_libdir}/python.so $RPM_BUILD_ROOT%{_libdir}/xchat/plugins -mv -f $RPM_BUILD_ROOT%{_libdir}/notification.so $RPM_BUILD_ROOT%{_libdir}/xchat/plugins -mv -f $RPM_BUILD_ROOT%{_libdir}/urlscraper.so $RPM_BUILD_ROOT%{_libdir}/xchat/plugins -rm -f $RPM_BUILD_ROOT%{_libdir}/*.la +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT -%find_lang xchat-gnome +rm $RPM_BUILD_ROOT%{_libdir}/xchat-gnome/plugins/*.la + +%find_lang %{name} --with-gnome --with-omf %clean rm -rf $RPM_BUILD_ROOT %post -%gconf_schema_install - -%files -f xchat-gnome.lang +%gconf_schema_install apps_xchat.schemas +%gconf_schema_install notification.schemas +%gconf_schema_install url_handler.schemas +%gconf_schema_install urlscraper.schemas +%scrollkeeper_update_post +%update_icon_cache hicolor + +%preun +%gconf_schema_uninstall apps_xchat.schemas +%gconf_schema_uninstall notification.schemas +%gconf_schema_uninstall url_handler.schemas +%gconf_schema_uninstall urlscraper.schemas + +%postun +%scrollkeeper_update_postun +%update_icon_cache hicolor + +%files -f %{name}.lang %defattr(644,root,root,755) -%doc README ChangeLog faq.html plugins/plugin20.html +%doc README ChangeLog %attr(755,root,root) %{_bindir}/xchat-gnome -%attr(755,root,root) %{_bindir}/xchat -%dir %{_libdir}/xchat -%dir %{_libdir}/xchat/plugins -%attr(755,root,root) %{_libdir}/xchat/plugins/urlscraper.so -%attr(755,root,root) %{_libdir}/xchat/plugins/notification.so -%{_datadir}/xchat -%{_desktopdir}/xchat.desktop +%dir %{_libdir}/xchat-gnome +%dir %{_libdir}/xchat-gnome/plugins +%attr(755,root,root) %{_libdir}/xchat-gnome/plugins/autoaway.so +%attr(755,root,root) %{_libdir}/xchat-gnome/plugins/netmonitor.so +%attr(755,root,root) %{_libdir}/xchat-gnome/plugins/notification.so +%attr(755,root,root) %{_libdir}/xchat-gnome/plugins/notifyosd.so +%attr(755,root,root) %{_libdir}/xchat-gnome/plugins/soundnotification.so +%attr(755,root,root) %{_libdir}/xchat-gnome/plugins/urlscraper.so +%{_iconsdir}/hicolor/*/apps/* +%{_datadir}/xchat-gnome %{_desktopdir}/xchat-gnome.desktop -%{_pixmapsdir}/xchat.png -%{_pixmapsdir}/xchat-gnome.png -%{_sysconfdir}/gconf/schemas/*.schemas +%{_sysconfdir}/gconf/schemas/apps_xchat.schemas +%{_sysconfdir}/gconf/schemas/notification.schemas +%{_sysconfdir}/gconf/schemas/url_handler.schemas +%{_sysconfdir}/gconf/schemas/urlscraper.schemas +%{_datadir}/dbus-1/services/org.gnome.Xchat.service +%{_mandir}/man1/xchat-gnome.1* %files perl %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/xchat/plugins/perl.so +%attr(755,root,root) %{_libdir}/xchat-gnome/plugins/perl.so %files python %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/xchat/plugins/python.so +%attr(755,root,root) %{_libdir}/xchat-gnome/plugins/python.so