]> git.pld-linux.org Git - packages/conglomerate.git/commitdiff
- use new faster rpm's GConf automation
authorpaladine <paladine@pld-linux.org>
Tue, 5 Apr 2005 23:17:19 +0000 (23:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- run scrollkeeper-update in quiet mode
- don't package deprecated gnome-mime-data stuff
- rel. 2

Changed files:
    conglomerate.spec -> 1.32

conglomerate.spec

index d476632638fdbeee0955e64483192da400d5b2ca..97936f9c661a2ef1a376b800c5b5cd1481c7323e 100644 (file)
@@ -2,7 +2,7 @@ Summary:        Free user-friendly XML editor
 Summary(pl):   Wolnodostêpny, przyjazny dla u¿ytkownika edytor XML-a
 Name:          conglomerate
 Version:       0.9.0
-Release:       1
+Release:       2
 License:       GPL v2
 Group:         X11/Applications
 Source0:       http://dl.sourceforge.net/conglomerate/%{name}-%{version}.tar.gz
@@ -10,24 +10,26 @@ Source0:    http://dl.sourceforge.net/conglomerate/%{name}-%{version}.tar.gz
 Patch0:                %{name}-desktop.patch
 Patch1:                %{name}-locale-names.patch
 URL:           http://www.conglomerate.org/
-BuildRequires: GConf2-devel >= 2.4.0
+BuildRequires: GConf2-devel >= 2.10.0
 BuildRequires: autoconf >= 2.52
 BuildRequires: automake
 BuildRequires: enchant-devel >= 0.1.0
-BuildRequires: gtk+2-devel >= 2:2.4.3
+BuildRequires: gtk+2-devel >= 2:2.6.4
 BuildRequires: gtk-doc >= 1.0
-BuildRequires: gtksourceview-devel >= 0.6
-BuildRequires: intltool >= 0.30
-BuildRequires: libglade2-devel >= 2.0.1
-BuildRequires: libgnomeprintui-devel >= 2.4.0
-BuildRequires: libgnomeui-devel >= 2.4.0
+BuildRequires: gtksourceview-devel >= 1.2.0
+BuildRequires: intltool >= 0.33
+BuildRequires: libglade2-devel >= 1:2.5.1
+BuildRequires: libgnomeprintui-devel >= 2.10.2
+BuildRequires: libgnomeui-devel >= 2.10.0-2
 BuildRequires: libtool
-BuildRequires: libxslt-devel >= 1.0.0
+BuildRequires: libxslt-devel >= 1.1.14
 BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.196
 BuildRequires: scrollkeeper
-Requires(post):        GConf2
+Requires(post,preun):  GConf2
+Requires(post,postun): desktop-file-utils
 Requires(post,postun): scrollkeeper
-Requires:      gtk+2 >= 2:2.4.3
+Requires:      gtk+2 >= 2:2.6.4
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -64,7 +66,6 @@ intltoolize --copy --force
        --disable-schemas-install \
        --with-html-dir=%{_gtkdocdir} \
        --enable-printing
-
 %{__make}
 
 %install
@@ -74,19 +75,28 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT \
        GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 
+rm -r $RPM_BUILD_ROOT%{_datadir}/{application-registry,mime-info}
+
 %find_lang %{name} --with-gnome
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/usr/bin/scrollkeeper-update
-%gconf_schema_install
-[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
+%gconf_schema_install /etc/gconf/schemas/conglomerate.schemas
+/usr/bin/scrollkeeper-update -q
+/usr/bin/update-desktop-database
+
+%preun
+if [ $1 = 0 ]; then
+       %gconf_schema_uninstall /etc/gconf/schemas/conglomerate.schemas
+fi
 
 %postun
-/usr/bin/scrollkeeper-update
-[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
+if [ $1 = 0 ]; then
+       /usr/bin/scrollkeeper-update -q
+       /usr/bin/update-desktop-database
+fi
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
@@ -98,5 +108,3 @@ rm -rf $RPM_BUILD_ROOT
 %{_pixmapsdir}/%{name}
 %{_omf_dest_dir}/*
 %{_gtkdocdir}/%{name}
-%{_datadir}/application-registry/*
-%{_datadir}/mime-info/*
This page took 0.122087 seconds and 4 git commands to generate.