Parallel build with %_smp_mflags

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmtp?expand=0&rev=38
This commit is contained in:
Jan Engelhardt 2011-12-29 16:31:04 +00:00 committed by Git OBS Bridge
parent d65e37274a
commit eba2a8dc69
2 changed files with 15 additions and 51 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Dec 29 16:30:06 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections (authors list, already in package
as a file); put %description after %package
- Parallel build with %_smp_mflags
-------------------------------------------------------------------
Thu Dec 29 11:46:54 UTC 2011 - adrian@suse.de

View File

@ -15,10 +15,11 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define debug_package_requires libmtp9 = %{version}-%{release}
Name: libmtp
Url: http://sf.net/projects/libmtp
URL: http://sf.net/projects/libmtp
BuildRequires: doxygen
BuildRequires: libusb-devel
BuildRequires: pkg-config
@ -39,17 +40,6 @@ authored by Microsoft.
Common devices using this technology are Creative Zen, iRiver, Samsung
and others.
Authors:
--------
Richard Low <richard@wentnet.com>
Linus Walleij <triad@df.lth.se>
based on code by:
Mariusz Woloszyn <emsi@ipartners.pl>
Marcus Meissner <marcus@jet.franken.de>
%package -n libmtp9
Summary: Library for accessing MTP Players
Group: Productivity/Multimedia/Sound/Players
@ -62,21 +52,15 @@ Microsoft.
Common devices using this technology are Creative Zen, iRiver, Samsung
and others.
Authors:
--------
Richard Low <richard@wentnet.com>
Linus Walleij <triad@df.lth.se>
based on code by:
Mariusz Woloszyn <emsi@ipartners.pl>
Marcus Meissner <marcus@jet.franken.de>
%package -n mtp-tools
Summary: Commandline utilities for access to MTP Players
Group: Productivity/Multimedia/Sound/Players
%description -n mtp-tools
This package contains binaries that allow command line access to USB
based media players based on the MTP (Media Transfer Protocol) authored
by Microsoft. For graphical user interfaces use Amarok or Banshee.
%package devel
Summary: Development files for access to MTP Player library
Group: Development/Libraries/Other
@ -88,40 +72,13 @@ This package contains the development headers for the libmtp library
that allows access to USB based media players based on the MTP (Media
Transfer Protocol) authored by Microsoft.
Authors:
--------
Richard Low <richard@wentnet.com>
Linus Walleij <triad@df.lth.se>
based on code by:
Mariusz Woloszyn <emsi@ipartners.pl>
Marcus Meissner <marcus@jet.franken.de>
%description -n mtp-tools
This package contains binaries that allow command line access to USB
based media players based on the MTP (Media Transfer Protocol) authored
by Microsoft. For graphical user interfaces use Amarok or Banshee.
Authors:
--------
Richard Low <richard@wentnet.com>
Linus Walleij <triad@df.lth.se>
based on code by:
Mariusz Woloszyn <emsi@ipartners.pl>
Marcus Meissner <marcus@jet.franken.de>
%prep
%setup -q
%patch0 -p0
%build
%configure --disable-static --enable-doxygen
make
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT