diff --git a/configure.ac b/configure.ac index 29c8ca6..cae0d62 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,12 @@ -dnl Process this file with autoconf to produce a configure script. -AC_INIT(ipc.c) -AM_INIT_AUTOMAKE(e16keyedit, 0.5) +m4_define([pkg_version], [0.5]) +m4_define([pkg_revision], [901]) +m4_define([pkg_version], m4_ifdef([pkg_revision], [pkg_version.pkg_revision], [pkg_version])) +m4_define([rpm_revision], m4_ifdef([pkg_revision], [0.`date '+%y%m%d'`], [1])) + +AC_INIT(e16keyedit, [pkg_version], [enlightenment-devel@lists.sourceforge.net]) +AM_INIT_AUTOMAKE([foreign]) + +AC_SUBST(E_RPM_REVISION, [rpm_revision]) AM_CONFIG_HEADER(config.h) diff --git a/e16keyedit.spec.in b/e16keyedit.spec.in index 381aef3..5ebd42f 100644 --- a/e16keyedit.spec.in +++ b/e16keyedit.spec.in @@ -1,7 +1,7 @@ -Summary: GUI Tool for Editing Enlightenment 0.16.x Keybindings +Summary: GUI Tool for Editing Enlightenment e16 Keybindings Name: @PACKAGE@ Version: @VERSION@ -Release: 1%{?_vendorsuffix:.%{_vendorsuffix}} +Release: @E_RPM_REVISION@%{?_vendorsuffix:.%{_vendorsuffix}} License: BSD-like Group: User Interface/Desktops Source: %{name}-%{version}.tar.gz @@ -12,10 +12,11 @@ Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:any} #BuildSuggests: gtk-devel Prefix: %{_prefix} BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root +Obsoletes: e16-keyedit %description e16keyedit provides a graphical interface for managing keybindings in -Enlightenment 0.16.x. +Enlightenment e16. %prep %setup -q