]> git.pld-linux.org Git - SPECS.git/blob - jquery-ui-touch-punch.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / jquery-ui-touch-punch.spec
1 %define         plugin  touch-punch
2 Summary:        Touch Event Support for jQuery UI
3 Name:           jquery-ui-%{plugin}
4 Version:        0.2.2
5 Release:        1
6 License:        MIT or GPL v2
7 Group:          Applications/WWW
8 Source0:        https://github.com/furf/jquery-ui-touch-punch/tarball/master/%{name}-%{version}.tgz
9 # Source0-md5:  e1d0c6664da0b889fcea1a17d21c3e80
10 URL:            http://touchpunch.furf.com/
11 BuildRequires:  rpmbuild(macros) >= 1.268
12 BuildRequires:  unzip
13 # depends: jquery.ui.widget.js, jquery.ui.mouse.js
14 Requires:       jquery-ui
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _appdir %{_datadir}/jquery/ui/%{plugin}
19
20 %description
21 jQuery UI Touch Punch is a small hack that enables the use of touch
22 events on sites using the jQuery UI user interface library.
23
24 %prep
25 %setup -qc
26 mv *-%{plugin}-*/* .
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT%{_appdir}
31 cp -p jquery.ui.%{plugin}.min.js  $RPM_BUILD_ROOT%{_appdir}/%{plugin}-%{version}.min.js
32 cp -p jquery.ui.%{plugin}.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}-%{version}.js
33 ln -s %{plugin}-%{version}.min.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}.js
34
35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38 %files
39 %defattr(644,root,root,755)
40 %doc README.md
41 %{_appdir}
This page took 0.218476 seconds and 3 git commands to generate.