diff --git a/.cvsignore b/.cvsignore new file mode 100644 index 0000000..ad58878 --- /dev/null +++ b/.cvsignore @@ -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 diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..eb82ced --- /dev/null +++ b/AUTHORS @@ -0,0 +1 @@ +See the ABOUT/MAIN theme file. diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..aa68d20 --- /dev/null +++ b/COPYING @@ -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. diff --git a/Makefile b/Makefile-separate similarity index 100% rename from Makefile rename to Makefile-separate diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..8f5f677 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,5 @@ +AUTOMAKE_OPTIONS = foreign + +SUBDIRS = $(THEMES) + +EXTRA_DIST = e16-themes.spec diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..2fbd426 --- /dev/null +++ b/autogen.sh @@ -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 "$@" diff --git a/configure.in b/configure.in new file mode 100644 index 0000000..998329f --- /dev/null +++ b/configure.in @@ -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 +]) diff --git a/e16-themes.spec.in b/e16-themes.spec.in new file mode 100644 index 0000000..f5cee53 --- /dev/null +++ b/e16-themes.spec.in @@ -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