Name: urjtag Version: 0.10 Release: 22%{?dist}.20171020git49a4f5b5 Summary: A tool for communicating over JTAG with flash chips and CPUs Group: Development/Tools License: GPLv2+ URL: http://urjtag.org # Snapshot from official git-svn mirror # git://urjtag.git.sourceforge.net/gitroot/urjtag/urjtag Source0: urjtag-20171020-git-49a4f5b5.tar.bz2 # NOTE: # The upstream git-svn repo contains two directories: 'web' and 'urjtag'. # We're only interested in packaging the later. # Yet urjtag's configure script calls git to get the snapshot version, # (grep for SVN_REVISION in the source) # thus we preserve the .git, web and urjtag directory structure in our snapshot tarballs. # The presense of this extra level of 'urjtag' dir causes some awkwardness in this spec. # 0001-svf-guard-against-chain-cable-being-NULL.patch # Sent to the urjtag-development list on Jan 24, 2012: # http://sourceforge.net/mailarchive/forum.php?thread_name=1327375235-16426-1-git-send-email-scottt.tw%40gmail.com&forum_name=urjtag-development Patch0: 0001-svf-guard-against-chain-cable-being-NULL.patch Patch1: urjtag-fixarm.patch # Patch2: urjtag-fixftdi.patch # We do autoreconf for the git snapshot BuildRequires: gettext-devel BuildRequires: libtool BuildRequires: readline-devel BuildRequires: libftdi-devel BuildRequires: swig BuildRequires: python2-devel BuildRequires: bison BuildRequires: flex %description UrJTAG aims to create an enhanced, modern tool for communicating over JTAG with flash chips, CPUs, and many more. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package -n python2-urjtag %{?python_provide:%python_provide python2-urjtag} # Remove before F30 Provides: %{name}-python = %{version}-%{release} Provides: %{name}-python%{?_isa} = %{version}-%{release} Obsoletes: %{name}-python < %{version}-%{release} Summary: Python bindings for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description -n python2-urjtag Python bindings and examples for %{name}. %prep %setup -q -n %{name}-20171020-git-49a4f5b5 %patch1 -p1 -b .arm # %%patch2 -p1 -b .ftdi %build cd urjtag autoreconf -i -s -v -f %configure --enable-stapl --enable-bsdl --enable-svf # V=1: verbose build, disables AM_SILENT_RULES make %{?_smp_mflags} V=1 %install cd urjtag make install DESTDIR=%{buildroot} rm -f %{buildroot}%{_libdir}/*.la rm -f %{buildroot}%{_libdir}/*.a %find_lang %{name} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f urjtag/%{name}.lang %doc urjtag/README urjtag/NEWS urjtag/ChangeLog urjtag/COPYING urjtag/AUTHORS %doc urjtag/doc/howto_add_support_for_more_flash.txt %doc urjtag/doc/README.ejtag urjtag/doc/README.pld urjtag/doc/README.stapl %doc urjtag/doc/UrJTAG.txt %{_bindir}/jtag %{_bindir}/bsdl2jtag %{_libdir}/liburjtag.so.* %dir %{_datadir}/urjtag/ %{_datadir}/urjtag/* %{_mandir}/man1/jtag.1* %{_mandir}/man1/bsdl2jtag.1* %files devel %dir %{_includedir}/urjtag %{_includedir}/urjtag/*.h %{_libdir}/liburjtag.so %{_libdir}/pkgconfig/urjtag.pc %files -n python2-urjtag %{_libdir}/python*/site-packages/urjtag*.egg-info %{_libdir}/python*/site-packages/urjtag.so %doc urjtag/doc/urjtag-python.txt %doc urjtag/bindings/python/t_urjtag_chain.py %doc urjtag/bindings/python/t_srst.py %changelog * Thu Mar 01 2018 Jiri Kastner - 0.10-22.20171020git49a4f5b5 - added bison and flex for bsdl2jtag command - updated to latest master * Fri Feb 09 2018 Iryna Shcherbina - 0.10-21.20111215gite1a4227 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Fri Feb 09 2018 Fedora Release Engineering - 0.10-20.20111215gite1a4227 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek - 0.10-19.20111215gite1a4227 - Add Provides for the old name without %%_isa * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.10-18.20111215gite1a4227 - Python 2 binary package renamed to python2-urjtag See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 * Thu Aug 03 2017 Fedora Release Engineering - 0.10-17.20111215gite1a4227 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.10-16.20111215gite1a4227 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.10-15.20111215gite1a4227 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Jan 12 2017 Igor Gnatenko - 0.10-14.20111215gite1a4227 - Rebuild for readline 7.x * Fri Dec 9 2016 Jiri Kastner - 0.10-13.20111215gite1a4227 - libftdi is not detected as it is libftdi1 * Tue Jul 19 2016 Fedora Release Engineering - 0.10-12.20111215gite1a4227 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Fri Feb 05 2016 Fedora Release Engineering - 0.10-11.20111215gite1a4227 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jun 19 2015 Fedora Release Engineering - 0.10-10.20111215gite1a4227 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Sep 16 2014 Peter Robinson 0.10-9.20111215gite1a4227 - Add patch to fix FTBFS on ARMv7 * Mon Aug 18 2014 Fedora Release Engineering - 0.10-8.20111215gite1a4227 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 0.10-7.20111215gite1a4227 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu Jun 05 2014 Scott Tsai - 0.10-6.20111215gite1a4227 - Rebuilt for libftdi soname bump * Wed Oct 9 2013 Shakthi Kannan - 0.10-5.20111215gite1a4227 - ExcludeArch armv7hl * Fri Feb 15 2013 Fedora Release Engineering - 0.10-4.20111215gite1a4227 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sun Jul 22 2012 Fedora Release Engineering - 0.10-3.20111215gite1a4227 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Dec 15 2011 Scott Tsai 0.10-2.20111215gite1a4227 - Initial RPM release