osc service localrun format_spec_file

OBS-URL: https://build.opensuse.org/package/show/hardware/dfu-util?expand=0&rev=3
This commit is contained in:
Ismail Dönmez
2016-03-30 08:55:09 +00:00
committed by Git OBS Bridge
parent 6bbfc5e244
commit 568ad5bf11
+14 -15
View File
@@ -1,7 +1,7 @@
#
# spec file for package
# spec file for package dfu-util
#
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2016 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
@@ -15,27 +15,27 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: dfu-util
Version: 0.9
Release: 0
License: GPL-2.0
Summary: DFU firmware upgrade utility
Url: http://dfu-util.sourceforge.net
Version: 0.9
Release: 0
Summary: DFU firmware upgrade utility
License: GPL-2.0
Group: Hardware/Mobile
Url: http://dfu-util.sourceforge.net
# official site, but down for quite some time
#Url: http://dfu-util.gnumonks.org
Source: http://dfu-util.sourceforge.net/releases/%{name}-%{version}.tar.gz
Source: http://dfu-util.sourceforge.net/releases/%{name}-%{version}.tar.gz
Patch0: 0001-Allow-building-against-older-libusb-without-bus-port.patch
BuildRequires: libusb-devel
BuildRequires: libusb-devel
%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?mdkversion}
BuildRequires: libusb1-devel
BuildRequires: libusb1-devel
%endif
%if 0%{?suse_version}
BuildRequires: pkg-config
BuildRequires: pkg-config
%endif
Group: Hardware/Mobile
BuildRequires: autoconf automake
BuildRequires: autoconf
BuildRequires: automake
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -63,4 +63,3 @@ make DESTDIR=%{buildroot} install
%doc %_mandir/man1/%{name}.1.*
%changelog