[js-yui2] Add jenkins subpackage

Michal Srb msrb at fedoraproject.org
Sun Sep 28 07:53:22 UTC 2014


commit 342f3d77873b85e298c2f317ffbb1d0d744758b5
Author: Michal Srb <msrb at redhat.com>
Date:   Fri Sep 26 20:26:27 2014 +0200

    Add jenkins subpackage

 js-yui2.spec |   23 ++++++++++++++++++++++-
 1 files changed, 22 insertions(+), 1 deletions(-)
---
diff --git a/js-yui2.spec b/js-yui2.spec
index 657ae55..58398a4 100644
--- a/js-yui2.spec
+++ b/js-yui2.spec
@@ -1,6 +1,6 @@
 Name:           js-yui2
 Version:        2.9.0
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Yahoo User Interface JavaScript library
 
 # Public Domain (partially):
@@ -30,6 +30,18 @@ version of the library that has been in production since 2006. The
 code line is comprised of a comprehensive collection of over 30
 utilities and widgets.
 
+%package jenkins
+Summary:        Yahoo User Interface JavaScript library for Jenkins
+
+%description jenkins
+YUI Library is a set of utilities and controls written in JavaScript,
+for building richly interactive web applications. YUI 2 is a mature
+version of the library that has been in production since 2006. The
+code line is comprised of a comprehensive collection of over 30
+utilities and widgets.
+
+This package installs YUI2 library to Jenkins webapp directory.
+
 %prep
 %setup -q -n js-yui-%{version}
 
@@ -48,12 +60,21 @@ cp %{SOURCE1} .
 %install
 mkdir -p %{buildroot}%{_jsdir}/%{name}
 cp -pr build/* %{buildroot}%{_jsdir}/%{name}
+mkdir -p %{buildroot}%{_datadir}/jenkins/war/scripts/
+cp -pr build/ %{buildroot}%{_datadir}/jenkins/war/scripts/yui
 
 %files
 %{_jsdir}/%{name}
 %doc LICENSE-BSD
 
+%files jenkins
+%{_datadir}/jenkins/war/scripts/yui
+%doc LICENSE-BSD
+
 %changelog
+* Fri Sep 26 2014 Michal Srb <msrb at redhat.com> - 2.9.0-6
+- Add jenkins subpackage
+
 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.9.0-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list