Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:greg_hellings:fedora-mingw
qooxdoo3.0
qooxdoo3.0.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qooxdoo3.0.spec of Package qooxdoo3.0
%define _version_series 3.0 %define _version_patch .1 %define install_tools generator create-application Name: qooxdoo%{_version_series} Version: %{_version_series}%{_version_patch} Release: 1%{?dist} Summary: A rich JavaScript class, event, and widget framework #Group: License: LGPLv2.1+ or EPL URL: http://www.qooxdoo.org Source0: http://download.sourceforge.net/project/qooxdoo/qooxdoo-current/%{_version_series}/qooxdoo-%{version}-sdk.zip Requires: python Obsoletes: qooxdoo Requires(post): %{_sbindir}/update-alternatives Requires(postun): %{_sbindir}/update-alternatives BuildArch: noarch %description Qooxdoo is a rich JavaScript framework that includes a full class, interface and mixin inheritance structure, data binding, MVC distinctions and more. It also supports a full set of GUI widgets for use in a browser and a set of mobile widgets to optimize display in mobile browsers. It can be used as well in non-browser environments such as Node.js and WebSockets where there is no document or window global variable. %prep %setup -q -n qooxdoo-%{version}-sdk %build # Nothing to build %install # Releases in the same series are guaranteed to be API-identical, but # there is no reason a person couldn't at some point have multiple # versions installed between 1.4 and 2.1 for example. We will still # enable them to do this DEST_DIR=${RPM_BUILD_ROOT}%{_datadir}/qooxdoo-%{_version_series} mkdir -p ${DEST_DIR} mv framework ${DEST_DIR} mv tool ${DEST_DIR} mv component ${DEST_DIR} mv application ${DEST_DIR} mv version.txt ${DEST_DIR} # This is actually required for proper operation mkdir -p ${RPM_BUILD_ROOT}%{_bindir} # Not sure if alternatives is the right way to go here for tool in %{install_tools}; do ln -s ../..%{_datadir}/qooxdoo-%{_version_series}/tool/bin/${tool}.py \ ${RPM_BUILD_ROOT}%{_bindir}/${tool}-%{_version_series}.py touch ${RPM_BUILD_ROOT}%{_bindir}/${tool}.py done %post for tool in %{install_tools}; do %{_sbindir}/update-alternatives --install ${_bindir}/${tool}.py \ ${tool}.py %{_bindir}/${tool}-%{_version_series}.py 10 done %postun if [ $1 -eq 0 ]; then for tool in %{install_tools}; do %{_sbindir}/update-alternatives --remove ${tools}.py \ %{_bindir}/${tools}-%{_version_series}.py done fi %files %doc license.txt %{_datadir}/qooxdoo-%{_version_series} %{_bindir}/create-application-%{_version_series}.py %{_bindir}/generator-%{_version_series}.py %ghost %{_bindir}/create-application.py %ghost %{_bindir}/generator.py %changelog * Tue Nov 5 2013 Greg Hellings <greg.hellings@gmail.com> - 3.0.1-1 - New upstream release * Thu Aug 29 2013 Greg Hellings <greg.hellings@gmail.com> - 3.0-1 - Support for more versions * Fri Nov 30 2012 Greg Hellings <greg.hellings@gmail.com> - 2.1-1 - Initial packaging
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor