Browse code

Remove perl dependency from ostree host.

Remove perl dependency from ostree host.

Change-Id: I3f1a1021167b156efb5097918787eed0819f5b3e

xiaolin-vmware authored on 2015/10/01 03:14:47
Showing 14 changed files
... ...
@@ -22,6 +22,7 @@ BuildRequires:	python2
22 22
 BuildRequires:	python2-libs
23 23
 BuildRequires:	dhcp-client
24 24
 BuildRequires:	libsoup-devel
25
+BuildRequires:  autogen
25 26
 Requires:		libnl
26 27
 Requires:		dbus-glib
27 28
 Requires:		glib
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	The Automated Text and Program Generation Tool
2 2
 Name:		autogen
3 3
 Version:	5.18.5
4
-Release:	1%{?dist}
4
+Release:	2%{?dist}
5 5
 License:        GPLv3+
6 6
 URL:            http://www.gnu.org/software/autogen/
7 7
 Source0:        ftp://ftp.gnu.org/gnu/autogen/rel%{version}/%{name}-%{version}.tar.gz
... ...
@@ -16,17 +16,28 @@ BuildRequires:	which
16 16
 Requires:	guile
17 17
 Requires:	gc
18 18
 Requires:	gmp
19
+Requires:   %{name}-libopts
19 20
 Distribution:	Photon
20 21
 %description
21 22
 AutoGen is a tool designed to simplify the creation and maintenance of programs that contain large amounts of repetitious text. It is especially valuable in programs that have several blocks of text that must be kept synchronized.
22 23
 
23
-%package devel
24
-Summary:	Development libraries and header files for autogen
25
-Requires:	autogen
24
+%package libopts
25
+Summary:	Automated option processing library.
26
+License:	LGPLv3+
27
+Group:		System Environment/Libraries
26 28
 
27
-%description devel
28
-The package contains libraries and header files for
29
-developing applications that use autogen.
29
+%description libopts
30
+Libopts is very powerful command line option parser. 
31
+
32
+%package libopts-devel
33
+Summary:	Development files for libopts
34
+License:	LGPLv3+
35
+Group:		Development/Libraries
36
+Requires:	%{name}
37
+Requires:	%{name}-libopts
38
+
39
+%description libopts-devel
40
+This package contains development files for libopts.
30 41
 
31 42
 %prep
32 43
 %setup -q
... ...
@@ -38,25 +49,38 @@ make %{?_smp_mflags}
38 38
 make DESTDIR=%{buildroot} install
39 39
 %check
40 40
 make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
41
-%post	-p /sbin/ldconfig
42
-%postun	-p /sbin/ldconfig
41
+
42
+%post	libopts -p /sbin/ldconfig
43
+%postun	libopts -p /sbin/ldconfig
44
+
43 45
 %files
44 46
 %defattr(-,root,root)
