update to 2021.03 [release 2021.03-1mamba;Sat Nov 26 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 18:50:59 +01:00
parent 669ceb577d
commit cde9e8b3fb

View File

@ -1,35 +1,63 @@
Name: urjtag
Version: 0.10
Release: 3mamba
Version: 2021.03
Release: 1mamba
Summary: A software which enables working with JTAG-aware hardware devices and boards through JTAG adapter
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Tiziana Ferro <tiziana.ferro@email.it>
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://urjtag.org/
Source: http://downloads.sourceforge.net/sourceforge/urjtag/urjtag-%{version}.tar.bz2
Source: https://sourceforge.net/projects/urjtag/files/urjtag/%{version}/urjtag-%{version}.tar.xz
#Patch0: jtag-0.6-cvs-20051228-gcc4.patch
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libncurses-devel
BuildRequires: libftdi1-devel
BuildRequires: libpython3-devel
BuildRequires: libreadline-devel
BuildRequires: libusb-devel
## AUTOBUILDREQ-END
BuildRequires: openwince-devel
Obsoletes: jtag
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
#BuildRequires: openwince-devel
Obsoletes: jtag < 2021.03
Provides: jtag
%description
JTAG Tools is a software package which enables working with JTAG-aware (IEEE 1149.1) hardware devices (parts) and boards through JTAG adapter.
This package has open and modular architecture with ability to write miscellaneous extensions (like board testers, flash memory programmers, and so on).
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%package -n python-%{name}
Group: System/Libraries/Python
Summary: Python bindings for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n python-%{name}
This package contains the Python bindings to %{name}.
%debug_package
%prep
%setup -q -n urjtag-%{version}
#% patch0 -p1
%setup -q
%build
%configure
%configure \
PYTHON=%{__python3}
%make
%install
@ -48,9 +76,28 @@ This package has open and modular architecture with ability to write miscellaneo
%dir %{_datadir}/urjtag
%{_datadir}/urjtag/*
%{_mandir}/man?/*
%doc AUTHORS COPYING ChangeLog NEWS README THANKS
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/liburjtag.so.*
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/urjtag
%{_includedir}/urjtag/*.h
%{_libdir}/liburjtag.a
%{_libdir}/liburjtag.so
%{_libdir}/pkgconfig/urjtag.pc
%files -n python-%{name}
%dir %{python3_sitearch}/urjtag-*-py*-*.egg
%{python3_sitearch}/urjtag-*-py*-*.egg/*
%changelog
* Sat Nov 26 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2021.03-1mamba
- update to 2021.03
* Wed Jul 31 2013 Automatic Build System <autodist@mambasoft.it> 0.10-3mamba
- automatic rebuild by autodist