forked from pool/openocd
Accepting request 221774 from home:matwey:atsamd20_xpro
Hi, I fixed the _service file. Please, see 215239 for full description of the package. OBS-URL: https://build.opensuse.org/request/show/221774 OBS-URL: https://build.opensuse.org/package/show/hardware/openocd?expand=0&rev=1
This commit is contained in:
commit
d66fb7ab9c
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
13
_service
Normal file
13
_service
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<services>
|
||||||
|
<service name="tar_scm" mode="disabled">
|
||||||
|
<param name="url">git://git.code.sf.net/p/openocd/code</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="filename">openocd</param>
|
||||||
|
<param name="versionformat">0.7.99+git%cd</param>
|
||||||
|
</service>
|
||||||
|
<service name="recompress" mode="disabled">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">bz2</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="disabled"/>
|
||||||
|
</services>
|
3
openocd-0.7.99+git20140206.tar.bz2
Normal file
3
openocd-0.7.99+git20140206.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0486deb94a27e26a7d58669e78501d545900232079c8232a3361d01e8cf3dcad
|
||||||
|
size 3208726
|
15
openocd.changes
Normal file
15
openocd.changes
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 27 08:49:15 UTC 2014 - matwey.kornilov@gmail.com
|
||||||
|
|
||||||
|
- remove Atmel SAMD20-XPRO patches
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 13 15:33:09 UTC 2013 - matwey.kornilov@gmail.com
|
||||||
|
|
||||||
|
- add Atmel SAMD20-XPRO patches
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 12 16:14:48 UTC 2013 - prusnak@opensuse.org
|
||||||
|
|
||||||
|
- created package based on Fedora package (version 0.7.0)
|
||||||
|
|
118
openocd.spec
Normal file
118
openocd.spec
Normal file
@ -0,0 +1,118 @@
|
|||||||
|
Name: openocd
|
||||||
|
Version: 0.7.99+git20140206
|
||||||
|
Release: 0
|
||||||
|
License: GPL-2.0
|
||||||
|
Summary: Debugging, in-system programming and boundary-scan testing for embedded devices
|
||||||
|
Url: http://openocd.sourceforge.net/
|
||||||
|
Group: Development/Tools/Debuggers
|
||||||
|
Source0: http://downloads.sourceforge.net/project/openocd/openocd/%{version}/%{name}-%{version}.tar.bz2
|
||||||
|
BuildRequires: automake
|
||||||
|
BuildRequires: autoconf >= 2.64
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: makeinfo
|
||||||
|
BuildRequires: jimtcl-devel
|
||||||
|
BuildRequires: pkg-config >= 0.23
|
||||||
|
BuildRequires: libftdi1-devel
|
||||||
|
BuildRequires: pkgconfig(libusb-1.0)
|
||||||
|
BuildRequires: libhidapi-devel
|
||||||
|
BuildRequires: libudev-devel
|
||||||
|
Requires(post): udev
|
||||||
|
Requires(postun): udev
|
||||||
|
Requires: %{name}-data == %{version}-%{release}
|
||||||
|
|
||||||
|
%description
|
||||||
|
The Open On-Chip Debugger (OpenOCD) provides debugging, in-system programming
|
||||||
|
and boundary-scan testing for embedded devices. Various different boards,
|
||||||
|
targets, and interfaces are supported to ease development time.
|
||||||
|
|
||||||
|
Install OpenOCD if you are looking for an open source solution for hardware
|
||||||
|
debugging.
|
||||||
|
|
||||||
|
%package data
|
||||||
|
Summary: Hardware Scripts for OpenOCD
|
||||||
|
Group: Development/Tools/Debuggers
|
||||||
|
BuildArch: noarch
|
||||||
|
Requires: %{name} == %{version}-%{release}
|
||||||
|
|
||||||
|
%description data
|
||||||
|
The Open On-Chip Debugger (OpenOCD) provides debugging, in-system programming
|
||||||
|
and boundary-scan testing for embedded devices.
|
||||||
|
This package provides hardware description files and documentation.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
./bootstrap nosubmodule
|
||||||
|
%configure \
|
||||||
|
--disable-werror \
|
||||||
|
--enable-static \
|
||||||
|
--disable-shared \
|
||||||
|
--disable-internal-jimtcl \
|
||||||
|
--disable-doxygen-html \
|
||||||
|
--enable-sysfsgpio \
|
||||||
|
--enable-ioutil \
|
||||||
|
--enable-ftdi \
|
||||||
|
--enable-gw16012 \
|
||||||
|
--enable-buspirate \
|
||||||
|
--enable-ti-icdi \
|
||||||
|
--enable-amtjtagaccel \
|
||||||
|
--enable-arm-jtag-ew \
|
||||||
|
--enable-oocd_trace \
|
||||||
|
--enable-osbdm \
|
||||||
|
--enable-opendous \
|
||||||
|
--enable-aice \
|
||||||
|
--enable-remote-bitbang \
|
||||||
|
--enable-jlink \
|
||||||
|
--enable-rlink \
|
||||||
|
--enable-stlink \
|
||||||
|
--enable-ulink \
|
||||||
|
--enable-cmsis-dap \
|
||||||
|
--enable-vsllink
|
||||||
|
# --enable-zy1000 \
|
||||||
|
# --enable-ft2232_libftdi \
|
||||||
|
# --enable-openjtag_ftdi \
|
||||||
|
# --enable-usb_blaster_libftdi \
|
||||||
|
# --enable-presto_libftdi \
|
||||||
|
# --enable-bcm2835gpio \ // raspberry
|
||||||
|
# --enable-ep39xx \ // arm only
|
||||||
|
# --enable-at91rm9200 \ // arm only
|
||||||
|
# --enable-parport \
|
||||||
|
# --enable-parport_ppdev \
|
||||||
|
|
||||||
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
rm -f %{buildroot}%{_infodir}/dir
|
||||||
|
rm -f %{buildroot}%{_libdir}/libopenocd.*
|
||||||
|
mkdir -p %buildroot/etc/udev/rules.d
|
||||||
|
mv %{buildroot}%{_datadir}/%{name}/contrib/openocd.udev %buildroot/etc/udev/rules.d/99-openocd.rules
|
||||||
|
|
||||||
|
%post
|
||||||
|
udevadm control --reload
|
||||||
|
|
||||||
|
%postun
|
||||||
|
udevadm control --reload
|
||||||
|
|
||||||
|
%post data
|
||||||
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||||
|
|
||||||
|
%preun data
|
||||||
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
%config /etc/udev/rules.d/99-openocd.rules
|
||||||
|
|
||||||
|
%files data
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_datadir}/%{name}
|
||||||
|
%doc %{_mandir}/man1/*
|
||||||
|
%doc %{_infodir}/%{name}.info*.gz
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user