Accepting request 395081 from home:a_faerber:branches:hardware
Update to latest Git OBS-URL: https://build.opensuse.org/request/show/395081 OBS-URL: https://build.opensuse.org/package/show/hardware/libjaylink?expand=0&rev=4
This commit is contained in:
parent
88db6dfb0d
commit
935a853368
6
_service
6
_service
@ -1,14 +1,14 @@
|
||||
<services>
|
||||
<service name="tar_scm">
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">git://repo.or.cz/libjaylink.git</param>
|
||||
<param name="filename">libjaylink</param>
|
||||
<param name="versionformat">0.1.0~git.%cd</param>
|
||||
<param name="revision">master</param>
|
||||
</service>
|
||||
<service name="recompress">
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*libjaylink-*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service name="set_version"/>
|
||||
<service name="set_version" mode="disabled"/>
|
||||
</services>
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f2d25f2cdfdacf8cf611457706838641d73523e652a5be16f36c25f134f1bff5
|
||||
size 49976
|
@ -1,103 +0,0 @@
|
||||
#
|
||||
# spec file for package libjaylink
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: libjaylink
|
||||
Version: 0.1.0~git.20160213
|
||||
Release: 0
|
||||
Url: http://git.zapb.de/libjaylink.git
|
||||
Summary: USB interface library for J-Link
|
||||
License: GPL-2.0+
|
||||
Group: Development/Tools/Debuggers
|
||||
Source: libjaylink-%{version}.tar.xz
|
||||
BuildRequires: autoconf >= 2.69
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig(libusb-1.0)
|
||||
BuildRequires: pkgconfig(udev)
|
||||
BuildRequires: xz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires(post): udev
|
||||
Requires(postun): udev
|
||||
%define _udevdir %(pkg-config --variable udevdir udev)
|
||||
Provides: libjaylink0:%{_udevdir}/rules.d/99-libjaylink.rules
|
||||
|
||||
%description
|
||||
Library for accessing Segger J-Link USB devices.
|
||||
|
||||
%package -n libjaylink0
|
||||
Summary: USB interface library for J-Link
|
||||
Recommends: libjaylink
|
||||
|
||||
%description -n libjaylink0
|
||||
Library for accessing Segger J-Link USB devices.
|
||||
|
||||
%package devel
|
||||
Summary: USB interface library for J-Link -- development files
|
||||
Requires: libjaylink0 = %{version}
|
||||
|
||||
%description devel
|
||||
Library for accessing Segger J-Link USB devices.
|
||||
|
||||
This sub-package contains development files.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
./configure \
|
||||
--prefix=%{_prefix} \
|
||||
--includedir=%{_includedir} \
|
||||
--libdir=%{_libdir} \
|
||||
--disable-static \
|
||||
CFLAGS="${RPM_OPT_FLAGS}"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make %{?_smp_mflags} install DESTDIR=%{buildroot}
|
||||
rm -f %{buildroot}%{_libdir}/libjaylink.la
|
||||
mkdir -p %{buildroot}%{_udevdir}/rules.d
|
||||
cat contrib/99-libjaylink.rules | sed -e 's/GROUP="plugdev"/GROUP="users"/' > %{buildroot}%{_udevdir}/rules.d/99-libjaylink.rules
|
||||
|
||||
%post
|
||||
%udev_rules_update
|
||||
|
||||
%postun
|
||||
%udev_rules_update
|
||||
|
||||
%post -n libjaylink0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libjaylink0 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%{_udevdir}/rules.d/99-libjaylink.rules
|
||||
|
||||
%files -n libjaylink0
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libjaylink.so.0*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/libjaylink/
|
||||
%{_libdir}/libjaylink.so
|
||||
%{_libdir}/pkgconfig/libjaylink.pc
|
||||
|
||||
%changelog
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d7b46db4e58b996afa4be0cf38cea000e0a27e5d164ad8ea763f16ac981a92f3
|
||||
size 49536
|
3
libjaylink-0.1.0~git.20160428.tar.xz
Normal file
3
libjaylink-0.1.0~git.20160428.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f4e4840bda0df7a6913d1de5c46f81bdf276698f8a9753034415e419149fce8c
|
||||
size 50392
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 12 16:25:08 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Update to latest Git snapshot (d57dee67bc756291b7d8b51d350d1c6213e514f0)
|
||||
* Relax autoconf requirement (follows configure.ac change)
|
||||
- Disable services in preparation for Factory
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 16 12:28:35 UTC 2016 - afaerber@suse.de
|
||||
|
||||
|
@ -17,14 +17,14 @@
|
||||
|
||||
|
||||
Name: libjaylink
|
||||
Version: 0.1.0~git.20160213
|
||||
Version: 0.1.0~git.20160428
|
||||
Release: 0
|
||||
Url: http://git.zapb.de/libjaylink.git
|
||||
Summary: USB interface library for J-Link
|
||||
License: GPL-2.0+
|
||||
Group: Development/Tools/Debuggers
|
||||
Source: libjaylink-%{version}.tar.xz
|
||||
BuildRequires: autoconf >= 2.69
|
||||
BuildRequires: autoconf >= 2.64
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkg-config
|
||||
|
Loading…
Reference in New Issue
Block a user