This commit is contained in:
Tom Callaway 2017-09-12 13:25:37 -04:00
parent 703d7292b4
commit 2dc2ff308f
3 changed files with 22 additions and 27 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
TECkit_2_5_1.tar.gz
/teckit-2.5.7.tar.gz

View File

@ -1 +1 @@
4913f71f0f42bfd9cf8f161688b35dea TECkit_2_5_1.tar.gz
SHA512 (teckit-2.5.7.tar.gz) = 6c9e1937bb2c21c609f3309020211bdf045bbe5be59430af0c2dca8d94b2f9eef99cb735dacff1a9abd50a0fa3a8c591ecfdf6e29fe2095e4c0d23910d6fa671

View File

@ -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 <spot@fedoraproject.org> - 2.5.7-1
- update to 2.5.7
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 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 <rel-eng@lists.fedoraproject.org> - 2.5.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed Mar 05 2009 Caolán McNamara <caolanm@redhat.com> - 2.5.1-3
* Thu Mar 05 2009 Caolán McNamara <caolanm@redhat.com> - 2.5.1-3
- include stdio.h for sprintf
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-2