]> git.pld-linux.org Git - packages/xchat-gnome.git/commitdiff
- pl, cleanups
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 4 Mar 2005 22:33:07 +0000 (22:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    xchat-gnome.spec -> 1.2

xchat-gnome.spec

index 9822279e6181cce493b590d57d9aaf9c6fc13091..1c36710f68c3e3954f6f33c187bdb4709dee15e4 100644 (file)
 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
This page took 0.7643 seconds and 4 git commands to generate.