|
|
e3a5d28 |
# spec file for package asl
|
|
|
e3a5d28 |
#
|
|
|
e3a5d28 |
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
e3a5d28 |
# This file and all modifications and additions to the pristine
|
|
|
e3a5d28 |
# package are under the same license as the package itself.
|
|
|
e3a5d28 |
#
|
|
|
f02e457 |
# Spec file for Fedora modified by Eric Smith <brouhaha@fedoraproject.org>
|
|
|
e3a5d28 |
|
|
|
aafd80c |
%global patchlevel bld134
|
|
Eric Smith |
4e3e0b6 |
|
|
|
e3a5d28 |
Name: asl
|
|
|
e3a5d28 |
URL: http://john.ccac.rwth-aachen.de:8000/as/index.html
|
|
|
e3a5d28 |
Version: 1.42
|
|
|
693c8c7 |
Release: 0.41.%{patchlevel}%{?dist}
|
|
|
e3a5d28 |
License: GPLv2+
|
|
|
e3a5d28 |
Summary: Macro Assembler AS
|
|
Eric Smith |
4e3e0b6 |
Source: http://john.ccac.rwth-aachen.de:8000/ftp/as/source/c_version/asl-current-142-%{patchlevel}.tar.bz2
|
|
|
e3a5d28 |
Patch0: asl-Makefile.def.patch
|
|
|
e3a5d28 |
Patch1: asl-sysdefs.h.patch
|
|
|
e3a5d28 |
Patch2: asl-install.sh.patch
|
|
|
e3a5d28 |
Patch3: asl-Makefile-DESTDIR.patch
|
|
|
1c61863 |
BuildRequires: gcc
|
|
|
56ed010 |
BuildRequires: tex(latex)
|
|
|
8da03ea |
%if 0%{?fedora} > 18 || 0%{?rhel} > 7
|
|
|
56ed010 |
BuildRequires: tex(german.sty)
|
|
|
56ed010 |
%endif
|
|
|
56ed010 |
|
|
|
e3a5d28 |
|
|
|
e3a5d28 |
%description
|
|
|
e3a5d28 |
AS is a portable macro cross-assembler for a variety of
|
|
|
e3a5d28 |
microprocessors and controllers. Although it is mainly targeted at
|
|
|
e3a5d28 |
embedded processors and single-board computers, CPU families that are
|
|
|
e3a5d28 |
used in workstations and PCs in the target list.
|
|
|
e3a5d28 |
|
|
|
e3a5d28 |
%prep
|
|
Eric Smith |
396a272 |
# It's a shame that the directory name has 142 instead of 1.42, and Bld82
|
|
Eric Smith |
396a272 |
# instead of bld82. Makes use of variable substitution difficult.
|
|
Eric Smith |
5f740ae |
# Also, sometimes the directory name is just "asl-current"
|
|
Eric Smith |
5f740ae |
#%setup -q -n asl-142-Bld82
|
|
Eric Smith |
5f740ae |
%setup -q -n asl-current
|
|
|
e3a5d28 |
|
|
|
e3a5d28 |
%patch0 -p0 -b .m-def
|
|
|
8da03ea |
%patch1 -p1 -b .sysdefs
|
|
Eric Smith |
396a272 |
%patch2 -p1 -b .install
|
|
|
22f8794 |
%patch3 -p1 -b .destdir
|
|
|
e3a5d28 |
|
|
|
8da03ea |
# German documentation can't be built on EL7 because there is no
|
|
|
8da03ea |
# tex(german.sty).
|
|
|
8da03ea |
%if 0%{?rhel} != 0 && 0%{?rhel} <= 7
|
|
|
8da03ea |
sed -i '/doc_DE/d' Makefile
|
|
|
8da03ea |
%endif
|
|
|
8da03ea |
|
|
|
e3a5d28 |
%build
|
|
|
e3a5d28 |
# make seems to have problems with %{_smp_mflags}
|
|
|
e3a5d28 |
make CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
|
e3a5d28 |
# make docs isn't SMP-safe, so can't use %{_smp_mflags}
|
|
|
e3a5d28 |
make docs
|
|
|
e3a5d28 |
|
|
|
e3a5d28 |
%check
|
|
|
e3a5d28 |
make test
|
|
|
e3a5d28 |
|
|
|
e3a5d28 |
%install
|
|
|
e3a5d28 |
rm -rf $RPM_BUILD_ROOT
|
|
|
e3a5d28 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
e3a5d28 |
|
|
|
e3a5d28 |
# convert doc files from ISO-8859-1 to UTF-8 encoding
|
|
|
8da03ea |
%if 0%{?rhel} != 0 && 0%{?rhel} <= 7
|
|
|
8da03ea |
%global change_encoding_files changelog doc/as-EN.txt
|
|
|
8da03ea |
%else
|
|
|
8da03ea |
%global change_encoding_files changelog doc/as-EN.txt doc/as-DE.txt
|
|
|
8da03ea |
%endif
|
|
|
8da03ea |
|
|
|
8da03ea |
for f in %{change_encoding_files}
|
|
|
e3a5d28 |
do
|
|
|
e3a5d28 |
iconv -fiso88591 -tutf8 $f >$f.new
|
|
|
e3a5d28 |
touch -r $f $f.new
|
|
|
e3a5d28 |
mv $f.new $f
|
|
|
e3a5d28 |
done
|
|
|
e3a5d28 |
|
|
|
8da03ea |
|
|
|
e3a5d28 |
%files
|
|
|
e3a5d28 |
%{_bindir}/asl
|
|
|
e3a5d28 |
%{_bindir}/alink
|
|
|
e3a5d28 |
%{_bindir}/p2bin
|
|
|
e3a5d28 |
%{_bindir}/p2hex
|
|
|
e3a5d28 |
%{_bindir}/pbind
|
|
|
e3a5d28 |
%{_bindir}/plist
|
|
|
e3a5d28 |
%dir %{_datadir}/%{name}
|
|
|
e3a5d28 |
%{_datadir}/%{name}/include/
|
|
|
e3a5d28 |
%{_datadir}/%{name}/lib/
|
|
|
e3a5d28 |
%{_mandir}/man1/asl.1*
|
|
|
e3a5d28 |
%{_mandir}/man1/p2bin.1*
|
|
|
e3a5d28 |
%{_mandir}/man1/p2hex.1*
|
|
|
e3a5d28 |
%{_mandir}/man1/pbind.1*
|
|
|
e3a5d28 |
%{_mandir}/man1/plist.1*
|
|
|
e3a5d28 |
%{_mandir}/man1/alink.1*
|
|
|
22f8794 |
%license COPYING
|
|
|
22f8794 |
%doc README README.LANGS TODO BENCHES changelog
|
|
|
e3a5d28 |
%doc doc/as-EN.html doc/as-EN.txt doc/as-EN.ps doc/as-EN.pdf doc/as-EN.dvi
|
|
|
8da03ea |
%if 0%{?rhel} == 0 || 0%{?rhel} > 7
|
|
|
e3a5d28 |
%lang(de) %doc doc/as-DE.html doc/as-DE.txt doc/as-DE.ps doc/as-DE.pdf doc/as-DE.dvi
|
|
|
8da03ea |
%endif
|
|
|
e3a5d28 |
|
|
|
10ad07d |
%changelog
|
|
|
693c8c7 |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.42-0.41.bld134
|
|
|
693c8c7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
693c8c7 |
|
|
|
47974c8 |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.42-0.40.bld134
|
|
|
47974c8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
47974c8 |
|
|
|
fac296e |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.42-0.39.bld134
|
|
|
fac296e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
fac296e |
|
|
|
aafd80c |
* Tue May 22 2018 Eric Smith <brouhaha@fedoraproject.org> 1.42-0.38.bld134
|
|
|
aafd80c |
- Update to latest upstream snapshot.
|
|
|
aafd80c |
|
|
|
285c908 |
* Mon Apr 30 2018 Eric Smith <brouhaha@fedoraproject.org> 1.42-0.37.bld133
|
|
|
285c908 |
- Update to latest upstream snapshot.
|
|
|
285c908 |
|
|
|
8da03ea |
* Fri Mar 30 2018 Eric Smith <brouhaha@fedoraproject.org> 1.42-0.36.bld131
|
|
|
8da03ea |
- Update to latest upstream snapshot.
|
|
|
8da03ea |
- Update s390x sysdefs.h patch.
|
|
|
8da03ea |
- Do not build German documentation on EL7 due to lack of tex(german.sty).
|
|
|
8da03ea |
|
|
|
6bd2962 |
* Thu Mar 01 2018 Eric Smith <brouhaha@fedoraproject.org> 1.42-0.35.bld126
|
|
|
6bd2962 |
- Update to latest upstream snapshot.
|
|
|
6bd2962 |
|
|
|
4cb0588 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.42-0.34.bld115
|
|
|
4cb0588 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
4cb0588 |
|
|
|
5499eae |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.42-0.33.bld115
|
|
|
5499eae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
5499eae |
|
|
|
b5447f0 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.42-0.32.bld115
|
|
|
b5447f0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
b5447f0 |
|
|
|
00dd978 |
* Wed Mar 08 2017 Eric Smith <brouhaha@fedoraproject.org> 1.42-0.31.bld115
|
|
|
00dd978 |
- Update to latest upstream snapshot.
|
|
|
00dd978 |
- Removed patch for CDP180[456], now provided upstream.
|
|
|
00dd978 |
|
|
|
223c38a |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.42-0.30.bld114
|
|
|
223c38a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
223c38a |
|
|
|
8dae62a |
* Mon Jan 09 2017 Dan HorĂ¡k <dan[at]danny.cz> 1.42-0.29.bld114
|
|
|
8dae62a |
- update the sysdefs patch for s390(x) and ia64
|
|
|
8dae62a |
|
|
|
b2045c8 |
* Sat Jan 07 2017 Eric Smith <brouhaha@fedoraproject.org> 1.42-0.28.bld114
|
|
|
b2045c8 |
- Updated to latest upstream snapshot.
|
|
|
b2045c8 |
- Added patch for CDP180[456] scal instruction.
|
|
|
b2045c8 |
|
|
|
f02e457 |
* Sun Jul 31 2016 Eric Smith <brouhaha@fedoraproject.org> 1.42-0.27.bld110
|
|
|
f02e457 |
- Updated to latest upstream snapshot.
|
|
|
f02e457 |
- Remove aarch64 patch, now upstream.
|
|
|
f02e457 |
|
|
|
c52881d |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.42-0.26.bld97
|
|
|
c52881d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
c52881d |
|
|
|
3da08ae |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.42-0.25.bld97
|
|
|
3da08ae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
3da08ae |
|
|
|
f02e457 |
* Tue Mar 03 2015 Eric Smith <brouhaha@fedoraproject.org> 1.42-0.24.bld97
|
|
|
22f8794 |
- Updated to latest upstream snapshot.
|
|
|
22f8794 |
- Use %%license.
|
|
|
22f8794 |
|
|
Marcin Juszkiewicz |
70c99de |
* Fri Sep 12 2014 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 1.42-0.23.bld93
|
|
Marcin Juszkiewicz |
70c99de |
- Added AArch64 definitions
|
|
Marcin Juszkiewicz |
70c99de |
|
|
|
f02e457 |
* Fri Aug 29 2014 Eric Smith <brouhaha@fedoraproject.org> 1.42-0.21.bld93
|
|
|
15c3a9d |
- Updated to latest upstream snapshot.
|
|
|
15c3a9d |
|
|
|
10ad07d |
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.42-0.21.bld92
|
|
|
10ad07d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
10ad07d |
|
|
|
f058982 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.42-0.20.bld92
|
|
|
f058982 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
f058982 |
|
|
|
f02e457 |
* Sat Mar 08 2014 Eric Smith <brouhaha@fedoraproject.org> 1.42-0.19.bld92
|
|
|
4f70b9b |
- Updated to latest upstream snapshot, which fixes a problem with
|
|
|
4f70b9b |
string quoting.
|
|
|
4f70b9b |
|
|
|
f02e457 |
* Wed Mar 05 2014 Eric Smith <brouhaha@fedoraproject.org> 1.42-0.18.bld91
|
|
|
56ed010 |
- Fixed problem building on EL6; don't require tex(german.sty) on EL6.
|
|
|
56ed010 |
|
|
|
f02e457 |
* Wed Mar 05 2014 Eric Smith <brouhaha@fedoraproject.org> 1.42-0.17.bld91
|
|
|
5197ca1 |
- Updated to latest upstream snapshot.
|
|
|
5197ca1 |
|
|
|
f02e457 |
* Thu Aug 15 2013 Eric Smith <brouhaha@fedoraproject.org> 1.42-0.16.bld89
|
|
|
04f2ce2 |
- Updated to latest upstream snapshot.
|
|
|
04f2ce2 |
|
|
|
95fc006 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.42-0.15.bld88
|
|
|
95fc006 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
95fc006 |
|
|
|
f02e457 |
* Thu Jun 06 2013 Eric Smith <brouhaha@fedoraproject.org> 1.42-0.14.bld88
|
|
|
f9604e5 |
- Updated to latest upstream snapshot.
|
|
|
f9604e5 |
|
|
|
b4eb43c |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.42-0.13.bld84
|
|
|
b4eb43c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
b4eb43c |
|
|
|
f02e457 |
* Mon Oct 29 2012 Eric Smith <brouhaha@fedoraproject.org> 1.42-0.12.bld84
|
|
Eric Smith |
1ff3048 |
- Updated to latest upstream snapshot.
|
|
Eric Smith |
1ff3048 |
- Added BuildRequires for tex(german.sty), formerly part of texlive-texmf,
|
|
Eric Smith |
1ff3048 |
but post-F18 moved into texlive-german.
|
|
Eric Smith |
a8501c6 |
|
|
|
588acbc |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.42-0.11.bld83
|
|
|
588acbc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
588acbc |
|
|
|
f02e457 |
* Wed Jun 06 2012 Eric Smith <brouhaha@fedoraproject.org> 1.42-0.11.bld83
|
|
Eric Smith |
5f740ae |
- updated to latest upstream snapshot
|
|
Eric Smith |
5f740ae |
|
|
|
f02e457 |
* Sat Jan 21 2012 Eric Smith <brouhaha@fedoraproject.org> 1.42-0.10.bld82
|
|
Eric Smith |
396a272 |
- updated to latest upstream snapshot
|
|
Eric Smith |
396a272 |
|
|
|
d8bd37b |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.42-0.9.bld81
|
|
|
d8bd37b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
d8bd37b |
|
|
|
f02e457 |
* Thu Nov 10 2011 Eric Smith <brouhaha@fedoraproject.org> 1.42-0.8.bld81
|
|
Eric Smith |
4e3e0b6 |
- updated to latest upstream snapshot
|
|
Eric Smith |
4e3e0b6 |
|
|
|
6badead |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.42-0.7.bld79
|
|
|
6badead |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
6badead |
|
|
|
f02e457 |
* Sun Jan 02 2011 Eric Smith <brouhaha@fedoraproject.org> 1.42-0.6.bld79
|
|
Eric Smith |
4b05c31 |
- updated to latest upstream snapshot
|
|
Eric Smith |
4b05c31 |
- upstream has removed doc_DE/dina4.sty, so we no longer need to use
|
|
Eric Smith |
4b05c31 |
a cleaned tarball
|
|
Eric Smith |
4b05c31 |
|
|
|
f02e457 |
* Sat Apr 24 2010 Eric Smith <brouhaha@fedoraproject.org> 1.42-0.5.bld77
|
|
|
026020c |
- rebuilding because cvs-import.sh failed to import one patch for F-12
|
|
|
026020c |
|
|
|
f02e457 |
* Wed Apr 21 2010 Eric Smith <brouhaha@fedoraproject.org> 1.42-0.4.bld77
|
|
|
e3a5d28 |
- use cleaned source tarball until upstream removes doc_DE/dina4.sty
|
|
|
e3a5d28 |
- removed strcpy() patch
|
|
|
e3a5d28 |
|
|
|
f02e457 |
* Tue Apr 20 2010 Eric Smith <brouhaha@fedoraproject.org> 1.42-0.3.bld77
|
|
|
e3a5d28 |
- updated to latest upstream snapshot
|
|
|
e3a5d28 |
- removed doc_DE/dina4.sty due to unacceptable license
|
|
|
e3a5d28 |
- added lang tag for de docs
|
|
|
e3a5d28 |
- changed BuildRequires for latex to a virtual provides name
|
|
|
e3a5d28 |
|
|
|
f02e457 |
* Mon Apr 12 2010 Eric Smith <brouhaha@fedoraproject.org> 1.42-0.2.bld75
|
|
|
e3a5d28 |
- removed obsolete PPC64 patch
|
|
|
e3a5d28 |
|
|
|
f02e457 |
* Sun Apr 11 2010 Eric Smith <brouhaha@fedoraproject.org> 1.42-0.1.bld75
|
|
|
e3a5d28 |
- spec based on earlier review request 240807
|
|
|
e3a5d28 |
- updated to latest upstream
|
|
|
e3a5d28 |
- fixed strcpy() usage bug in KillPrefBlanks
|