[packages/jquery-twitter-bootstrap-datepicker] new, version 2.3.1
glen
glen at pld-linux.org
Thu Oct 17 14:49:26 CEST 2013
commit fe79758308e95225924441e097f47347dec9c45c
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Oct 17 15:49:10 2013 +0300
new, version 2.3.1
jquery-twitter-bootstrap-datepicker.spec | 44 ++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
---
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}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/jquery-twitter-bootstrap-datepicker.git/commitdiff/fe79758308e95225924441e097f47347dec9c45c
More information about the pld-cvs-commit
mailing list