45 47
 %{_bindir}/*
46
-%{_libdir}/*.so.*
47
-%{_libdir}/*.a
48
-%{_libdir}/*.la
48
+%exclude %{_bindir}/autoopts-config
49 49
 %{_libdir}/autogen/*.tlib
50 50
 %{_datadir}/autogen/*
51 51
 %{_mandir}/man1/*
52
-%{_mandir}/man3/*
53
-%{_datadir}/aclocal/*
54
-%files devel
52
+%exclude %{_mandir}/man1/autoopts-config.1.gz
53
+
54
+
55
+%files libopts
56
+%{_libdir}/*.so.*
57
+
58
+%files libopts-devel
55 59
 %defattr(-,root,root)
56 60
 %{_includedir}/autoopts/*.h
57 61
 %{_libdir}/*.so
58 62
 %{_libdir}/pkgconfig/*.pc
63
+%{_bindir}/autoopts-config
64
+%{_datadir}/aclocal/*
65
+%{_mandir}/man1/autoopts-config.1.gz
66
+%{_mandir}/man3/*
67
+%{_libdir}/*.a
68
+%{_libdir}/*.la
69
+
59 70
 %changelog
71
+*   Tue Sep 29 2015 Xiaolin Li <xiaolinl@vmware.com> 5.18.5-2
72
+-   Create a seperate libopts package.
60 73
 *	Thu Jun 18 2015 Divya Thaluru <dthaluru@vmware.com> 5.18.5-1
61 74
 -	Initial build. First version
62 75
 
... ...
@@ -10,7 +10,7 @@ Distribution:   Photon
10 10
 Source0:    http://ftp.gnome.org/pub/GNOME/sources/glib-networking/2.45/%{name}-%{version}.tar.xz
11 11
 %define sha1 glib-networking=e6e17d1d6ed86a99db228fcf3ea1bd7f844a0cb5
12 12
 BuildRequires:	nettle-devel
13
-BuildRequires:	autogen-devel
13
+BuildRequires:	autogen-libopts-devel
14 14
 BuildRequires:	libtasn1-devel
15 15
 BuildRequires:	ca-certificates
16 16
 BuildRequires:  gnutls-devel
... ...
@@ -20,7 +20,7 @@ BuildRequires:  glib
20 20
 BuildRequires:  glib-devel
21 21
 BuildRequires:  glib-schemas
22 22
 Requires:	nettle
23
-Requires:	autogen
23
+#Requires:	autogen-libopts
24 24
 Requires:   gnutls
25 25
 Requires:	libtasn1
26 26
 Requires:	openssl
... ...
@@ -10,12 +10,12 @@ Group:		System Environment/Libraries
10 10
 Vendor:		VMware, Inc.
11 11
 Distribution:	Photon
12 12
 BuildRequires:	nettle-devel
13
-BuildRequires:	autogen-devel
13
+BuildRequires:	autogen-libopts-devel
14 14
 BuildRequires:	libtasn1-devel
15 15
 BuildRequires:	ca-certificates
16 16
 BuildRequires:	openssl-devel
17 17
 Requires:	nettle
18
-Requires:	autogen
18
+#Requires:	autogen-libopts
19 19
 Requires:	libtasn1
20 20
 Requires:	openssl
21 21
 Requires:	ca-certificates
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:    The Apache HTTP Server
2 2
 Name:       httpd
3 3
 Version:    2.4.12
4
-Release:    2%{?dist}
4
+Release:    3%{?dist}
5 5
 License:    Apache License 2.0
6 6
 URL:        http://httpd.apache.org/
7 7
 Group:      Applications/System
... ...
@@ -38,6 +38,13 @@ Requires: httpd
38 38
 %description docs
39 39
 These are the help files of httpd.
40 40
 
41
+%package tools
42
+Group: System Environment/Daemons
43
+Summary: Tools for httpd
44
+
45
+%description tools
46
+The httpd-tools of httpd.
47
+
41 48
 %prep
42 49
 %setup -q
43 50
 %build
... ...
@@ -114,6 +121,8 @@ fi
114 114
 %defattr(-,root,root)
115 115
 %{_libdir}/*
116 116
 %{_bindir}/*
117
+%exclude %{_bindir}/apxs
118
+%exclude %{_bindir}/dbmmanage
117 119
 %{_sbindir}/*
118 120
 %{_datadir}/*
119 121
 %{_sysconfdir}/httpd/build/*
... ...
@@ -124,8 +133,14 @@ fi
124 124
 %{_sysconfdir}/httpd/icons/*
125 125
 %dir %{_sysconfdir}/httpd/logs
126 126
 
127
+%files tools
128
+%defattr(-,root,root)
129
+%{_bindir}/apxs
130
+%{_bindir}/dbmmanage
127 131
 
128 132
 %changelog
133
+*   Tue Sep 29 2015 Xiaolin Li <xiaolinl@vmware.com> 2.4.12-3
134
+-   Move perl script to tools package.
129 135
 *   Thu Jul 16 2015 Touseef Liaqat <tliaqat@vmware.com> 2.4.12-2
130 136
 -   Added service file. Changed installation paths.
131 137
 *   Wed May 20 2015 Touseef Liaqat <tliaqat@vmware.com> 2.4.12-1
... ...
@@ -10,6 +10,7 @@ Group:		System Environment/Libraries
10 10
 Vendor:		VMware, Inc.
11 11
 Distribution:	Photon
12 12
 BuildRequires:	gnutls-devel
13
+BuildRequires:	autogen
13 14
 Requires:	gnutls
14 15
 Requires:	gmp
15 16
 %description
... ...
@@ -19,6 +19,7 @@ BuildRequires:   python2-libs
19 19
 BuildRequires:   python2-devel
20 20
 BuildRequires:   python2-tools
21 21
 BuildRequires:   glib-networking
22
+BuildRequires:   autogen
22 23
 Requires:        libxml2
23 24
 Requires:        glib-networking
24 25
 
... ...
@@ -16,13 +16,14 @@ BuildRequires:	libgsystem
16 16
 BuildRequires:	xz-devel
17 17
 BuildRequires:	gtk-doc
18 18
 BuildRequires:	e2fsprogs-devel
19
+BuildRequires:  libsoup-devel
20
+BuildRequires:  autogen
19 21
 Requires:	libgsystem
20 22
 Requires:	gpgme
21 23
 Requires:	libassuan
22 24
 Requires:	libgpg-error
23 25
 Requires:   systemd
24 26
 Requires:   libsoup
25
-Requires:   libsoup-devel
26 27
 Requires:   mkinitcpio
27 28
 Requires:   dracut
28 29
 Requires:   dracut-tools
... ...
@@ -10,7 +10,6 @@ Distribution:	Photon
10 10
 Source0:	http://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.bz2
11 11
 %define sha1 postgresql=e295fee0f1bace740b2db1eaa64ac060e277d5a7
12 12
 Requires:	openssl
13
-Requires:	perl
14 13
 Requires: 	python2
15 14
 BuildRequires: 	perl
16 15
 BuildRequires:	python2
... ...
@@ -26,6 +26,7 @@ BuildRequires:	python2
26 26
 BuildRequires:	python2-libs
27 27
 BuildRequires:	gobject-introspection-devel
28 28
 BuildRequires:	gobject-introspection-python
29
+BuildRequires:  autogen
29 30
 Requires: 	systemd
30 31
 Requires: 	perl
31 32
 Requires:	gobject-introspection
... ...
@@ -32,6 +32,7 @@ BuildRequires:	attr
32 32
 BuildRequires: 	python2-libs
33 33
 BuildRequires:	python2
34 34
 BuildRequires: 	gobject-introspection-python
35
+BuildRequires:  autogen
35 36
 
36 37
 BuildRequires:	which
37 38
 BuildRequires:	popt-devel
... ...
@@ -15,6 +15,7 @@ BuildRequires:	json-c-devel
15 15
 BuildRequires:	libgcrypt-devel
16 16
 BuildRequires:	liblogging-devel
17 17
 BuildRequires:	librelp-devel
18
+BuildRequires:  autogen
18 19
 Requires:	systemd
19 20
 Requires:	libestr
20 21
 Requires:	json-c
... ...
@@ -2,7 +2,7 @@
2 2
     "packages":["google-daemon", "google-startup-scripts","autogen","cronie","gc","gnutls","guile",
3 3
 		"json-c","libestr","libgcrypt","liblogging","librelp","libtasn1","libunistring","nettle","rsyslog",
4 4
 		"device-mapper-multipath","NetworkManager","NetworkManager-devel","dbus-glib","libndp","libnl",
5
-		"dbus-glib-devel","libndp-devel","libnl-devel","logrotate","kpartx","autogen-devel","gc-devel",
5
+		"dbus-glib-devel","libndp-devel","libnl-devel","logrotate","kpartx","autogen-libopts", "autogen-libopts-devel","gc-devel",
6 6
 		"gnutls-devel","guile-devel","json-c-devel","libestr-devel","libgcrypt-devel","liblogging-devel",
7 7
 		"librelp-devel","libtasn1-devel","libunistring-devel","nettle-devel",
8 8
 	        "apache-ant","ant-contrib","apache-maven","apache-tomcat","jna","gnome-common","libgudev",
... ...
@@ -15,6 +15,8 @@
15 15
 
16 16
     "bootstrap_packages": ["filesystem"],
17 17
 
18
+    "documentation": false,
19
+
18 20
     "packages": ["glibc", "zlib", "binutils", "gmp", "mpfr", "libgcc", "libstdc++","libgomp",
19 21
                 "pkg-config", "ncurses", "bash", "bzip2", "cracklib", "cracklib-dicts", "shadow",
20 22
                 "procps-ng", "iana-etc", "readline", "coreutils", "bc", "libtool", "inetutils",