SPECS: xchat.spec - run %gconf_schema_{un,}install

megabajt megabajt at pld-linux.org
Fri Apr 6 12:54:14 CEST 2007


Author: megabajt                     Date: Fri Apr  6 10:54:14 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- run %gconf_schema_{un,}install

---- Files affected:
SPECS:
   xchat.spec (1.176 -> 1.177) 

---- Diffs:

================================================================
Index: SPECS/xchat.spec
diff -u SPECS/xchat.spec:1.176 SPECS/xchat.spec:1.177
--- SPECS/xchat.spec:1.176	Sun Apr  1 21:35:04 2007
+++ SPECS/xchat.spec	Fri Apr  6 12:54:07 2007
@@ -46,8 +46,9 @@
 BuildRequires:	perl-devel
 BuildRequires:	pkgconfig
 BuildRequires:	python-devel >= 2.2
+BuildRequires:	rpmbuild(macros) >= 1.198
 BuildRequires:	rpm-pythonprov
-Requires:	GConf2
+Requires(post,preun):	GConf2
 Requires:	perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION')
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -134,6 +135,7 @@
 %prep
 %setup -q
 %patch0 -p1
+# xchat-pl.po needs update
 #%patch1 -p1
 %patch2 -p1
 %patch3 -p1
@@ -172,6 +174,12 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%gconf_schema_install apps_xchat_url_handler.schemas
+
+%preun
+%gconf_schema_uninstall apps_xchat_url_handler.schemas
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc ChangeLog faq.html HACKING README
@@ -179,6 +187,7 @@
 %dir %{_libdir}/xchat
 %dir %{_libdir}/xchat/plugins
 %attr(755,root,root) %{_libdir}/xchat/plugins/*
+%{_datadir}/dbus-1/services/org.xchat.service.service
 %{_desktopdir}/%{name}.desktop
 %{_pixmapsdir}/%{name}.png
 %{_sysconfdir}/gconf/schemas/apps_xchat_url_handler.schemas
@@ -189,6 +198,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.177  2007/04/06 10:54:07  megabajt
+- run %gconf_schema_{un,}install
+
 Revision 1.176  2007/04/01 19:35:04  rotom
 - up to 2.6.8
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/xchat.spec?r1=1.176&r2=1.177&f=u



More information about the pld-cvs-commit mailing list