File edox-data.spec of Package edox-data
#
# spec file for package edox-data (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: edox-data
Version: svn_20100516_r48925
Release: SOAD.1
License: BSD
URL: http://enlightenment.org/p.php?p=about&l=en
BuildRoot: %{_tmppath}/%{name}%{version}build
Source: %{name}_20100516_r48925.tar.bz2
Packager: sda00 <sda00@himki.net>
Group: System/GUI/Enlightenment/Tools
Summary: Edox-data is a E16 embedded help system
BuildRequires: E16
Requires: E16
%description
edox-data is a E16 embedded help system.
You can always update your edox-data to the current state just by rebuilding the .spec file:
>rpmbuild -bb edox-data.spec
or by rebuilding the .src.rpm file itself:
>rpmbuild --rebuild edox-data*.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/edox-data
cd %{name}
./autogen.sh
else
tar xfmjv $RPM_SOURCE_DIR/edox-data_20100516_r48925.tar.bz2
cd E16/%{name}
./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)
%{_datadir}/e16/E-docs
%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