Browse Source

updated 4 packages

hunspell-1.7.0-1

libtiff-4.0.10-2

msgpack-3.2.0-1

podofo-0.9.6-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12281 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 4 years ago
parent
commit
513ef8ef9f
4 changed files with 113 additions and 59 deletions
  1. 23 25
      h/hunspell/hunspell-vl.spec
  2. 6 2
      lib/libt/libtiff/libtiff-vl.spec
  3. 25 22
      m/msgpack/msgpack-vl.spec
  4. 59 10
      p/podofo/podofo-vl.spec

+ 23 - 25
h/hunspell/hunspell-vl.spec

@@ -1,17 +1,17 @@
 Name:      hunspell
 Summary:   A spell checker and morphological analyzer library
-Version:   1.3.2
+Version:   1.7.0
 Release:   1%{?_dist_release}
-Source0:   http://downloads.sourceforge.net/%{name}/hunspell-%{version}.tar.gz
+Group:     System Environment/Libraries
+
+License:   LGPLv2+ or GPLv2+ or MPLv1.1
+URL:       https://github.com/hunspell/hunspell
+Source:    https://github.com/hunspell/hunspell/archive/v%{version}.tar.gz#/hunspell-%{version}.tar.gz
 Source1:   http://people.debian.org/~agmartin/misc/ispellaff2myspell
 Source2:   http://people.redhat.com/caolanm/hunspell/wordlist2hunspell
 Source100: find-requires-hunspell.sh
-Group:     System Environment/Libraries
-URL:       http://hunspell.sourceforge.net/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-License:   LGPLv2+ or GPLv2+ or MPLv1.1
 BuildRequires: libtool, ncurses-devel
-Patch0:    hunspell.rhbz759647.patch
 
 #define __find_requires %{SOURCE100}
 %define __perl_requires %{SOURCE100}
@@ -32,20 +32,15 @@ Includes and definitions for developing with hunspell
 
 %prep
 %setup -q
-%patch0 -p0 -b .rhbz759647
 
 %build
