Browse code

Update groff.

Change-Id: Ib55740587081f51543bcf0b554f94862cc5d4877
Reviewed-on: http://photon-jenkins.eng.vmware.com/562
Tested-by: jenkins-photon <wangnan2015@hotmail.com>
Reviewed-by: suezzelur <anishs@vmware.com>

xiaolin-vmware authored on 2016/03/04 08:18:21
Showing 4 changed files
... ...
@@ -1,6 +1,6 @@
1 1
 Summary:	Programs for processing and formatting text
2 2
 Name:		groff
3
-Version:	1.22.2
3
+Version:	1.22.3
4 4
 Release:	1%{?dist}
5 5
 License:	GPLv3+
6 6
 URL:		http://www.gnu.org/software/groff
... ...
@@ -8,7 +8,16 @@ Group:		Applications/Text
8 8
 Vendor:		VMware, Inc.
9 9
 Distribution: 	Photon
10 10
 Source0:	http://ftp.gnu.org/gnu/groff/%{name}-%{version}.tar.gz
11
-%define sha1 groff=37223941e25bb504bf54631daaabb01b147dc1d3
11
+%define sha1 groff=61a6808ea1ef715df9fa8e9b424e1f6b9fa8c091
12
+Provides:	perl(oop_fh.pl)
13
+Provides:	perl(main_subs.pl)
14
+Provides:   perl(man.pl)
15
+Provides:   perl(subs.pl)
16
+Requires: perl
17
+Requires: perl-DBI
18
+Requires: perl-DBIx-Simple
19
+Requires: perl-DBD-SQLite
20
+Requires: perl-File-HomeDir
12 21
 %description
13 22
 The Groff package contains programs for processing
14 23
 and formatting text.
... ...
@@ -16,13 +25,12 @@ and formatting text.
16 16
 %setup -q
17 17
 %build
18 18
 PAGE=letter ./configure \
19
-	--prefix=%{_prefix} 
20
-make %{?_smp_mflags}
19
+	--prefix=%{_prefix} \
20
+	--with-grofferdir=%{_datadir}/%{name}/%{version}/groffer
21
+make
21 22
 %install
22 23
 install -vdm 755 %{_defaultdocdir}/%{name}-1.22/pdf
23 24
 make DESTDIR=%{buildroot} install
24
-ln -sv eqn %{buildroot}%{_bindir}/geqn
25
-ln -sv tbl %{buildroot}%{_bindir}/gtbl
26 25
 rm -rf %{buildroot}%{_infodir}
27 26
 %post	-p /sbin/ldconfig
28 27
 %postun	-p /sbin/ldconfig
... ...
@@ -34,5 +42,7 @@ rm -rf %{buildroot}%{_infodir}
34 34
 %{_datarootdir}/%{name}/*
35 35
 %{_mandir}/*/*
36 36
 %changelog
37
+*   Tue Feb 23 2016 Xiaolin Li <xiaolinl@vmware.com> 1.22.3-1
38
+-   Updated to version 1.22.3
37 39
 *	Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 1.22.2-1
38 40
 -	Initial build. First version
