Name: dojo Version: 1.1.1 Release: 2%{?dist} Summary: Dojo javascript library Group: Applications/Publishing # See http://dojotoolkit.org/license # and http://trac.dojotoolkit.org/browser/dojo/trunk/LICENSE # The LICENSE files in the tarball are as follows: # dojo/LICENSE: BSD or AFL2.1 # dojo/_firebug/LICENSE: BSD # dojo/cldr/LICENSE: MIT # dojo/resources/LICENSE: BSD # dojox/LICENSE: BSD or AFL2.1 # dojox/_sql/LICENSE: BSD # dojox/encoding/LICENSE: BSD # dojox/lang/LICENSE: MIT # dijit/LICENSE: BSD or AFL2.1 # util/doh/LICENSE: BSD or AFL2.1 # util/doh/_sounds/LICENSE: file has this text: # License Disclaimer: # # All contents of this directory are Copyright (c) the Dojo Foundation, with the # following exceptions: # ------------------------------------------------------------------------------- # # woohoo.wav, doh.wav, dohaaa.wav: # * Copyright original authors. # Copied from: # http://simpson-homer.com/homer-simpson-soundboard.html # # However, that web site doesn't give provenance information or licensing info. # For safety's sake, we don't ship these sound files in the built package # (they appear to merely be "cute" sound effects for the test-running harness # and thus unrelated to the primary function of the package) License: (BSD or AFL2.1) and MIT and BSD URL: http://dojotoolkit.org/ Source0: http://download.dojotoolkit.org/release-1.1.1/dojo-release-1.1.1.tar.gz Source1: %{name}.conf BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: httpd %description Dojo is a JavaScript toolkit, providing cross-browser abstractions and widgets for building dynamic web sites. %prep %setup -q -n %{name}-release-%{version} # Delete sound files with unknown licensing from built package: rm -rf %{_builddir}/%{name}-release-%{version}/util/doh/_sounds %build %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name} # Move licensing and documentation to docdir: pushd %{_builddir}/dojo-release-%{version} for f in `find . -name LICENSE -o -name README` ; do install -m 0444 -p -D $f $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/$f rm $f done popd cp -pr ../dojo-release-%{version}/* $RPM_BUILD_ROOT%{_datadir}/%{name} mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d install -p -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf %{_datadir}/%{name} %doc %{_docdir}/%{name}-%{version}/dojo/LICENSE %doc %{_docdir}/%{name}-%{version}/dojo/_firebug/LICENSE %doc %{_docdir}/%{name}-%{version}/dojo/cldr/LICENSE %doc %{_docdir}/%{name}-%{version}/dojo/cldr/README %doc %{_docdir}/%{name}-%{version}/dojo/resources/LICENSE %doc %{_docdir}/%{name}-%{version}/dojox/analytics/README %doc %{_docdir}/%{name}-%{version}/dojox/av/README %doc %{_docdir}/%{name}-%{version}/dojox/charting/README %doc %{_docdir}/%{name}-%{version}/dojox/charting/themes/PlotKit/README %doc %{_docdir}/%{name}-%{version}/dojox/collections/README %doc %{_docdir}/%{name}-%{version}/dojox/color/README %doc %{_docdir}/%{name}-%{version}/dojox/cometd/README %doc %{_docdir}/%{name}-%{version}/dojox/crypto/README %doc %{_docdir}/%{name}-%{version}/dojox/data/README %doc %{_docdir}/%{name}-%{version}/dojox/date/README %doc %{_docdir}/%{name}-%{version}/dojox/dtl/README %doc %{_docdir}/%{name}-%{version}/dojox/flash/README %doc %{_docdir}/%{name}-%{version}/dojox/form/README %doc %{_docdir}/%{name}-%{version}/dojox/fx/README %doc %{_docdir}/%{name}-%{version}/dojox/gfx/README %doc %{_docdir}/%{name}-%{version}/dojox/gfx3d/README %doc %{_docdir}/%{name}-%{version}/dojox/grid/README %doc %{_docdir}/%{name}-%{version}/dojox/help/README %doc %{_docdir}/%{name}-%{version}/dojox/highlight/README %doc %{_docdir}/%{name}-%{version}/dojox/image/README %doc %{_docdir}/%{name}-%{version}/dojox/io/README %doc %{_docdir}/%{name}-%{version}/dojox/io/proxy/README %doc %{_docdir}/%{name}-%{version}/dojox/jsonPath/README %doc %{_docdir}/%{name}-%{version}/dojox/layout/README %doc %{_docdir}/%{name}-%{version}/dojox/math/README %doc %{_docdir}/%{name}-%{version}/dojox/off/README %doc %{_docdir}/%{name}-%{version}/dojox/presentation/README %doc %{_docdir}/%{name}-%{version}/dojox/rpc/README %doc %{_docdir}/%{name}-%{version}/dojox/sketch/README %doc %{_docdir}/%{name}-%{version}/dojox/storage/README %doc %{_docdir}/%{name}-%{version}/dojox/string/README %doc %{_docdir}/%{name}-%{version}/dojox/timing/README %doc %{_docdir}/%{name}-%{version}/dojox/uuid/README %doc %{_docdir}/%{name}-%{version}/dojox/validate/README %doc %{_docdir}/%{name}-%{version}/dojox/widget/Loader/README %doc %{_docdir}/%{name}-%{version}/dojox/widget/README %doc %{_docdir}/%{name}-%{version}/dojox/wire/README %doc %{_docdir}/%{name}-%{version}/dojox/xml/README %doc %{_docdir}/%{name}-%{version}/dojox/LICENSE %doc %{_docdir}/%{name}-%{version}/dojox/_sql/LICENSE %doc %{_docdir}/%{name}-%{version}/dojox/encoding/LICENSE %doc %{_docdir}/%{name}-%{version}/dojox/encoding/README %doc %{_docdir}/%{name}-%{version}/dojox/lang/LICENSE %doc %{_docdir}/%{name}-%{version}/dojox/lang/README %doc %{_docdir}/%{name}-%{version}/dijit/LICENSE %doc %{_docdir}/%{name}-%{version}/dijit/tests/i18n/README %doc %{_docdir}/%{name}-%{version}/util/doh/LICENSE %doc %{_docdir}/%{name}-%{version}/util/doh/README %changelog * Mon Jul 21 2008 David Malcolm - 1.1.1-2 - fix removal of dojo/util/sounds - fix mixed tabs/spaces in specfile * Tue Jul 15 2008 David Malcolm - 1.1.1-1 - initial packaging