Browse code

BUG 2058100 : Add xorriso package

Adding xorriso package for photon.

Change-Id: I3a826f30afea81c620e9f2b4d829e5266440ad51
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/5270
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Alexey Makhalov <amakhalov@vmware.com>
Reviewed-by: Sharath George
(cherry picked from commit 0d677ef664666585248283b3e059870404210352)
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/5283

Keerthana K authored on 2018/06/14 01:00:17
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,62 @@
0
+Summary:       ISO-9660 and Rock Ridge image manipulation tool
1
+Name:          xorriso
2
+Version:       1.4.8
3
+Release:       1%{?dist}
4
+License:       GPL-2.0 GPL-3.0 LGPL-2.1
5
+URL:           https://mirrors.kernel.org/gnu/xorriso/%{name}-%{version}.tar.gz
6
+Group:         Development/Tools
7
+Vendor:        VMware, Inc.
8
+Distribution:  Photon
9
+Source0:       https://mirrors.kernel.org/gnu/xorriso/%{name}-%{version}.tar.gz
10
+%define sha1   xorriso=44a8412ee19807695181fee06b9569d3fe442e52
11
+BuildRequires: acl
12
+BuildRequires: attr
13
+BuildRequires: bzip2
14
+BuildRequires: pkg-config
15
+BuildRequires: zlib
16
+
17
+%description
18
+Xorriso is a program which copies file objects from POSIX compliant
19
+filesystems into Rock Ridge enhanced ISO-9660 filesystems and allows
20
+session-wise manipulation of such filesystems.
21
+
22
+%package doc
23
+Summary: Documentation for xorriso package
24
+Group:   Documentation
25
+
26
+%description doc
27
+Documentation for xorriso package
28
+
29
+%prep
30
+%setup -q -n %{name}-%{version}
31
+
32
+%build
33
+export LANG=C
34
+%configure --disable-static
35
+make  %{?_smp_mflags}
36
+
37
+%check
38
+export LANG=C
39
+make VERBOSE=1 V=1 %{?_smp_mflags} check
40
+
41
+%install
42
+rm -rf %{buildroot}
43
+%make_install
44
+
45
+%files
46
+%defattr(-,root,root,-)
47
+%exclude %{_bindir}/xorriso-tcltk
48
+%{_bindir}/xorrisofs
49
+%{_bindir}/xorrecord
50
+%{_bindir}/osirrox
51
+%{_bindir}/xorriso
52
+
53
+%files doc
54
+%defattr(-,root,root,-)
55
+%doc %{_mandir}/man1/*
56
+%doc %{_infodir}/*
57
+
58
+%changelog
59
+*	Tue Jun 12 2018 Keerthana K <keerthanak@vmware.com> 1.4.8-1
60
+-	Initial build. First Version
61
+