Blame 4th.spec

935ffa
Name:           4th
935ffa
Version:        3.62.5
3c7b12
Release:        5%{?dist}
935ffa
Summary:        A Forth compiler
935ffa
935ffa
License:        GPLv3+
935ffa
URL:            https://thebeez.home.xs4all.nl/4tH/
935ffa
Source0:        https://downloads.sourceforge.net/project/forth-4th/%{name}-%{version}/%{name}-%{version}-unix.tar.gz
935ffa
935ffa
BuildRequires:  gcc make
935ffa
935ffa
%description
935ffa
4tH is basic framework for creating application specific scripting
935ffa
languages. It is a library of functions centered around a virtual
935ffa
machine, which guarantees high performance, ease of use and low overhead.
935ffa
935ffa
935ffa
%package devel
935ffa
Summary:        Development files for 4th
935ffa
Requires:       %{name}%{?_isa} = %{version}-%{release}
935ffa
935ffa
%description devel
935ffa
This package includes headers for development with 4th, a Forth compiler
935ffa
library.
935ffa
935ffa
935ffa
%prep
935ffa
%setup -q -n %{name}-%{version}-unix
935ffa
935ffa
935ffa
%build
935ffa
LD_LIBRARY_PATH="$PWD/sources/" \
935ffa
make %{?_smp_mflags} -C sources \
935ffa
        STATIC= SHARED=1 \
935ffa
        CFLAGS="-DUNIX -fsigned-char %{optflags} -fPIC"
935ffa
935ffa
935ffa
%install
935ffa
mkdir -p \
935ffa
        %{buildroot}%{_libdir} \
935ffa
        %{buildroot}%{_includedir}/%{name} \
935ffa
        %{buildroot}%{_bindir} \
935ffa
        %{buildroot}%{_mandir} \
935ffa
        %{buildroot}%{_docdir}/%{name}
935ffa
935ffa
LD_LIBRARY_PATH="$PWD/sources/" \
935ffa
%make_install -C sources \
935ffa
        STATIC= SHARED=1 \
935ffa
        LIBRARIES=%{buildroot}%{_libdir} \
935ffa
        INCLUDES=%{buildroot}%{_includedir} \
935ffa
        BINARIES=%{buildroot}%{_bindir} \
935ffa
        MANDIR=%{buildroot}%{_mandir} \
935ffa
        DOCDIR=%{buildroot}%{_docdir}
935ffa
cp -ap sources/include/*.h %{buildroot}%{_includedir}/%{name}/
935ffa
935ffa
935ffa
%files
935ffa
%{_libdir}/lib4th.so.3*
935ffa
%{_bindir}/4tsh
935ffa
%{_bindir}/pp4th
935ffa
%{_bindir}/4th
935ffa
%{_mandir}/man1/4th.1*
935ffa
%doc %{_docdir}/%{name}
935ffa
%doc README
935ffa
%license COPYING
935ffa
935ffa
935ffa
%files devel
935ffa
%{_libdir}/lib4th.so
935ffa
%{_includedir}/%{name}
935ffa
935ffa
935ffa
%changelog
3c7b12
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.62.5-5
3c7b12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
3c7b12
630a9c
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.62.5-4
630a9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
630a9c
705ade
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.62.5-3
705ade
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
705ade
935ffa
* Sun Sep 16 2018 Lubomir Rintel <lkundrak@v3.sk> - 3.62.5-2
935ffa
- Fix issues discovered in review (Robert-André Mauchin, rh#1628149):
935ffa
- Dropped Group tag
935ffa
- Fixed a typo in devel package requires
935ffa
- Corrected the dynamic library file match
935ffa
935ffa
* Tue Sep 11 2018 Lubomir Rintel <lkundrak@v3.sk> - 3.62.5-1
935ffa
- Initial packaging