9442fa27fa
- Upgrade to version 1.0.6: * Added support for strokeandfillpath and setmiterlimit. * Minor fixes. - Build for all architectures. - Split according to the Shared Library Packaging Policy. OBS-URL: https://build.opensuse.org/request/show/122444 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libEMF?expand=0&rev=12
125 lines
4.2 KiB
RPMSpec
125 lines
4.2 KiB
RPMSpec
#
|
|
# spec file for package libEMF
|
|
#
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: libEMF
|
|
BuildRequires: gcc-c++
|
|
Version: 1.0.6
|
|
Release: 0
|
|
Source: %{name}-%{version}.tar.gz
|
|
Url: http://libemf.sourceforge.net/
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Summary: Library for Manipulation with Enhanced MetaFile (EMF, ECMA-234)
|
|
License: LGPL-2.1+ ; GPL-2.0+
|
|
Group: System/Libraries
|
|
|
|
%description
|
|
LibEMF is a C/C++ library that provides a drawing toolkit based on
|
|
ECMA-234. The general purpose of this library is to create vector
|
|
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.
|
|
|
|
%package -n libEMF1
|
|
Summary: Library for manipulation with Enhanced MetaFile (EMF, ECMA-234)
|
|
License: LGPL-2.1+
|
|
Group: System/Libraries
|
|
|
|
%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.
|
|
|
|
%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
|
|
|
|
%description utils
|
|
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.
|
|
|
|
%package devel
|
|
Summary: Library for manipulation with Enhanced MetaFile (EMF, ECMA-234)
|
|
License: LGPL-2.1+ ; GPL-2.0+
|
|
Group: Development/Libraries/C and C++
|
|
Requires: glibc-devel
|
|
Requires: libEMF1 = %{version}
|
|
|
|
%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.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure\
|
|
--disable-static
|
|
%{__make} %{?jobs:-j%jobs}
|
|
|
|
%install
|
|
%makeinstall
|
|
%{__rm} %{buildroot}%{_libdir}/*.la
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post -n libEMF1 -p /sbin/ldconfig
|
|
|
|
%postun -n libEMF1 -p /sbin/ldconfig
|
|
|
|
%files -n libEMF1
|
|
%defattr(-, root, root)
|
|
%doc COPYING.LIB
|
|
%{_libdir}/*.so.*
|
|
|
|
%files utils
|
|
%defattr(-, root, root)
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
%{_bindir}/*
|
|
|
|
%files devel
|
|
%defattr(-, root, root)
|
|
%doc doc/html
|
|
%{_includedir}/libEMF
|
|
%{_libdir}/*.so
|
|
|
|
%changelog
|