]> git.pld-linux.org Git - packages/xchat-gnome.git/blobdiff - xchat-gnome.spec
- add gtk 2.8.9 patch
[packages/xchat-gnome.git] / xchat-gnome.spec
index 1c36710f68c3e3954f6f33c187bdb4709dee15e4..966b0326156b32badeabd6a73502baf46d33ba57 100644 (file)
@@ -3,15 +3,19 @@ Summary(de):  IRC-Client (Chat) mit grafischer Oberfl
 Summary(fr):   Client IRC (chat) avec interface graphique
 Summary(pl):   Graficzny klient IRC (chat)
 Name:          xchat-gnome
-Version:       0.3
-Release:       0
+Version:       0.7
+Release:       1
 Group:         X11/Applications/Networking
 License:       GPL
-Source0:       http://navi.cx/releases/%{name}-%{version}.tar.bz2
-# Source0-md5: c057f7fc07c039e876f68529b9994352
+Source0:       http://flapjack.navi.cx/releases/%{name}/%{name}-%{version}.tar.bz2
+# Source0-md5: a5f0940ee6389d58222a04facca0aa0d
+Patch0:        xchat-long-delimiter.patch
+Patch1:        xchat-gnome-gtk-2.8.9.patch
 URL:           http://xchat.org/
 BuildRequires: gettext-devel
 BuildRequires: gtk+2-devel >= 2.0.0
+BuildRequires: libsexy-devel
+BuildRequires: python-devel
 Requires(post):        GConf2
 Conflicts:     xchat
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -55,11 +59,14 @@ Wtyczka dodaj
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
 %configure \
        --disable-dependency-tracking \
        --enable-gnomefe \
+       --enable-ipv6 \
        --disable-tcl
 %{__make}
 
@@ -70,15 +77,14 @@ install -d $RPM_BUILD_ROOT%{_desktopdir} \
        $RPM_BUILD_ROOT%{_libdir}/xchat/plugins
 
 %makeinstall
-
-mv -f $RPM_BUILD_ROOT%{_bindir}/xchat-gnome $RPM_BUILD_ROOT%{_bindir}/xchat
+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
-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
+%find_lang xchat-gnome --with-gnome
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -88,14 +94,23 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f xchat-gnome.lang
 %defattr(644,root,root,755)
-%doc README ChangeLog faq.html COPYING plugins/plugin20.html plugins/perl/xchat2-perldocs.html
+%doc README ChangeLog faq.html plugins/plugin20.html
+%attr(755,root,root) %{_bindir}/xchat-gnome
+%attr(755,root,root) %{_bindir}/xchat-remote
 %attr(755,root,root) %{_bindir}/xchat
-%{_datadir}/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
 %{_desktopdir}/xchat-gnome.desktop
 %{_pixmapsdir}/xchat.png
 %{_pixmapsdir}/xchat-gnome.png
-%{_sysconfdir}/gconf/schemas/apps_xchat.schemas
+%{_sysconfdir}/gconf/schemas/*.schemas
+%{_omf_dest_dir}/%{name}/xchat-gnome-C.omf
+
 
 %files perl
 %defattr(644,root,root,755)
This page took 0.093498 seconds and 4 git commands to generate.