Accepting request 235473 from home:elvigia:branches:devel:libraries:c_c++

- Tell doxygen to stop producing files with timestamps. 
- define udev macros only if not already there.

OBS-URL: https://build.opensuse.org/request/show/235473
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmtp?expand=0&rev=65
This commit is contained in:
Marcus Meissner 2014-05-27 06:26:01 +00:00 committed by Git OBS Bridge
parent 357f136c03
commit 4cc2a1fdbc
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue May 27 01:39:24 UTC 2014 - crrodriguez@opensuse.org
- Tell doxygen to stop producing files with timestamps.
- define udev macros only if not already there.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 9 12:45:01 UTC 2013 - meissner@suse.com Mon Dec 9 12:45:01 UTC 2013 - meissner@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package libmtp # spec file for package libmtp
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2014 SUSE LINUX Products 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
@ -34,8 +34,9 @@ Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{versi
Source1: music-players.h Source1: music-players.h
Patch0: mtpz-use-LIBMTP_ERROR-instead-of-LIBMTP_INFO.patch Patch0: mtpz-use-LIBMTP_ERROR-instead-of-LIBMTP_INFO.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d %{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d }
%define _udevdir %(pkg-config --variable=udevdir udev) %{!?_udevdir: %global _udevdir %(pkg-config --variable=udevdir udev) }
%description %description
This package contains binaries and documentation that allow access to This package contains binaries and documentation that allow access to
USB based media players based on the MTP (Media Transfer Protocol) USB based media players based on the MTP (Media Transfer Protocol)
@ -82,6 +83,7 @@ Transfer Protocol) authored by Microsoft.
cp %{SOURCE1} src/music-players.h cp %{SOURCE1} src/music-players.h
%build %build
echo 'HTML_TIMESTAMP=NO' >> doc/Doxyfile.in
%configure --with-udev=%{_udevdir} --disable-static --enable-doxygen %configure --with-udev=%{_udevdir} --disable-static --enable-doxygen
make %{?_smp_mflags} make %{?_smp_mflags}