|
|
b23f21c |
%global major 3
|
|
|
b23f21c |
%global minor 4
|
|
|
b23f21c |
%global patchlevel 1
|
|
|
b23f21c |
|
|
|
b23f21c |
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
|
b23f21c |
|
|
|
b23f21c |
# Notified upstream of incorrect FSF address on 23-NOV-2013.
|
|
|
b23f21c |
|
|
|
b23f21c |
Name: d52
|
|
|
b23f21c |
URL: http://www.brouhaha.com/~eric/software/d52/
|
|
|
b23f21c |
Version: %{major}.%{minor}.%{patchlevel}
|
|
|
9d7784d |
Release: 24%{?dist}
|
|
|
b23f21c |
License: GPLv3+
|
|
|
b23f21c |
Summary: Disassemblers for 8051, 8048, and Z80 families
|
|
|
b23f21c |
Source: http://www.brouhaha.com/~eric/software/d52/%{name}v%{major}%{minor}%{patchlevel}.zip
|
|
|
b23f21c |
Patch0: d52v341-nostrip.patch
|
|
Yaakov Selkowitz |
3c80f2e |
Patch1: d52v341-format-security.patch
|
|
|
12a9e21 |
BuildRequires: gcc
|
|
|
b23f21c |
BuildRequires: dos2unix
|
|
|
f9ca178 |
BuildRequires: make
|
|
|
b23f21c |
|
|
|
b23f21c |
%description
|
|
|
b23f21c |
D52 is collection of disassemblers for the 8051, 8048, and Z80
|
|
|
b23f21c |
families of microcontrollers and microprocessors.
|
|
|
b23f21c |
|
|
|
b23f21c |
%prep
|
|
|
b23f21c |
%setup -q -n d52v%{major}%{minor}%{patchlevel}
|
|
|
b23f21c |
|
|
|
b23f21c |
for f in Makefile README *.{h,c,ctl,html} cyclefiles/*.{a51,cyc,ctl,d52,HEX,LST,rtf}
|
|
|
b23f21c |
do
|
|
|
b23f21c |
dos2unix -k $f
|
|
|
b23f21c |
done
|
|
|
b23f21c |
|
|
|
b23f21c |
# Fedora-specific patch to avoid stripping the executables in the build
|
|
|
b23f21c |
# process, as that interferes with creation of a debuginfo RPM.
|
|
|
b23f21c |
%patch0 -p1 -b .nostrip
|
|
Yaakov Selkowitz |
3c80f2e |
%patch1 -p1 -b .format-security
|
|
|
b23f21c |
|
|
|
b23f21c |
%build
|
|
|
b23f21c |
make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
|
|
|
b23f21c |
|
|
|
b23f21c |
%install
|
|
|
b23f21c |
install -d -m0755 %{buildroot}%{_bindir}
|
|
|
b23f21c |
install -p -m0755 d52 %{buildroot}%{_bindir}
|
|
|
b23f21c |
install -p -m0755 d48 %{buildroot}%{_bindir}
|
|
|
b23f21c |
install -p -m0755 dz80 %{buildroot}%{_bindir}
|
|
|
b23f21c |
|
|
|
b23f21c |
install -d -m0755 %{buildroot}%{_datadir}/%{name}/cyclefiles
|
|
|
b23f21c |
install -p -m0644 cyclefiles/*.cyc %{buildroot}%{_datadir}/%{name}/cyclefiles
|
|
|
b23f21c |
|
|
|
b23f21c |
install -d -m0755 %{buildroot}%{_datadir}/%{name}/examples
|
|
|
b23f21c |
install -p -m0644 cyclefiles/*.{a51,d52,bin,ctl,HEX,LST,z80} %{buildroot}%{_datadir}/%{name}/examples
|
|
|
b23f21c |
|
|
|
b23f21c |
%files
|
|
|
b23f21c |
%{_bindir}/d52
|
|
|
b23f21c |
%{_bindir}/d48
|
|
|
b23f21c |
%{_bindir}/dz80
|
|
|
b23f21c |
%{_datadir}/%{name}
|
|
|
b23f21c |
%doc COPYING README d52manual.html dz80-d48addendum.html
|
|
|
b23f21c |
%doc cyclefiles/cycle_counting.{doc,htm,rtf}
|
|
|
b23f21c |
|
|
|
b23f21c |
%changelog
|
|
|
9d7784d |
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-24
|
|
|
9d7784d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
9d7784d |
|
|
|
733853b |
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-23
|
|
|
733853b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
733853b |
|
|
|
abca31c |
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-22
|
|
|
abca31c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
abca31c |
|
|
|
67147c0 |
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-21
|
|
|
67147c0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
67147c0 |
|
|
|
e841072 |
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-20
|
|
|
e841072 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
e841072 |
|
|
|
8a04fd6 |
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-19
|
|
|
8a04fd6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
8a04fd6 |
|
|
|
599c241 |
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-18
|
|
|
599c241 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
599c241 |
|
|
|
87d55fc |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-17
|
|
|
87d55fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
87d55fc |
|
|
|
6cd80fc |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-16
|
|
|
6cd80fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
6cd80fc |
|
|
|
f4c81cd |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-15
|
|
|
f4c81cd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
f4c81cd |
|
|
|
b577f5b |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-14
|
|
|
b577f5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
b577f5b |
|
|
|
9802644 |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-13
|
|
|
9802644 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
9802644 |
|
|
|
a9ca59c |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-12
|
|
|
a9ca59c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
a9ca59c |
|
|
|
3be653f |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-11
|
|
|
3be653f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
3be653f |
|
|
|
4431bc5 |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-10
|
|
|
4431bc5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
4431bc5 |
|
|
|
eb1cacf |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-9
|
|
|
eb1cacf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
eb1cacf |
|
|
|
e29f349 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-8
|
|
|
e29f349 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
e29f349 |
|
|
|
c5fcd59 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-7
|
|
|
c5fcd59 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
c5fcd59 |
|
|
|
784b1ef |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.1-6
|
|
|
784b1ef |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
784b1ef |
|
|
|
9b974b0 |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.1-5
|
|
|
9b974b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
9b974b0 |
|
|
Yaakov Selkowitz |
3c80f2e |
* Mon Jun 16 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 3.4.1-4
|
|
Yaakov Selkowitz |
3c80f2e |
- Fix FTBFS with -Werror=format-security (#1106116)
|
|
Yaakov Selkowitz |
3c80f2e |
|
|
|
dc829c6 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.1-3
|
|
|
dc829c6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
dc829c6 |
|
|
|
b23f21c |
* Sun Dec 15 2013 Eric Smith <eric@brouhaha.com> 3.4.1-2
|
|
|
b23f21c |
- Add comment for patch0.
|
|
|
b23f21c |
|
|
|
b23f21c |
* Sat Nov 23 2013 Eric Smith <eric@brouhaha.com> 3.4.1-1
|
|
|
b23f21c |
- Initial version.
|