From 2dc2ff308f63888c368e182ae7d7587fb2571e0e Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Tue, 12 Sep 2017 13:25:37 -0400 Subject: [PATCH] 2.5.7 --- .gitignore | 1 + sources | 2 +- teckit.spec | 46 ++++++++++++++++++++-------------------------- 3 files changed, 22 insertions(+), 27 deletions(-) diff --git a/.gitignore b/.gitignore index 018be78..304f7b7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ TECkit_2_5_1.tar.gz +/teckit-2.5.7.tar.gz diff --git a/sources b/sources index fa19b64..1549c2d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4913f71f0f42bfd9cf8f161688b35dea TECkit_2_5_1.tar.gz +SHA512 (teckit-2.5.7.tar.gz) = 6c9e1937bb2c21c609f3309020211bdf045bbe5be59430af0c2dca8d94b2f9eef99cb735dacff1a9abd50a0fa3a8c591ecfdf6e29fe2095e4c0d23910d6fa671 diff --git a/teckit.spec b/teckit.spec index beee0b0..9f76e0d 100644 --- a/teckit.spec +++ b/teckit.spec @@ -1,14 +1,12 @@ Name: teckit -Version: 2.5.1 -Release: 18%{?dist} +Version: 2.5.7 +Release: 1%{?dist} Summary: Conversion library and mapping compiler License: LGPLv2+ or CPL Group: Development/Libraries URL: http://scripts.sil.org/teckit -Source0: http://scripts.sil.org/svn-view/teckit/TAGS/TECkit_2_5_1.tar.gz +Source0: https://github.com/silnrsi/teckit/releases/download/v%{version}/teckit-%{version}.tar.gz BuildRequires: expat-devel zlib-devel libtool -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - Patch0: TECkit_2_5_1-includes.patch %description @@ -24,8 +22,7 @@ tables from a human-readable mapping description (a simple text file). %package devel Summary: Conversion library and mapping compiler Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Provides: %{name}-devel = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} %description devel TECkit is a low-level toolkit intended to be used by other @@ -38,29 +35,22 @@ documentation is available); there is a compiler that creates such tables from a human-readable mapping description (a simple text file). %prep -%setup -q -n TECkit_2_5_1 +%setup -q %patch0 -p1 -b .includes -%{__chmod} 0755 ./autogen.sh -%{__chmod} 0755 ./configure %{__rm} -r zlib* %build -./autogen.sh %configure --disable-static -make %{_smp_mflags} +make %{_smp_mflags} V=1 %install -%{__rm} -rf %{buildroot} make install DESTDIR=%{buildroot} %{__rm} -f %{buildroot}%{_libdir}/*.la %check make check -%clean -%{__rm} -rf %{buildroot} - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -70,23 +60,27 @@ make check %postun devel -p /sbin/ldconfig %files -%defattr(0644,root,root,0755) -%doc AUTHORS COPYING INSTALL NEWS README -%doc license/{LICENSING.txt,License_CPLv05.txt,License_LGPLv21.txt} -%attr(0755,root,root) %{_bindir}/sfconv -%attr(0755,root,root) %{_bindir}/teckit_compile -%attr(0755,root,root) %{_bindir}/txtconv -%attr(0755,root,root) %{_libdir}/libTECkit.so.* -%attr(0755,root,root) %{_libdir}/libTECkit_Compiler.so.* +%license COPYING +%doc AUTHORS INSTALL NEWS README +%license license/{LICENSING.txt,License_CPLv05.txt,License_LGPLv21.txt} +%{_bindir}/sfconv +%{_bindir}/teckit_compile +%{_bindir}/txtconv +%{_libdir}/libTECkit.so.* +%{_libdir}/libTECkit_Compiler.so.* +%{_mandir}/man1/* %files devel -%defattr(0644,root,root,0755) %doc docs/*.pdf %{_includedir}/teckit/ %{_libdir}/libTECkit.so %{_libdir}/libTECkit_Compiler.so +%{_libdir}/pkgconfig/teckit.pc %changelog +* Tue Sep 12 2017 Tom Callaway - 2.5.7-1 +- update to 2.5.7 + * Thu Aug 03 2017 Fedora Release Engineering - 2.5.1-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild @@ -132,7 +126,7 @@ make check * Sun Jul 26 2009 Fedora Release Engineering - 2.5.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild -* Wed Mar 05 2009 Caolán McNamara - 2.5.1-3 +* Thu Mar 05 2009 Caolán McNamara - 2.5.1-3 - include stdio.h for sprintf * Wed Feb 25 2009 Fedora Release Engineering - 2.5.1-2