2007-01-16 00:21:18 +01:00
|
|
|
#
|
2012-05-29 12:18:57 +02:00
|
|
|
# spec file for package libEMF
|
2007-01-16 00:21:18 +01:00
|
|
|
#
|
2013-02-27 09:40:15 +01:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:21:18 +01:00
|
|
|
#
|
2008-08-13 18:02:03 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2008-02-29 12:40:00 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-16 00:21:18 +01:00
|
|
|
#
|
|
|
|
|
2008-02-29 12:40:00 +01:00
|
|
|
|
|
|
|
Name: libEMF
|
|
|
|
BuildRequires: gcc-c++
|
2012-11-23 17:55:27 +01:00
|
|
|
Version: 1.0.7
|
2012-05-29 12:18:57 +02:00
|
|
|
Release: 0
|
2013-04-11 10:37:14 +02:00
|
|
|
Source: http://downloads.sourceforge.net/project/libemf/libemf/%{version}/%{name}-%{version}.tar.gz
|
2013-03-20 17:43:41 +01:00
|
|
|
Patch: aarch64-support.patch
|
2008-02-29 12:40:00 +01:00
|
|
|
Url: http://libemf.sourceforge.net/
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Summary: Library for Manipulation with Enhanced MetaFile (EMF, ECMA-234)
|
2013-02-27 09:40:15 +01:00
|
|
|
License: LGPL-2.1+ and GPL-2.0+
|
2008-02-29 12:40:00 +01:00
|
|
|
Group: System/Libraries
|
2012-06-14 20:50:06 +02:00
|
|
|
# taken from includes/wine/winnt.h
|
2013-03-20 17:43:41 +01:00
|
|
|
ExclusiveArch: alpha %arm aarch64 %ix86 mips ppc ppc64 sparc s390 s390x x86_64
|
2007-01-16 00:21:18 +01:00
|
|
|
|
|
|
|
%description
|
2008-02-29 12:40:00 +01:00
|
|
|
LibEMF is a C/C++ library that provides a drawing toolkit based on
|
2007-01-16 00:21:18 +01:00
|
|
|
ECMA-234. The general purpose of this library is to create vector
|
2008-02-29 12:40:00 +01:00
|
|
|
graphics files on POSIX systems that can be imported into StarOffice or
|
|
|
|
OpenOffice. The Enhanced MetaFile (EMF) is one of the two color vector
|
|
|
|
graphics format that is "vectorially" understood by SO and OO. The EMF
|
|
|
|
format also has the additional advantage that it can be "broken" into
|
|
|
|
its constituent components and edited like any other SO or OO graphics
|
|
|
|
object.
|
2007-01-16 00:21:18 +01:00
|
|
|
|
2012-05-29 12:18:57 +02:00
|
|
|
%package -n libEMF1
|
|
|
|
Summary: Library for manipulation with Enhanced MetaFile (EMF, ECMA-234)
|
|
|
|
License: LGPL-2.1+
|
|
|
|
Group: System/Libraries
|
2007-01-16 00:21:18 +01:00
|
|
|
|
2012-05-29 12:18:57 +02:00
|
|
|
%description -n libEMF1
|
|
|
|
LibEMF is a C/C++ library which provides a drawing toolkit based on
|
|
|
|
ECMA-234. The general purpose of this library is to create vector
|
|
|
|
graphics files on POSIX systems which can be imported into
|
|
|
|
StarOffice/OpenOffice. The Enhanced MetaFile (EMF) is one of the two
|
|
|
|
color vector graphics format which is "vectorially" understood by
|
|
|
|
SO/OO. The EMF format also has the additional advantage that it can be
|
|
|
|
"broken" into its constituent components and edited like any other
|
|
|
|
SO/OO graphics object.
|
2007-01-16 00:21:18 +01:00
|
|
|
|
2012-05-29 12:18:57 +02:00
|
|
|
%package utils
|
|
|
|
Summary: Library for manipulation with Enhanced MetaFile (EMF, ECMA-234)
|
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Productivity/Graphics/Other
|
|
|
|
# split-provides for upgrade from openSUSE <= 12.1 and SLE <= 11
|
|
|
|
Provides: %{name}:%{_bindir}/printemf
|
2007-01-16 00:21:18 +01:00
|
|
|
|
2012-05-29 12:18:57 +02:00
|
|
|
%description utils
|
2007-01-16 00:21:18 +01:00
|
|
|
LibEMF is a C/C++ library which provides a drawing toolkit based on
|
|
|
|
ECMA-234. The general purpose of this library is to create vector
|
|
|
|
graphics files on POSIX systems which can be imported into
|
|
|
|
StarOffice/OpenOffice. The Enhanced MetaFile (EMF) is one of the two
|
|
|
|
color vector graphics format which is "vectorially" understood by
|
|
|
|
SO/OO. The EMF format also has the additional advantage that it can be
|
|
|
|
"broken" into its constituent components and edited like any other
|
|
|
|
SO/OO graphics object.
|
|
|
|
|
2012-05-29 12:18:57 +02:00
|
|
|
%package devel
|
|
|
|
Summary: Library for manipulation with Enhanced MetaFile (EMF, ECMA-234)
|
2013-02-27 09:40:15 +01:00
|
|
|
License: LGPL-2.1+ and GPL-2.0+
|
2012-05-29 12:18:57 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: glibc-devel
|
|
|
|
Requires: libEMF1 = %{version}
|
2007-01-16 00:21:18 +01:00
|
|
|
|
2012-05-29 12:18:57 +02:00
|
|
|
%description devel
|
|
|
|
LibEMF is a C/C++ library which provides a drawing toolkit based on
|
|
|
|
ECMA-234. The general purpose of this library is to create vector
|
|
|
|
graphics files on POSIX systems which can be imported into
|
|
|
|
StarOffice/OpenOffice. The Enhanced MetaFile (EMF) is one of the two
|
|
|
|
color vector graphics format which is "vectorially" understood by
|
|
|
|
SO/OO. The EMF format also has the additional advantage that it can be
|
|
|
|
"broken" into its constituent components and edited like any other
|
|
|
|
SO/OO graphics object.
|
2007-01-16 00:21:18 +01:00
|
|
|
|
|
|
|
%prep
|
2009-03-04 15:13:44 +01:00
|
|
|
%setup -q
|
2013-03-20 17:43:41 +01:00
|
|
|
%patch -p1
|
2007-01-16 00:21:18 +01:00
|
|
|
|
|
|
|
%build
|
2012-05-29 12:18:57 +02:00
|
|
|
%configure\
|
|
|
|
--disable-static
|
2009-03-04 15:13:44 +01:00
|
|
|
%{__make} %{?jobs:-j%jobs}
|
2007-01-16 00:21:18 +01:00
|
|
|
|
|
|
|
%install
|
2012-05-29 12:18:57 +02:00
|
|
|
%makeinstall
|
|
|
|
%{__rm} %{buildroot}%{_libdir}/*.la
|
2007-01-16 00:21:18 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2012-05-29 12:18:57 +02:00
|
|
|
%post -n libEMF1 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libEMF1 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n libEMF1
|
2007-01-16 00:21:18 +01:00
|
|
|
%defattr(-, root, root)
|
2012-05-29 12:18:57 +02:00
|
|
|
%doc COPYING.LIB
|
2007-01-16 00:21:18 +01:00
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
2012-05-29 12:18:57 +02:00
|
|
|
%files utils
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
|
|
%{_bindir}/*
|
|
|
|
|
2007-01-16 00:21:18 +01:00
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
2008-02-29 12:40:00 +01:00
|
|
|
%doc doc/html
|
2009-03-04 15:13:44 +01:00
|
|
|
%{_includedir}/libEMF
|
2007-01-16 00:21:18 +01:00
|
|
|
%{_libdir}/*.so
|
|
|
|
|
2008-02-29 12:40:00 +01:00
|
|
|
%changelog
|