Accepting request 403707 from hardware
1 OBS-URL: https://build.opensuse.org/request/show/403707 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libjaylink?expand=0&rev=2
This commit is contained in:
commit
512edb9173
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 19 20:09:09 UTC 2016 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Reset RPM groups
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 12 17:15:42 UTC 2016 - afaerber@suse.de
|
Thu May 12 17:15:42 UTC 2016 - afaerber@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libjaylink
|
# spec file for package libjaylink
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -28,9 +28,9 @@ BuildRequires: autoconf >= 2.64
|
|||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
|
BuildRequires: xz
|
||||||
BuildRequires: pkgconfig(libusb-1.0)
|
BuildRequires: pkgconfig(libusb-1.0)
|
||||||
BuildRequires: pkgconfig(udev)
|
BuildRequires: pkgconfig(udev)
|
||||||
BuildRequires: xz
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Requires(post): udev
|
Requires(post): udev
|
||||||
Requires(postun): udev
|
Requires(postun): udev
|
||||||
@ -42,6 +42,7 @@ Library for accessing Segger J-Link USB devices.
|
|||||||
|
|
||||||
%package -n libjaylink0
|
%package -n libjaylink0
|
||||||
Summary: USB interface library for J-Link
|
Summary: USB interface library for J-Link
|
||||||
|
Group: System/Libraries
|
||||||
Recommends: libjaylink
|
Recommends: libjaylink
|
||||||
|
|
||||||
%description -n libjaylink0
|
%description -n libjaylink0
|
||||||
@ -49,31 +50,27 @@ Library for accessing Segger J-Link USB devices.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: USB interface library for J-Link -- development files
|
Summary: USB interface library for J-Link -- development files
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libjaylink0 = %{version}
|
Requires: libjaylink0 = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Library for accessing Segger J-Link USB devices.
|
Library for accessing Segger J-Link USB devices.
|
||||||
|
|
||||||
This sub-package contains development files.
|
This sub-package contains the development files.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
./configure \
|
%configure --disable-static
|
||||||
--prefix=%{_prefix} \
|
|
||||||
--includedir=%{_includedir} \
|
|
||||||
--libdir=%{_libdir} \
|
|
||||||
--disable-static \
|
|
||||||
CFLAGS="${RPM_OPT_FLAGS}"
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make %{?_smp_mflags} install DESTDIR=%{buildroot}
|
make %{?_smp_mflags} install DESTDIR=%{buildroot}
|
||||||
rm -f %{buildroot}%{_libdir}/libjaylink.la
|
rm -f %{buildroot}%{_libdir}/libjaylink.la
|
||||||
mkdir -p %{buildroot}%{_udevdir}/rules.d
|
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
|
sed -e 's/GROUP="plugdev"/GROUP="users"/' <contrib/99-libjaylink.rules >%{buildroot}%{_udevdir}/rules.d/99-libjaylink.rules
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%udev_rules_update
|
%udev_rules_update
|
||||||
|
Loading…
x
Reference in New Issue
Block a user