]> git.pld-linux.org Git - packages/xchat-gnome.git/blobdiff - xchat-gnome.spec
- up to 0.10
[packages/xchat-gnome.git] / xchat-gnome.spec
index 94347b635f20d158ce8c02166183f6ad67461d4b..2aef6f5dd786babbfe05320af3c6e09202b1d127 100644 (file)
@@ -3,20 +3,22 @@ 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.7
-Release:       0.1
+Version:       0.10
+Release:       1
 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
+# Source0-md5: 1ff2b7adfc71592951ee843599a8c8f7
+Patch0:        %{name}-long-delimiter.patch
 URL:           http://xchat.org/
 BuildRequires: gettext-devel
 BuildRequires: gtk+2-devel >= 2.0.0
+BuildRequires: enchant-devel
+BuildRequires: libnotify-devel
 BuildRequires: libsexy-devel
 BuildRequires: python-devel
+BuildRequires: perl-devel
 Requires(post):        GConf2
-Conflicts:     xchat
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -71,16 +73,13 @@ Wtyczka dodaj
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_desktopdir} \
-       $RPM_BUILD_ROOT%{_pixmapsdir} \
-       $RPM_BUILD_ROOT%{_libdir}/xchat/plugins
+       $RPM_BUILD_ROOT%{_pixmapsdir}
 
-%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
+
+rm $RPM_BUILD_ROOT/%{_libdir}/xchat-gnome/plugins/*.a
+rm $RPM_BUILD_ROOT/%{_libdir}/xchat-gnome/plugins/*.la
 
 %find_lang xchat-gnome --with-gnome
 
@@ -92,19 +91,19 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f xchat-gnome.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
+%attr(755,root,root) %{_bindir}/xchat-gnome-remote
+%dir %{_libdir}/xchat-gnome
+%attr(755,root,root) %{_libdir}/xchat-gnome/plugins/autoaway.so
+%attr(755,root,root) %{_libdir}/xchat-gnome/plugins/dbus.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
+%{_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
@@ -112,8 +111,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %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.068849 seconds and 4 git commands to generate.