Name:       js-prototype
Version:    1.7.3.0
Release:    1%{?dist}
BuildArch:  noarch

License:    MIT-0
Summary:    Object-oriented JavaScript framework
URL:        http://prototypejs.org
Source0:    https://ajax.googleapis.com/ajax/libs/prototype/%{version}/prototype.js

BuildRequires: web-assets-devel
Requires:      web-assets-filesystem


%description
Prototype is a JavaScript framework that aims to ease development of dynamic
web applications. It offers a familiar class-style OO framework, extensive
Ajax support, higher-order programming constructs, and easy DOM manipulation.


%prep
%autosetup -Tc prototype-%{version}


%build
# Nothing to build


%install
install -d -m 0755 %{buildroot}/%{_jsdir}
install -d -m 0755 %{buildroot}/%{_jsdir}/prototype
install -D -p -m 0644 %{SOURCE0} %{buildroot}/%{_jsdir}/prototype/


%files
%{_jsdir}/prototype/


%changelog
* Fri Sep 22 2023 Xavier Bachelot <xavier@bachelot.org> - 1.7.3.0-1
- Initial release