39 41
new file mode 100644
... ...
@@ -0,0 +1,62 @@
0
+Summary:        File-HomeDir
1
+Name:           perl-File-HomeDir
2
+Version:        1.00
3
+Release:        1%{?dist}
4
+License:        The Perl 5 License (Artistic 1 & GPL 1)
5
+Group:          Development/Libraries
6
+URL:            http://search.cpan.org/dist/File-HomeDir/
7
+Source0:        http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/File-HomeDir-1.00.tar.gz
8
+%define sha1 File-HomeDir=c89743d57e15fba79238728f0456f80160aff024
9
+Vendor:		VMware, Inc.
10
+Distribution:	Photon
11
+BuildArch:      noarch
12
+BuildRequires:	perl
13
+Requires:	perl
14
+Requires:   perl-File-Which
15
+
16
+%description
17
+File::HomeDir is a module for locating the directories that are "owned" by a user (typicaly your user) and to solve the various issues that arise trying to find them consistently across a wide variety of platforms.
18
+
19
+%prep
20
+%setup -q -n File-HomeDir-%{version}
21
+
22
+%build
23
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
24
+make %{?_smp_mflags}
25
+
26
+%install
27
+make install DESTDIR=%{buildroot}
28
+find %{buildroot} -name 'perllocal.pod' -delete
29
+
30
+%check
31
+make test
32
+
33
+%files
34
+%{perl_vendorlib}/File/HomeDir.pm
35
+%{perl_vendorlib}/File/HomeDir/Darwin.pm
36
+%{perl_vendorlib}/File/HomeDir/Darwin/Carbon.pm
37
+%{perl_vendorlib}/File/HomeDir/Darwin/Cocoa.pm
38
+%{perl_vendorlib}/File/HomeDir/Driver.pm
39
+%{perl_vendorlib}/File/HomeDir/FreeDesktop.pm
40
+%{perl_vendorlib}/File/HomeDir/MacOS9.pm
41
+%{perl_vendorlib}/File/HomeDir/Test.pm
42
+%{perl_vendorlib}/File/HomeDir/Unix.pm
43
+%{perl_vendorlib}/File/HomeDir/Windows.pm
44
+%{_mandir}/man3
45
+%{_mandir}/man3/File::HomeDir.3.gz
46
+%{_mandir}/man3/File::HomeDir::Darwin.3.gz
47
+%{_mandir}/man3/File::HomeDir::Darwin::Carbon.3.gz
48
+%{_mandir}/man3/File::HomeDir::Darwin::Cocoa.3.gz
49
+%{_mandir}/man3/File::HomeDir::Driver.3.gz
50
+%{_mandir}/man3/File::HomeDir::FreeDesktop.3.gz
51
+%{_mandir}/man3/File::HomeDir::MacOS9.3.gz
52
+%{_mandir}/man3/File::HomeDir::Test.3.gz
53
+%{_mandir}/man3/File::HomeDir::Unix.3.gz
54
+%{_mandir}/man3/File::HomeDir::Windows.3.gz
55
+
56
+%changelog
57
+*	Thu Mar 3 2016 Xiaolin Li <xiaolinl@vmware.com> 1.00-1
58
+-	Initial version.
59
+
60
+
61
+
0 62
new file mode 100644
... ...
@@ -0,0 +1,59 @@
0
+Summary:        File-Which
1
+Name:           perl-File-Which
2
+Version:        1.21
3
+Release:        1%{?dist}
4
+License:        The Perl 5 License (Artistic 1 & GPL 1)
5
+Group:          Development/Libraries
6
+URL:            http://search.cpan.org/dist/File-Which/
7
+Source0:        http://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/File-Which-1.21.tar.gz
8
+%define sha1 File-Which=4e683d461ff4f1e0882cd06f47ad84b5eecfbabf
9
+Vendor:		VMware, Inc.
10
+Distribution:	Photon
11
+BuildArch:      noarch
12
+BuildRequires:	perl
13
+Requires:	perl
14
+
15
+%description
16
+File::Which finds the full or relative paths to executable programs on
17
+    the system. This is normally the function of which utility. which is
18
+    typically implemented as either a program or a built in shell command.
19
+    On some platforms, such as Microsoft Windows it is not provided as part
20
+    of the core operating system. This module provides a consistent API to
21
+    this functionality regardless of the underlying platform.
22
+
23
+    The focus of this module is correctness and portability. As a
24
+    consequence platforms where the current directory is implicitly part of
25
+    the search path such as Microsoft Windows will find executables in the
26
+    current directory, whereas on platforms such as UNIX where this is not
27
+    the case executables in the current directory will only be found if the
28
+    current directory is explicitly added to the path.
29
+
30
+    If you need a portable which on the command line in an environment that
31
+    does not provide it, install App::pwhich which provides a command line
32
+    interface to this API.
33
+%prep
34
+%setup -q -n File-Which-%{version}
35
+
36
+%build
37
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
38
+make %{?_smp_mflags}
39
+
40
+%install
41
+make install DESTDIR=%{buildroot}
42
+find %{buildroot} -name 'perllocal.pod' -delete
43
+
44
+%check
45
+make test
46
+
47
+%files
48
+%{perl_vendorlib}/*
49
+%{perl_vendorlib}/File/Which.pm
50
+%{_mandir}/man3/File::Which.3.gz
51
+
52
+
53
+%changelog
54
+*	Thu Mar 3 2016 Xiaolin Li <xiaolinl@vmware.com> 1.21-1
55
+-	Initial version.
56
+
57
+
58
+
... ...
@@ -2,7 +2,7 @@
2 2
     "packages":["unzip", "gmp-devel", "sudo", "bzip2-devel", "XML-Parser", "intltool", "mercurial", "libsigc++", "boost", 
3 3
                 "libgomp-devel", "libstdc++-devel", "libgcc-devel", "gcc", "bison", "gdb", "libpipeline", "python2-devel", 
4 4
                 "python2-tools", "linux-api-headers","gawk","check", "libltdl", "libltdl-devel", "pcre-devel", "glib-devel", 
5
-                "glibc-devel", "glibc-lang", "zlib-devel", "gettext", "git", "git-lang", "autoconf", "perl", "perl-DBI","perl-Config-IniFiles",
5
+                "glibc-devel", "glibc-lang", "zlib-devel", "gettext", "git", "git-lang", "autoconf", "perl", "perl-DBI","perl-Config-IniFiles", "perl-File-HomeDir", "perl-File-Which",
6 6
                 "perl-DBIx-Simple", "perl-DBD-SQLite","perl-Exporter-Tiny","perl-JSON-XS","perl-List-MoreUtils","perl-Module-Install",
7 7
                 "perl-Module-ScanDeps","perl-Module-Build","perl-Object-Accessor","perl-Types-Serialiser","perl-WWW-Curl","perl-YAML-Tiny","perl-YAML","perl-common-sense","perl-libintl","perl-CGI","tcsh",
8 8
                 "gobject-introspection", "gobject-introspection-devel", "gobject-introspection-python", "procps-ng-devel",