-libtoolize --automake --force
-aclocal -I m4
-autoconf
-automake
-%configure --disable-static  --with-ui --with-readline
-for i in man/*.? man/hu/*.?; do
-    iconv -f ISO-8859-2 -t UTF-8 $i > $i.new
-    mv -f $i.new $i
-done
+autoreconf -vfi
+%configure --disable-rpath --disable-static --with-ui --with-readline
+
 make %{?_smp_mflags}
 
+cd po && make %{?_smp_mflags} update-gmo && cd ..
+
 %install
 rm -rf %{buildroot}
 make DESTDIR=%{buildroot} install
@@ -72,14 +67,13 @@ make check
 
 %files -f %{name}.lang
 %defattr(-,root,root,-)
-%doc README README.myspell COPYING COPYING.LGPL COPYING.MPL AUTHORS AUTHORS.myspell license.hunspell license.myspell THANKS
+%license COPYING COPYING.LESSER COPYING.MPL
+%doc README AUTHORS license.hunspell license.myspell THANKS
 %{_libdir}/*.so.*
 %{_datadir}/myspell
 %{_bindir}/hunspell
-%{_mandir}/man1/hunspell.1.gz
-%{_mandir}/man4/hunspell.4.gz
+%{_mandir}/man1/hunspell.1*
 %lang(hu) %{_mandir}/hu/man1/hunspell.1.gz
-%lang(hu) %{_mandir}/hu/man4/hunspell.4.gz
 
 %files devel
 %defattr(-,root,root,-)
@@ -97,11 +91,15 @@ make check
 %{_bindir}/wordlist2hunspell
 %{_bindir}/wordforms
 %{_libdir}/pkgconfig/hunspell.pc
-%{_mandir}/man1/hunzip.1.gz
-%{_mandir}/man1/hzip.1.gz
-%{_mandir}/man3/hunspell.3.gz
+%{_mandir}/man1/hunzip.1*
+%{_mandir}/man1/hzip.1*
+%{_mandir}/man3/hunspell.3*
+%{_mandir}/man5/hunspell.5*
 
 %changelog
+* Tue Oct 22 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.7.0-1
+- new upstream release.
+
 * Tue Mar 06 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.3.2-1
 - updated to 1.3.2
 - import Patch0 from Fedora (rhbz#759647 temp file name collision)
@@ -141,10 +139,10 @@ make check
 - Drop ABI breaking hunspell-1.2.2-xulrunner.pita.patch and fix the
   hunspell include in xulrunner.
 
-* Fri Jun 18 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.4.2-1
+* Wed Jun 18 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.4.2-1
 - latest version
 
-* Thu Jun 17 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.4-1
+* Tue Jun 17 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.4-1
 - latest version
 
 * Fri May 16 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.2-3

+ 6 - 2
lib/libt/libtiff/libtiff-vl.spec

@@ -4,7 +4,7 @@ Summary: A library of functions for manipulating TIFF format image files.
 Summary(ja): TIFF フォーマットの画像ファイルを扱うライブラリ
 Name: libtiff
 Version: 4.0.10
-Release: 1%{_dist_release}
+Release: 2%{_dist_release}
 License: distributable
 Group: System Environment/Libraries
 Source0: http://download.osgeo.org/libtiff/tiff-%{version}.tar.gz
@@ -161,7 +161,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root)
-%doc COPYRIGHT README RELEASE-DATE VERSION
+%license COPYRIGHT
+%doc README RELEASE-DATE VERSION
 %{_bindir}/*
 %{_libdir}/libtiff*.so.*
 %{_mandir}/man1/*
@@ -187,6 +188,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Oct 22 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.10-2
+- rebuilt with libjpeg.so.8.
+
 * Sun Sep 08 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.10-1
 - new upstream release.
 - dropped Patch1000: fixed in upstream.

+ 25 - 22
m/msgpack/msgpack-vl.spec

@@ -1,26 +1,24 @@
-%define ver 2.1.1
-%define rel 1
+Name:           msgpack
+Version:        3.2.0
+Release:        1%{?_dist_release}
+Summary:        Binary-based efficient object serialization library
+Group:          System Environment/Libraries
 
-Name:		msgpack
-Version:	%{ver}
-Release:	%{rel}%{?_dist_release}
-Summary:	Binary-based efficient object serialization library
-Group:		System Environment/Libraries
+Vendor:         Project Vine
+Distribution:   Vine Linux
+Packager:       iwaim
 
-License:	Boost Software License 1.0
-URL:		http://msgpack.org
-Source0:	http://msgpack.org/releases/cpp/%{name}-%{version}.tar.gz
+License:        Boost Software License 1.0
+URL:            https://msgpack.org/
+Source0:        https://github.com/msgpack/msgpack-c/releases/download/cpp-3.2.0/msgpack-3.2.0.tar.gz#/%{name}-%{version}.tar.gz
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
-BuildRequires:	cmake >= 2.8.6
-BuildRequires:	zlib-devel
-BuildRequires:	libboost-devel
+BuildRequires:  cmake >= 2.8.6
+BuildRequires:  zlib-devel
+BuildRequires:  libboost-devel
+BuildRequires:  libboost-timer
 # for %%check
-BuildRequires:	gtest-devel
-
-Vendor: Project Vine
-Distribution: Vine Linux
-Packager: iwaim
+BuildRequires:  gtest-devel
 
 %description
 MessagePack is a binary-based efficient object serialization
@@ -61,9 +59,10 @@ make test
 
 
 %install
-make install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -name '*.la' -exec rm -f '{}' ';'
+make install DESTDIR=%{buildroot}
+find %{buildroot} -name '*.la' -exec rm -f '{}' ';'
 
+rm -f %{buildroot}%{_libdir}/libmsgpackc.a
 
 %post -p /sbin/ldconfig
 
@@ -71,16 +70,20 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f '{}' ';'
 
 
 %files
-%doc AUTHORS COPYING ChangeLog LICENSE* NOTICE README README.md
+%license COPYING LICENSE*
+%doc AUTHORS CHANGELOG.md NOTICE README.md
 %{_libdir}/*.so.*
 
 %files devel
 %{_includedir}/*
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/msgpack.pc
-
+%{_libdir}/cmake/*
 
 %changelog
+* Tue Oct 22 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.2.0-1
+- new upstream release.
+
 * Sat Feb 25 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 2.2.1-1
 - update to 2.2.1
 - update License tag

+ 59 - 10
p/podofo/podofo-vl.spec

@@ -1,14 +1,55 @@
 Name:           podofo
-Version:        0.9.1
-Release:        3%{?_dist_release}
+Version:        0.9.6
+Release:        1%{?_dist_release}
 Summary:        Tools and libraries to work with the PDF file format
 
 Group:          Applications/Publishing
+
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
 License:        GPLv2+
 URL:            http://podofo.sourceforge.net
 Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
-Patch0:         %{name}-0.9.1-unistd.patch
-Patch1:         %{name}-0.9.1-freetype.patch
+
+# Fix failure to detect FreeType
+Patch0:         podofo-0.9.4-freetype.patch
+# Don't attempt to copy non-existing testdata dir
+Patch1:         podofo_tests.patch
+# Fix pkg-config file
+Patch2:         podofo_pkgconfig.patch
+
+# Backport patch for CVE-2018-5783
+# https://sourceforge.net/p/podofo/code/1949
+Patch10:        podofo_CVE-2018-5783.patch
+# Backport patch for CVE-2018-11254
+# https://sourceforge.net/p/podofo/code/1941
+Patch11:        podofo_CVE-2018-11254.patch
+# Backport patch for CVE-2018-11255
+# https://sourceforge.net/p/podofo/code/1952
+Patch12:        podofo_CVE-2018-11255.patch
+# Backport patch for CVE-2018-11256
+# https://sourceforge.net/p/podofo/code/1938
+Patch13:        podofo_CVE-2018-11256.patch
+# Backport patch for CVE-2018-12982
+# https://sourceforge.net/p/podofo/code/1948
+Patch14:        podofo_CVE-2018-12982.patch
+# Backport patch for CVE-2018-14320
+# https://sourceforge.net/p/podofo/code/1953
+Patch15:        podofo_CVE-2018-14320.patch
+# Backport patch for CVE-2018-19532
+# https://sourceforge.net/p/podofo/code/1950
+Patch16:        podofo_CVE-2018-19532.patch
+# Backport patch for CVE-2018-20751
+# https://sourceforge.net/p/podofo/code/1954
+Patch17:        podofo_CVE-2018-20751.patch
+# Backport patch for CVE-2019-9199
+# https://sourceforge.net/p/podofo/code/1971/
+Patch18:        podofo_CVE-2019-9199.patch
+# Backport patch for CVE-2019-9687
+# https://sourceforge.net/p/podofo/code/1969
+Patch19:        podofo_CVE-2019-9687.patch
+
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 
 BuildRequires:  cmake
@@ -57,10 +98,10 @@ Development files and documentation for the %{name} library.
 
 
 %prep
-%setup -q
-%patch0 -p1 -b .unistd
-%patch1 -p1 -b .freetype
+%autosetup -p1
 
+# disable timestamps in docs
+echo "HTML_TIMESTAMP = NO" >> Doxyfile
 
 %build
 %cmake -DPODOFO_BUILD_SHARED=1 \
@@ -92,23 +133,31 @@ find doc/html -exec touch -r %{SOURCE0} {} \;
 
 %files
 %defattr(-,root,root,-)
-%doc COPYING
+%license COPYING
 %{_bindir}/%{name}*
 %{_mandir}/man1/%{name}*.1*
 
 %files libs
 %defattr(-,root,root,-)
-%doc AUTHORS COPYING.LIB ChangeLog FAQ.html README.html TODO
+%license COPYING.LIB COPYING.exception
+%doc AUTHORS ChangeLog FAQ.html README.html TODO
 %{_libdir}/*.so.*
 
 %files devel
 %defattr(-,root,root,-)
-%doc doc/html
+%doc doc/html examples
 %{_includedir}/%{name}
 %{_libdir}/*.so
+%{_libdir}/pkgconfig/*
 
 
 %changelog
+* Tue Oct 22 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.6-1
+- new upstream release.
+- dropped Patch0: fixed in upstream.
+- dropped Patch1.
+- imported Patch0-19 from rawhide.
+
 * Sat Jul 02 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.1-3
 - rebuild with gcc-5.4.0