File e16keyedit.spec of Package e16keyedit
#
# spec file for package e16keyedit (svn Version _20100516_r48925)
#
# Copyright (c) 2008 SOAD Project, Russia.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bug fixes or comments to the Maintainer: sda00@himki.net
#
# norootforbuild
Name: e16keyedit
Version: svn_20100516_r48925
Release: SOAD.1
License: BSD
URL: http://enlightenment.org/p.php?p=about&l=en
#Provides: %{name}
BuildRoot: %{_tmppath}/%{name}%{version}build
Source: %{name}_20100516_r48925.tar.bz2
Packager: sda00 <sda00@himki.net>
Group: System/GUI/Enlightenment/Tools
Summary: This is a standalone keybindings editor for enlightenment version 0.16
%if 0%{?suse_version} > 1030 || 0%{?sles_version} == 11
# core
BuildRequires: gcc-c++ gcc iputils subversion m4 autoconf automake libtool glibc-devel zlib-devel libjpeg-devel doxygen gzip
# functional extensions
BuildRequires: libxml2-devel libxslt-devel pkg-config zlib-devel gtk2-devel
BuildRequires: xorg-x11-devel
%endif
%if 0%{?suse_version} == 1030
# core
BuildRequires: gcc-c++ gcc iputils subversion m4 autoconf automake libtool glibc-devel zlib-devel libjpeg-devel doxygen gzip
# functional extensions
BuildRequires: libxml2-devel libxslt-devel pkg-config zlib-devel gtk2-devel
BuildRequires: xorg-x11-devel
%endif
%if 0%{?fedora_version}
BuildRequires: zlib-devel pkgconfig gnutls-devel subversion automake doxygen m4 autoconf gzip bzip2 tar libxslt-devel libxml2-devel
BuildRequires: gettext-devel pango-devel gtk2-devel
%endif
%if 0%{?mandriva_version}
%ifarch x86_64
BuildRequires: zlib1-devel zlib1 pkgconfig lib64gnutls-devel subversion automake doxygen m4 autoconf gzip bzip2 tar lib64xslt-devel lib64xml2-devel lib64xslt1
BuildRequires: lib64pango1.0-devel lib64pango1.0_0 lib64gtk+2.0_0-devel lib64gtk+2.0_0
%else
BuildRequires: zlib-devel pkgconfig libgnutls-devel subversion automake doxygen m4 autoconf gzip bzip2 tar libxslt-devel libxml2-devel libxslt1
BuildRequires: libpango1.0_0 libpango1.0-devel libgtk+2.0_0-devel libgtk+2.0_0
%endif
%endif
##Requires: E16
%description
e16keyedit is a simple tool written on gtk to edit your '$HOME/.e16/bindings.cfg' file.
You can always update your e16keyedit to the current state just by rebuilding the .spec file:
>rpmbuild -bb e16keyedit.spec
or by rebuilding the .src.rpm file itself:
>rpmbuild --rebuild e16keyedit*.src.rpm
The new compiled .rpm will be available in /usr/src/packages/RPM/_your_PC_type/
Prepared by SOAD project.
##########################################
## insert here "debug-package" macro for a local builds
##########################################
%prep
rm -rf "$RPM_BUILD_ROOT"
#%setup -q
%if 0%{?suse_version} || 0%{?sles_version}
%{?suse_update_config:%{suse_update_config -f}}
%endif
%build
%install
if [ "`ping enlightenment.org -c 10 2>&1 | grep icmp_seq`" != "" ] ; then
svn co http://svn.enlightenment.org/svn/e/trunk/E16/e16keyedit
cd e16keyedit
./autogen.sh
else
tar xfmjv $RPM_SOURCE_DIR/e16keyedit_20100516_r48925.tar.bz2
cd E16/e16keyedit
./autogen.sh
fi
export PATH=":/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/opt/ecomorph/bin:/opt/ecomorph/sbin:/usr/lib/mpi/gcc/openmpi/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/gnome/bin:$PATH"
%configure
make %{?_smp_mflags}
%makeinstall
find $RPM_BUILD_ROOT/ -type f -iname '*.la' -exec rm {} \;
find $RPM_BUILD_ROOT/ -type f -iname '*.a' -exec rm {} \;
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
%{_bindir}/*
%changelog
* Mon Apr 20 2009 version E-DR17-999-050 <sda00@himki.net>
- first "rev1" is packaged according to the Release Schedule - http://trac.enlightenment.org/e/wiki/ReleaseSchedule
* Fri Apr 17 2009 version E-DR17-999-050 <sda00@himki.net>
- added online rebuild capability of .src.rpm or .spec files
- prepare to the first official "rev1" snapshot build