]> git.pld-linux.org Git - packages/xchat-gnome.git/blobdiff - xchat-gnome.spec
- release 12 (by relup.sh)
[packages/xchat-gnome.git] / xchat-gnome.spec
index cb6649de5260e5cb246eac5e4f785cdba64c4102..53173dfa6756b32d4f6acfbf4464b407ad1908bb 100644 (file)
@@ -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.7
-Release:       0.1
+Version:       0.26.1
+Release:       12
+License:       GPL v2+
 Group:         X11/Applications/Networking
-License:       GPL
-Source0:       http://flapjack.navi.cx/releases/%{name}/%{name}-%{version}.tar.bz2
-# Source0-md5: a5f0940ee6389d58222a04facca0aa0d
-Patch0:        xchat-long-delimiter.patch
-URL:           http://xchat.org/
-BuildRequires: gettext-devel
-BuildRequires: gtk+2-devel >= 2.0.0
-BuildRequires: python-devel
-Requires(post):        GConf2
-Conflicts:     xchat
+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-tools
+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,67 +76,86 @@ 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 \
+       --enable-compile-warnings=minimum \
+       --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}/dbus.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
-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 --with-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-remote
-%attr(755,root,root) %{_bindir}/xchat
-%dir %{_libdir}/xchat
-%dir %{_libdir}/xchat/plugins
-%attr(755,root,root) %{_libdir}/xchat/plugins/dbus.so
-%attr(755,root,root) %{_libdir}/xchat/plugins/notification.so
-%attr(755,root,root) %{_libdir}/xchat/plugins/urlscraper.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
-%{_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*
 
 %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
This page took 0.102948 seconds and 4 git commands to generate.