Name: select2 Version: 2.1 Release: 1%{?dist} Summary: jQuery based replacement for select boxes Group: Development/Libraries License: ASL 2.0 URL: http://ivaynberg.github.com/select2/ Source0: https://github.com/downloads/ivaynberg/select2/select2-2.1.zip Source1: select2.conf BuildArch: noarch %description Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results. Look and feel of Select2 is based on the excellent Chosen library. %prep %setup -q %install install -Dpm 0644 select2.js %{buildroot}%{_datadir}/%{name}/js/select2.js install -Dpm 0644 select2.min.js %{buildroot}%{_datadir}/%{name}/js/select2.min.js install -Dpm 0644 select2.css %{buildroot}%{_datadir}/%{name}/css/select2.css install -Dpm 0644 select2.png %{buildroot}%{_datadir}/%{name}/img/select2.png install -Dpm 0644 spinner.gif %{buildroot}%{_datadir}/%{name}/img/spinner.gif install -Dpm 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/httpd/conf.d/select2.conf %files %doc README.md %{_datadir}/%{name}/ %config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf %changelog * Tue Jul 31 2012 Richard Marko - 2.1-1 - Initial packaging