|
Gabriel Somlo |
b0a9c4d |
%global commit0 1a40ae75d4eebee9cce73a2c4d634fd42ed0110f
|
|
|
0998145 |
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
|
|
|
0998145 |
|
|
Gabriel Somlo |
b0a9c4d |
%global snapdate 20231218
|
|
Gabriel L. Somlo |
18e3f25 |
|
|
|
0998145 |
%global __python %{__python3}
|
|
|
0998145 |
|
|
|
0998145 |
Name: icestorm
|
|
|
0998145 |
Version: 0
|
|
|
7b52b40 |
Release: 0.32.%{snapdate}git%{shortcommit0}%{?dist}
|
|
|
0998145 |
Summary: Lattice iCE40 FPGA bitstream creation/analysis/programming tools
|
|
|
0998145 |
License: ISC
|
|
Gabriel Somlo |
99dc8f8 |
URL: http://bygone.clairexen.net/%{name}
|
|
Gabriel Somlo |
b63b907 |
Source0: https://github.com/YosysHQ/%{name}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
|
|
|
0998145 |
|
|
|
0998145 |
# Fedora-specific patch for datadir
|
|
|
0998145 |
Patch1: %{name}-datadir.patch
|
|
|
0998145 |
|
|
|
365d799 |
BuildRequires: gcc-c++
|
|
|
0998145 |
BuildRequires: python%{python3_pkgversion} libftdi-devel
|
|
|
6ff0172 |
BuildRequires: make
|
|
|
0998145 |
|
|
|
0998145 |
%description
|
|
|
0998145 |
Project IceStorm aims at documenting the bitstream format of Lattice iCE40
|
|
|
0998145 |
FPGAs and providing simple tools for analyzing and creating bitstream files.
|
|
|
0998145 |
|
|
|
0998145 |
%prep
|
|
|
0998145 |
%setup -q -n %{name}-%{commit0}
|
|
Gabriel Somlo |
b0a9c4d |
%patch 1 -p1 -b .datadir
|
|
|
309bbcb |
|
|
|
0998145 |
# fix shebang lines in Python scripts
|
|
|
0998145 |
find . -name \*.py -exec sed -i 's|/usr/bin/env python3|/usr/bin/python3|' {} \;
|
|
|
0998145 |
# get rid of .gitignore files in examples
|
|
|
0998145 |
find . -name \.gitignore -delete
|
|
|
0998145 |
|
|
|
0998145 |
%build
|
|
|
72cb812 |
%global moreflags -I/usr/include/libftdi1
|
|
|
0998145 |
make %{?_smp_mflags} \
|
|
|
0998145 |
CFLAGS="%{optflags} %{moreflags}" \
|
|
|
0998145 |
CXXFLAGS="%{optflags} %{moreflags}" \
|
|
|
72cb812 |
PREFIX="%{_prefix}" \
|
|
|
72cb812 |
CHIPDB_SUBDIR="%{name}" \
|
|
|
0998145 |
LDFLAGS="$RPM_LD_FLAGS"
|
|
|
0998145 |
|
|
|
0998145 |
%install
|
|
|
0998145 |
%make_install PREFIX="%{_prefix}"
|
|
|
0998145 |
chmod +x %{buildroot}%{_bindir}/icebox.py
|
|
|
0998145 |
mv %{buildroot}%{_datarootdir}/icebox %{buildroot}%{_datarootdir}/%{name}
|
|
|
0998145 |
mv %{buildroot}%{_bindir}/iceboxdb.py %{buildroot}%{_datarootdir}/%{name}
|
|
|
55250c2 |
install -pm644 icefuzz/timings_*.txt %{buildroot}%{_datarootdir}/%{name}
|
|
|
0998145 |
|
|
|
0998145 |
# We could do a minimal check section by running make in the example
|
|
|
0998145 |
# directories, but that depends on arachne-pnr, which depends on this
|
|
|
0998145 |
# package, so it would create a circular dependency.
|
|
|
0998145 |
|
|
|
0998145 |
%files
|
|
|
0998145 |
%license README
|
|
|
0998145 |
%doc examples
|
|
|
0998145 |
%{_bindir}/*
|
|
|
0998145 |
%{_datarootdir}/%{name}
|
|
|
0998145 |
|
|
|
0998145 |
%changelog
|
|
|
7b52b40 |
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.32.20231218git1a40ae7
|
|
|
7b52b40 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
7b52b40 |
|
|
|
278b2fd |
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.31.20231218git1a40ae7
|
|
|
278b2fd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
278b2fd |
|
|
Gabriel Somlo |
b0a9c4d |
* Mon Dec 18 2023 Gabriel Somlo <gsomlo@gmail.com> - 0-0.30.20231218git1a40ae7
|
|
Gabriel Somlo |
b0a9c4d |
- Update to newer snapshot
|
|
Gabriel Somlo |
b0a9c4d |
|
|
|
8c4f0fe |
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.29.20230220gitd20a5e9
|
|
|
8c4f0fe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
8c4f0fe |
|
|
Gabriel Somlo |
1cf5edb |
* Mon Feb 20 2023 Gabriel Somlo <gsomlo@gmail.com> - 0-0.28.20230220gitd20a5e9
|
|
Gabriel Somlo |
1cf5edb |
- Update to newer snapshot
|
|
Gabriel Somlo |
1cf5edb |
|
|
Gabriel Somlo |
f1c8953 |
* Wed Feb 15 2023 Gabriel Somlo <gsomlo@gmail.com> - 0-0.27.20230215git8649e3e
|
|
Gabriel Somlo |
f1c8953 |
- Update to newer snapshot
|
|
Gabriel Somlo |
f1c8953 |
|
|
|
8815836 |
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.26.20230104git45f5e5f
|
|
|
8815836 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
8815836 |
|
|
Gabriel Somlo |
c9a07df |
* Wed Jan 04 2023 Gabriel Somlo <gsomlo@gmail.com> - 0-0.25.20230104git45f5e5f
|
|
Gabriel Somlo |
c9a07df |
- Update to newer snapshot
|
|
Gabriel Somlo |
c9a07df |
|
|
Gabriel Somlo |
6ed77b4 |
* Thu Oct 06 2022 Gabriel Somlo <gsomlo@gmail.com> - 0-0.24.20221006gita545498
|
|
Gabriel Somlo |
6ed77b4 |
- Update to newer snapshot
|
|
Gabriel Somlo |
6ed77b4 |
|
|
|
f5a2473 |
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.23.20220705git2bc5417
|
|
|
f5a2473 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
f5a2473 |
|
|
Gabriel Somlo |
99dc8f8 |
* Tue Jul 05 2022 Gabriel Somlo <gsomlo@gmail.com> - 0-0.22.20220705git2bc5417
|
|
Gabriel Somlo |
99dc8f8 |
- Update URL in spec file
|
|
Gabriel Somlo |
99dc8f8 |
- Update to newer snapshot
|
|
Gabriel Somlo |
99dc8f8 |
|
|
Gabriel Somlo |
a2c9d6d |
* Mon May 09 2022 Gabriel Somlo <gsomlo@gmail.com> - 0-0.21.20220509git9f66f9c
|
|
Gabriel Somlo |
a2c9d6d |
- Update to newer snapshot
|
|
Gabriel Somlo |
a2c9d6d |
|
|
Gabriel Somlo |
f241e06 |
* Tue Feb 22 2022 Gabriel Somlo <gsomlo@gmail.com> - 0-0.20.20220222git8fa85d5
|
|
Gabriel Somlo |
f241e06 |
- Update to newer snapshot
|
|
Gabriel Somlo |
f241e06 |
|
|
|
73370cc |
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.19.20210928git83b8ef9
|
|
|
73370cc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
73370cc |
|
|
Gabriel Somlo |
cc8dab4 |
* Tue Sep 28 2021 Gabriel Somlo <gsomlo@gmail.com> - 0-0.18.20210928git83b8ef9
|
|
Gabriel Somlo |
cc8dab4 |
- Update to newer snapshot
|
|
Gabriel Somlo |
cc8dab4 |
|
|
Gabriel Somlo |
787a523 |
* Sat Sep 04 2021 Gabriel Somlo <gsomlo@gmail.com> - 0-0.17.20210904gitb93cb16
|
|
Gabriel Somlo |
787a523 |
- Update to newer snapshot
|
|
Gabriel Somlo |
787a523 |
|
|
|
fb2237a |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.16.20200806gitd123087
|
|
|
fb2237a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
fb2237a |
|
|
|
945735f |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.15.20200806gitd123087
|
|
|
945735f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
945735f |
|
|
Gabriel Somlo |
b63b907 |
* Thu Aug 06 2020 Gabriel Somlo <gsomlo@gmail.com> - 0-0.14.20200806gitd123087
|
|
Gabriel Somlo |
b63b907 |
- Update to newer snapshot
|
|
Gabriel Somlo |
b63b907 |
- Spec file: update github URL
|
|
Gabriel Somlo |
b63b907 |
|
|
|
2f1810f |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.13.20200517gitcd2610e
|
|
|
2f1810f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
2f1810f |
|
|
Gabriel Somlo |
d87ffe1 |
* Sun May 17 2020 Gabriel Somlo <gsomlo@gmail.com> - 0-0.12.20200517gitcd2610e
|
|
Gabriel Somlo |
d87ffe1 |
- Update to newer snapshot
|
|
Gabriel Somlo |
d87ffe1 |
- Spec file: remove gcc10 patch (now in upstream)
|
|
Gabriel Somlo |
d87ffe1 |
|
|
|
0e8e88f |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.11.20190823git9594931
|
|
|
0e8e88f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
0e8e88f |
|
|
|
309bbcb |
* Sat Dec 14 2019 Jeff Law <law@redhat.com> - 0-0.10.20190823git9594931
|
|
|
309bbcb |
- Fix missing #include for gcc-10
|
|
|
309bbcb |
|
|
Gabriel L. Somlo |
18e3f25 |
* Fri Aug 23 2019 Gabriel Somlo <gsomlo@gmail.com> - 0-0.9.20190823git9594931
|
|
Gabriel L. Somlo |
18e3f25 |
- Update to newer snapshot
|
|
Gabriel L. Somlo |
18e3f25 |
- Spec file: fix source URL; add 'snapdate' variable
|
|
Gabriel L. Somlo |
18e3f25 |
|
|
|
d574e91 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.8.20190311gitfa1c932
|
|
|
d574e91 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
d574e91 |
|
|
|
8f10639 |
* Tue Mar 19 2019 Lubomir Rintel <lkundrak@v3.sk> - 0-0.7.20190311gitfa1c932
|
|
|
8f10639 |
- Update to a newer snapshot
|
|
|
55250c2 |
- Package the timing files
|
|
|
55250c2 |
|
|
|
6932655 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.7.20170914git5c4d4db
|
|
|
6932655 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
6932655 |
|
|
|
4cec0c1 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.6.20170914git5c4d4db
|
|
|
4cec0c1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
4cec0c1 |
|
|
|
72cb812 |
* Thu Feb 15 2018 Lubomir Rintel <lkundrak@v3.sk> 0-0.5.20170914git5c4d4db
|
|
|
72cb812 |
- Fix the chipdb path for icetime
|
|
|
72cb812 |
|
|
|
b4e839a |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.4.20170914git5c4d4db
|
|
|
b4e839a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
b4e839a |
|
|
|
0998145 |
* Thu Sep 14 2017 Eric Smith <brouhaha@fedoraproject.org> 0-0.3.20170914git5c4d4db
|
|
|
0998145 |
- Updated per review comments.
|
|
|
0998145 |
- Updated to latest upstream.
|
|
|
0998145 |
|
|
|
0998145 |
* Sat Dec 10 2016 Eric Smith <brouhaha@fedoraproject.org> 0-0.2.20161101git01b9822
|
|
|
0998145 |
- Updated per review comments.
|
|
|
0998145 |
- Updated to latest upstream.
|
|
|
0998145 |
|
|
|
0998145 |
* Mon Sep 12 2016 Eric Smith <brouhaha@fedoraproject.org> 0-0.1.20160904git0b4b038
|
|
|
0998145 |
- Initial version.
|