Accepting request 329147 from home:pluskalm:branches:multimedia:libs
- Cleanup spec file with spec-cleaner - Enable build checks OBS-URL: https://build.opensuse.org/request/show/329147 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libEMF?expand=0&rev=19
This commit is contained in:
parent
fa2eb9be7f
commit
482b181f4e
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 4 14:24:02 UTC 2015 - mpluskal@suse.com
|
||||
|
||||
- Cleanup spec file with spec-cleaner
|
||||
- Enable build checks
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 9 18:14:07 UTC 2013 - uweigand@de.ibm.com
|
||||
|
||||
|
26
libEMF.spec
26
libEMF.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libEMF
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# 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
|
||||
@ -17,17 +17,17 @@
|
||||
|
||||
|
||||
Name: libEMF
|
||||
BuildRequires: gcc-c++
|
||||
Version: 1.0.7
|
||||
Release: 0
|
||||
Source: http://downloads.sourceforge.net/project/libemf/libemf/%{version}/%{name}-%{version}.tar.gz
|
||||
Patch: aarch64-support.patch
|
||||
Patch2: ppc64le-support.patch
|
||||
Url: http://libemf.sourceforge.net/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: Library for Manipulation with Enhanced MetaFile (EMF, ECMA-234)
|
||||
License: LGPL-2.1+ and GPL-2.0+
|
||||
Group: System/Libraries
|
||||
Url: http://libemf.sourceforge.net/
|
||||
Source: http://downloads.sourceforge.net/project/libemf/libemf/%{version}/%{name}-%{version}.tar.gz
|
||||
Patch0: aarch64-support.patch
|
||||
Patch2: ppc64le-support.patch
|
||||
BuildRequires: gcc-c++
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# taken from includes/wine/winnt.h
|
||||
ExclusiveArch: alpha %arm aarch64 %ix86 mips ppc ppc64 ppc64le sparc s390 s390x x86_64
|
||||
|
||||
@ -92,20 +92,20 @@ SO/OO graphics object.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -p1
|
||||
%patch0 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
%configure\
|
||||
--disable-static
|
||||
%{__make} %{?jobs:-j%jobs}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
%{__rm} %{buildroot}%{_libdir}/*.la
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%check
|
||||
make %{?_smp_mflags} check
|
||||
|
||||
%post -n libEMF1 -p /sbin/ldconfig
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user