Author: qboosh                       Date: Fri Mar  4 22:33:12 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl, cleanups

---- Files affected:
SPECS:
   xchat-gnome.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/xchat-gnome.spec
diff -u SPECS/xchat-gnome.spec:1.1 SPECS/xchat-gnome.spec:1.2
--- SPECS/xchat-gnome.spec:1.1  Fri Mar  4 07:55:19 2005
+++ SPECS/xchat-gnome.spec      Fri Mar  4 23:33:07 2005
@@ -1,90 +1,110 @@
 # $Revision$, $Date$
 Summary:       Graphical IRC (chat) client
+Summary(de):   IRC-Client (Chat) mit grafischer Oberfläche
 Summary(fr):   Client IRC (chat) avec interface graphique
-Summary(de):   IRC-Client (Chat) mit grafischer Oberfläche
+Summary(pl):   Graficzny klient IRC (chat)
 Name:          xchat-gnome
 Version:       0.3
 Release:       0
 Group:         X11/Applications/Networking
 License:       GPL
-URL:           http://xchat.org
 Source0:       http://navi.cx/releases/%{name}-%{version}.tar.bz2
 # Source0-md5: c057f7fc07c039e876f68529b9994352
-Buildroot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+URL:           http://xchat.org/
 BuildRequires: gettext-devel
-BuildRequires: gtk+2-devel
+BuildRequires: gtk+2-devel >= 2.0.0
+Requires(post):        GConf2
 Conflicts:     xchat
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 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.
+
 %package perl
 Summary:       XChat Perl plugin
+Summary(pl):   Wtyczka Perla do XChata
 Group:         X11/Applications/Networking
-Requires:      xchat-gnome = %{version}
+Requires:      %{name} = %{version}-%{release}
 Requires:      perl
+
 %description perl
 Provides Perl scripting capability to XChat.
 
+%description perl -l pl
+Wtyczka dodająca do XChata możliwość uruchamiania skryptów w Perlu.
+
 %package python
 Summary:       XChat Python plugin
+Summary(pl):   Wtyczka Pythona do XChata
 Group:         X11/Applications/Networking
-Requires:      xchat-gnome = %{version}
-Requires:      python2 >= 2.2.0
+Requires:      %{name} = %{version}-%{release}
+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.
+
 %prep
-%setup -q -n %{name}-%{version}
+%setup -q
 
 %build
-%configure --disable-dependency-tracking --enable-gnomefe --disable-tcl
+%configure \
+       --disable-dependency-tracking \
+       --enable-gnomefe \
+       --disable-tcl
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_datadir}/applications 
$RPM_BUILD_ROOT%{_datadir}/pixmaps $RPM_BUILD_ROOT%{_libdir}/xchat/plugins
+install -d $RPM_BUILD_ROOT%{_desktopdir} \
+       $RPM_BUILD_ROOT%{_pixmapsdir} \
+       $RPM_BUILD_ROOT%{_libdir}/xchat/plugins
+
 %makeinstall
+
 mv -f $RPM_BUILD_ROOT%{_bindir}/xchat-gnome $RPM_BUILD_ROOT%{_bindir}/xchat
-strip -R .note -R .comment $RPM_BUILD_ROOT%{_libdir}/perl.so
-strip -R .note -R .comment $RPM_BUILD_ROOT%{_libdir}/python.so
-mv $RPM_BUILD_ROOT%{_libdir}/perl.so $RPM_BUILD_ROOT%{_libdir}/xchat/plugins
-mv $RPM_BUILD_ROOT%{_libdir}/python.so $RPM_BUILD_ROOT%{_libdir}/xchat/plugins
+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
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
-mv $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/apps_xchat.schemas.in.in \
-  $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/apps_xchat.schemas
+mv -f $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/apps_xchat.schemas.in.in \
+       $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/apps_xchat.schemas
 
 %find_lang xchat-gnome
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %post
-export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-gconftool-2 --makefile-install-rule \
-    %{_sysconfdir}/gconf/schemas/apps_xchat.schemas \
-    >/dev/null || :
+%gconf_schema_install
 
 %files -f xchat-gnome.lang
 %defattr(644,root,root,755)
 %doc README ChangeLog faq.html COPYING plugins/plugin20.html 
plugins/perl/xchat2-perldocs.html
 %attr(755,root,root) %{_bindir}/xchat
-%{_datadir}/applications/xchat.desktop
-%{_datadir}/pixmaps/xchat.png
 %{_datadir}/xchat/*
+%{_desktopdir}/xchat.desktop
+%{_desktopdir}/xchat-gnome.desktop
+%{_pixmapsdir}/xchat.png
+%{_pixmapsdir}/xchat-gnome.png
 %{_sysconfdir}/gconf/schemas/apps_xchat.schemas
-%{_datadir}/applications/xchat-gnome.desktop
-%{_datadir}/pixmaps/xchat-gnome.png
 
 %files perl
 %defattr(644,root,root,755)
-%{_libdir}/xchat/plugins/perl.so
+%attr(755,root,root) %{_libdir}/xchat/plugins/perl.so
 
 %files python
 %defattr(644,root,root,755)
-%{_libdir}/xchat/plugins/python.so
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+%attr(755,root,root) %{_libdir}/xchat/plugins/python.so
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -92,6 +112,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2005/03/04 22:33:07  qboosh
+- pl, cleanups
+
 Revision 1.1  2005/03/04 06:55:19  aredridel
 - added.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/xchat-gnome.spec?r1=1.1&r2=1.2&f=u


_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to