Enable building combined theme package.

SVN revision: 27995
This commit is contained in:
Kim Woelders 2007-01-15 05:15:40 +00:00
parent ef6f115f35
commit cc529e2a3a
8 changed files with 134 additions and 0 deletions

9
.cvsignore Normal file
View File

@ -0,0 +1,9 @@
Makefile
Makefile.in
aclocal.m4
autom4te.cache
config.log
config.status
configure
e16-themes.spec
e16-themes-0.16.*.tar.gz

1
AUTHORS Normal file
View File

@ -0,0 +1 @@
See the ABOUT/MAIN theme file.

20
COPYING Normal file
View File

@ -0,0 +1,20 @@
Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies of the Software, its documentation and marketing & publicity
materials, and acknowledgment shall be given in the documentation, materials
and software packages that this Software was used.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

5
Makefile.am Normal file
View File

@ -0,0 +1,5 @@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = $(THEMES)
EXTRA_DIST = e16-themes.spec

13
autogen.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
rm -rf */install-sh */missing
echo " aclocal $ACLOCAL_FLAGS"
aclocal $ACLOCAL_FLAGS
echo " automake --add-missing"
automake --add-missing
echo " autoconf"
autoconf
./configure "$@"

37
configure.in Normal file
View File

@ -0,0 +1,37 @@
AC_INIT(configure.in)
AM_INIT_AUTOMAKE(e16-themes, 0.16.8.0.1)
AM_MAINTAINER_MODE
THEMES="BlueSteel BrushedMetal-Tigert Ganymede ShinyMetal"
dnl reasonable guesses for where stuff is installed
if test "x$prefix" = "xNONE"; then
prefix="/usr/local"
fi
if test "x$exec_prefix" = "xNONE"; then
exec_prefix=$prefix
fi
AC_PROG_MAKE_SET
AC_PROG_INSTALL
AC_ARG_ENABLE(fsstd,
[ --enable-fsstd install files following FSSTD [default=yes]], ,enable_fsstd=yes)
if test "x$enable_fsstd" != "xyes"; then
datadir=${prefix}
fi
ENLIGHTENMENT_ROOT=`eval echo ${datadir}/e16`
AC_SUBST(ENLIGHTENMENT_ROOT)
AC_SUBST(THEMES)
AC_OUTPUT([
Makefile
BlueSteel/Makefile
BrushedMetal-Tigert/Makefile
Ganymede/Makefile
ShinyMetal/Makefile
e16-themes.spec
])

49
e16-themes.spec.in Normal file
View File

@ -0,0 +1,49 @@
%define revision 1
%define rev_name %{nil}
Summary: Enlightenment themes: BlueSteel, BrushedMetal-Tigert, Ganymede, ShinyMetal
Name: @PACKAGE@
Version: @VERSION@
Release: %{revision}%{?_vendorsuffix:.%{_vendorsuffix}}
License: BSD
Group: User Interface/Desktops
Source0: http://prdownloads.sourceforge.net/enlightenment/%{name}-%{version}%{rev_name}.tar.gz
Prefix: %{_prefix}
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
URL: http://www.enlightenment.org/
Requires: e16 >= 0.16.8
Obsoletes: etheme-BlueSteel enlightenment-theme-BlueSteel
Obsoletes: e16-theme-BlueSteel e16-theme-BrushedMetal-Tigert e16-theme-Ganymede e16-theme-ShinyMetal
%description
The BlueSteel, BrushedMetal-Tigert, Ganymede, and ShinyMetal themes for Enlightenment DR16.
This is part of the Enlightenment distribution.
%prep
%setup -n %{name}-%{version}%{rev_name}
%build
CFLAGS="${RPM_OPT_FLAGS}"
if [ ! -f configure ]; then
./autogen.sh --prefix=%{_prefix} --bindir=%{_bindir} --datadir=%{_datadir} --mandir=%{_mandir} --enable-fsstd
else
%{configure} --prefix=%{_prefix} --bindir=%{_bindir} --datadir=%{_datadir} --mandir=%{_mandir} --enable-fsstd
fi
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc AUTHORS COPYING
%{_datadir}/e16/*
%changelog