]> git.pld-linux.org Git - packages/xchat-gnome.git/blobdiff - xchat-gnome.spec
- Requires(post,postun): gtk-update-icon-cache
[packages/xchat-gnome.git] / xchat-gnome.spec
index 53925ee5f1d480746b8d89fde33a651f81630522..e4676de34f84356550c2b1eb1828ef813807433e 100644 (file)
@@ -1,26 +1,42 @@
 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.15
-Release:       1
-License:       GPL
+Version:       0.26.0
+Release:       4
+License:       GPL v2+
 Group:         X11/Applications/Networking
-Source0:       http://flapjack.navi.cx/releases/xchat-gnome/%{name}-%{version}.tar.bz2
-# Source0-md5: a0f1f011e594d85a5a5781cfc5f52221
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/xchat-gnome/0.26/%{name}-%{version}.tar.bz2
+# Source0-md5: ef230db0d104faa8dc7e5060c51f7261
 Patch0:                %{name}-long-delimiter.patch
-URL:           http://xchat.org/
-BuildRequires: enchant-devel
+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: libnotify-devel
-BuildRequires: libsexy-devel
+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: python-devel
-BuildRequires: scrollkeeper >= 0.3.11
-Requires(post):        GConf2
+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
@@ -28,28 +44,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
@@ -57,45 +73,57 @@ 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
 
 %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}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-rm $RPM_BUILD_ROOT%{_libdir}/xchat-gnome/plugins/*.a
 rm $RPM_BUILD_ROOT%{_libdir}/xchat-gnome/plugins/*.la
 
-%find_lang xchat-gnome --with-gnome
+%find_lang %{name} --with-gnome --with-omf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%gconf_schema_install
+%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 xchat-gnome.lang
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc README ChangeLog
 %attr(755,root,root) %{_bindir}/xchat-gnome
@@ -107,13 +135,13 @@ rm -rf $RPM_BUILD_ROOT
 %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
-%dir %{_datadir}/omf/xchat-gnome
 %{_iconsdir}/hicolor/*/apps/*
 %{_datadir}/xchat-gnome
 %{_desktopdir}/xchat-gnome.desktop
-#%{_pixmapsdir}/xchat-gnome.png
-%{_sysconfdir}/gconf/schemas/*.schemas
-%{_omf_dest_dir}/%{name}/xchat-gnome-C.omf
+%{_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*
 
This page took 0.032078 seconds and 4 git commands to generate.