From fe79758308e95225924441e097f47347dec9c45c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 17 Oct 2013 15:49:10 +0300 Subject: [PATCH] new, version 2.3.1 --- jquery-twitter-bootstrap-datepicker.spec | 44 ++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 jquery-twitter-bootstrap-datepicker.spec diff --git a/jquery-twitter-bootstrap-datepicker.spec b/jquery-twitter-bootstrap-datepicker.spec new file mode 100644 index 0000000..485290b --- /dev/null +++ b/jquery-twitter-bootstrap-datepicker.spec @@ -0,0 +1,44 @@ +%define plugin datepicker +Summary: Bootstrap - front-end framework for faster and easier web development +Name: jquery-twitter-bootstrap-%{plugin} +Version: 2.3.1 +Release: 1 +License: Apache License v2.0 +Group: Applications/WWW +Source0: http://www.eyecon.ro/bootstrap-datepicker/datepicker.zip +# Source0-md5: 8f2fdaf53a1022d60002752289d8f7f4 +URL: http://www.eyecon.ro/bootstrap-datepicker/ +BuildRequires: unzip +Requires: jquery >= 1.7 +Requires: jquery-twitter-bootstrap +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _appdir %{_datadir}/jquery/twitter-bootstrap/%{plugin} + +%description +Sleek, intuitive, and powerful front-end framework for faster and +easier web development. + +%prep +%setup -qc +mv %{plugin}/* . + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_appdir} + +cp -p js/bootstrap-%{plugin}.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}-%{version}.js +ln -s %{plugin}-%{version}.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}.src.js +ln -s %{plugin}-%{version}.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}.js + +cp -p css/%{plugin}.css $RPM_BUILD_ROOT%{_appdir}/%{plugin}-%{version}.css +ln -s %{plugin}-%{version}.css $RPM_BUILD_ROOT%{_appdir}/%{plugin}.src.css +ln -s %{plugin}-%{version}.css $RPM_BUILD_ROOT%{_appdir}/%{plugin}.css + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%{_appdir} -- 2.44.0