]> git.pld-linux.org Git - packages/teg.git/commitdiff
- new style macros, rel. 5
authorpaladine <paladine@pld-linux.org>
Fri, 29 Apr 2005 18:34:28 +0000 (18:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    teg.spec -> 1.17

teg.spec

index 7219a8aea3dc19696fc1ea5c75e9c1cbedbc7a8b..3f931846ccd6faf7ca34b6715294ecbd81720753 100644 (file)
--- a/teg.spec
+++ b/teg.spec
@@ -2,7 +2,7 @@ Summary:        Risk clone
 Summary(pl):   Klon Ryzyka
 Name:          teg
 Version:       0.11.0
-Release:       4
+Release:       5
 License:       GPL
 Group:         X11/Applications/Games
 Source0:       http://dl.sourceforge.net/teg/%{name}-%{version}.tar.bz2
@@ -15,7 +15,8 @@ BuildRequires:        libgnome-devel >= 2.0.0
 BuildRequires: libgnomeui-devel >= 2.0.0
 BuildRequires: libxml2-devel >= 2.4.0
 BuildRequires: readline-devel
-Requires(post):        GConf2
+BuildRequires: rpmbuild(macros) >= 1.197
+Requires(post,preun):  GConf2
 Requires:      glib2 >= 2.0.0
 Requires:      libgnome >= 2.0.0
 Requires:      libgnomeui >= 2.0.0
@@ -41,7 +42,6 @@ cp -f /usr/share/automake/config.* .
 %configure \
        --with-readline \
        --without-static
-
 %{__make}
 
 %install
@@ -58,7 +58,10 @@ rm -rf $RPM_BUILD_ROOT
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%gconf_schema_install
+%gconf_schema_install teg.schemas
+
+%preun
+%gconf_schema_uninstall teg.schemas
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
This page took 0.100433 seconds and 4 git commands to generate.