Browse code

Adding ruby packages, provides for apache2, sqlite3 and updating packages_extra.json

Change-Id: Ib407a5a7de6e497cb2c74a807622120d7736d4b7
Reviewed-on: http://photon-jenkins.eng.vmware.com/134
Tested-by: jenkins-photon <wangnan2015@hotmail.com>
Reviewed-by: Sharath George

Sharath George authored on 2015/11/14 05:47:29
Showing 6 changed files
... ...
@@ -21,6 +21,7 @@ Requires:   pcre
21 21
 Requires:   apr-util
22 22
 Requires:   openssl
23 23
 Requires:   openldap
24
+Provides:	apache2
24 25
 %description
25 26
 The Apache HTTP Server.
26 27
 
... ...
@@ -89,7 +90,7 @@ Restart=always
89 89
 WantedBy=multi-user.target
90 90
 
91 91
 EOF
92
-
92
+ln -s /usr/sbin/httpd %{buildroot}/usr/sbin/apache2
93 93
 %post
94 94
 /sbin/ldconfig
95 95
 if ! getent group apache >/dev/null; then
... ...
@@ -10,7 +10,7 @@ License: BSD
10 10
 URL: https://rubygems.org/gems/%{gem_name}
11 11
 Source0: https://rubygems.org/downloads/libxml-ruby-%{version}.gem
12 12
 %define sha1 libxml-ruby=6eb8d10c1ec340939bc0e5610a145e4933c67635
13
-BuildRequires: ruby
13
+BuildRequires: ruby libxml2-devel 
14 14
 Requires: ruby
15 15
 %description
16 16
 Provides Ruby language bindings for the GNOME Libxml2 XML toolkit
17 17
new file mode 100644
... ...
@@ -0,0 +1,32 @@
0
+%global debug_package %{nil}
1
+%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
2
+%global gem_name mini_portile
3
+
4
+Name: rubygem-mini_portile
5
+Version: 0.6.2
6
+Release: 1%{?dist}
7
+Summary: Simplistic port-like solution for developers
8
+Group: Development/Languages
9
+License: MIT
10
+URL: https://rubygems.org/gems/mini_portile/
11
+Source0: https://rubygems.org/downloads/mini_portile-%{version}.gem
12
+%define sha1 mini_portile=696b940eb4ff8076a2080684046da1d2b10f41b8
13
+BuildRequires: ruby
14
+Requires: ruby
15
+%description
16
+Simplistic port-like solution for developers. It provides a standard and simplified way to compile against dependency libraries without messing up your system.
17
+
18
+%prep
19
+%setup -q -c -T
20
+%build
21
+
22
+%install
23
+gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
24
+
25
+%files
26
+%defattr(-,root,root,-)
27
+%{gemdir}
28
+
29
+%changelog
30
+* Wed Nov 11 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 0.6.2-1
31
+- Initial build
0 32
new file mode 100644
... ...
@@ -0,0 +1,32 @@
0
+%global debug_package %{nil}
1
+%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
2
+%global gem_name nokogiri
3
+
4
+Name: rubygem-nokogiri
5
+Version: 1.6.6.2
6
+Release: 1%{?dist}
7
+Summary: Nokogiri is an HTML, XML, SAX, and Reader parser.
8
+Group: Development/Languages
9
+License: MIT
10
+URL: https://rubygems.org/gems/nokogiri/
11
+Source0: https://rubygems.org/downloads/nokogiri-%{version}-java.gem
12
+%define sha1 nokogiri=f73aff1a141bb13682f335d6f051c50878a55539
13
+BuildRequires: ruby
14
+Requires: ruby
15
+%description
16
+Nokogiri is an HTML, XML, SAX, and Reader parser. Among Nokogiri's many features is the ability to search documents via XPath or CSS3 selectors.
17
+%prep
18
+%setup -q -c -T
19
+%build
20
+
21
+%install
22
+gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
23
+
24
+%files
25
+%defattr(-,root,root,-)
26
+%{gemdir}
27
+
28
+%changelog
29
+* Wed Nov 11 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.6.6.2-1
30
+- Initial build
31
+
... ...
@@ -10,6 +10,7 @@ Distribution: Photon
10 10
 Source0:	http://sqlite.org/2014/%{name}-%{version}.tar.gz
11 11
 %define sha1 sqlite-autoconf=a9b0a3d66fb5c2ae51ad2d8a512ca827adc7d59c
12 12
 Obsoletes:	libsqlite
13
+Provides:	sqlite3
13 14
 %description
14 15
 This package contains most of the static files that comprise the
15 16
 www.sqlite.org website including all of the SQL Syntax and the 
... ...
@@ -1,13 +1,81 @@
1 1
 {
2
-    "packages":["google-daemon", "google-startup-scripts","autogen","cronie","gc","gnutls","guile",
3
-		"json-c","libestr","libgcrypt","liblogging","librelp","libtasn1","libunistring","nettle","rsyslog",
4
-		"device-mapper-multipath","NetworkManager","NetworkManager-devel","dbus-glib","libndp","libnl",
5
-		"dbus-glib-devel","libndp-devel","libnl-devel","logrotate","kpartx","autogen-libopts", "autogen-libopts-devel","gc-devel",
6
-		"gnutls-devel","guile-devel","json-c-devel","libestr-devel","libgcrypt-devel","liblogging-devel",
7
-		"librelp-devel","libtasn1-devel","libunistring-devel","nettle-devel",
8
-	        "apache-ant","ant-contrib","apache-maven","apache-tomcat","jna","gnome-common","libgudev",
9
-		"dhcp-client","dhcp-server","dhcp-libs","dhcp-devel","initscripts","net-tools",
10
-	        "jaxws-ri","commons-daemon","runit", "python-pyasn1", "WALinuxAgent", "linux-esx",
11
-	        "python-Twisted", "python-zope.interface", "python-ipaddr", "chkconfig", "libnss-ato",
12
-		"procmail","dmidecode","iperf","atftp"]
2
+    "packages":[
3
+        "google-daemon", 
4
+        "google-startup-scripts",
5
+        "autogen",
6
+        "cronie",
7
+        "gc",
8
+        "gnutls",
9
+        "guile",
10
+        "json-c",
11
+        "libestr",
12
+        "libgcrypt",
13
+        "liblogging",
14
+        "librelp",
15
+        "libtasn1",
16
+        "libunistring",
17
+        "nettle",
18
+        "rsyslog",
19
+        "device-mapper-multipath",
20
+        "NetworkManager",
21
+        "NetworkManager-devel",
22
+        "dbus-glib",
23
+        "libndp",
24
+        "libnl",
25
+        "dbus-glib-devel",
26
+        "libndp-devel",
27
+        "libnl-devel",
28
+        "logrotate",
29
+        "kpartx",
30
+        "autogen-libopts", 
31
+        "autogen-libopts-devel",
32
+        "gc-devel",
33
+        "gnutls-devel",
34
+        "guile-devel",
35
+        "json-c-devel",
36
+        "libestr-devel",
37
+        "libgcrypt-devel",
38
+        "liblogging-devel",
39
+        "librelp-devel",
40
+        "libtasn1-devel",
41
+        "libunistring-devel",
42
+        "nettle-devel",
43
+        "apache-ant",
44
+        "ant-contrib",
45
+        "apache-maven",
46
+        "apache-tomcat",
47
+        "jna",
48
+        "gnome-common",
49
+        "libgudev",
50
+        "dhcp-client",
51
+        "dhcp-server",
52
+        "dhcp-libs",
53
+        "dhcp-devel",
54
+        "initscripts",
55
+        "net-tools",
56
+        "jaxws-ri",
57
+        "commons-daemon",
58
+        "runit", 
59
+        "python-pyasn1", 
60
+        "WALinuxAgent", 
61
+        "linux-esx",
62
+        "python-Twisted", 
63
+        "python-zope.interface", 
64
+        "python-ipaddr", 
65
+        "chkconfig", 
66
+        "libnss-ato",
67
+        "procmail",
68
+        "dmidecode",
69
+        "iperf",
70
+        "atftp", 
71
+        "rubygem-backports", 
72
+        "rubygem-builder", 
73
+        "rubygem-highline",
74
+        "rubygem-terminal-table", 
75
+        "rubygem-libxml-ruby", 
76
+        "rubygem-zip", 
77
+        "rubygem-trollop", 
78
+        "rubygem-nokogiri", 
79
+        "rubygem-mini_portile"
80
+            ]
13 81
 }