2007-01-16 00:21:18 +01:00
|
|
|
#
|
|
|
|
# spec file for package libEMF (Version 1.0)
|
|
|
|
#
|
2009-03-04 15:13:44 +01:00
|
|
|
# Copyright (c) 2009 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
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-02-29 12:40:00 +01:00
|
|
|
|
|
|
|
Name: libEMF
|
|
|
|
BuildRequires: gcc-c++
|
2011-12-06 18:23:19 +01:00
|
|
|
License: LGPL-2.1+
|
2008-02-29 12:40:00 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
AutoReqProv: on
|
|
|
|
Version: 1.0
|
2009-03-04 15:13:44 +01:00
|
|
|
Release: 295
|
2008-02-29 12:40:00 +01:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
Patch0: libEMF-gcc4-fix.diff
|
|
|
|
Url: http://libemf.sourceforge.net/
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Summary: Library for Manipulation with Enhanced MetaFile (EMF, ECMA-234)
|
2008-08-13 18:02:03 +02:00
|
|
|
# add platforms with a wine port here
|
|
|
|
ExclusiveArch: axp %ix86 ppc sparc
|
2008-02-29 12:40:00 +01:00
|
|
|
|
2007-01-16 00:21:18 +01:00
|
|
|
%package devel
|
2011-12-06 18:23:19 +01:00
|
|
|
License: LGPL-2.1+
|
2008-02-29 12:40:00 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
AutoReqProv: on
|
|
|
|
Summary: Library for manipulation with Enhanced MetaFile (EMF, ECMA-234)
|
2009-03-04 15:13:44 +01:00
|
|
|
Requires: %name = %version glibc-devel
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Allen Barnett <libemf@lignumcomputing.com>
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Allen Barnett <libemf@lignumcomputing.com>
|
|
|
|
|
|
|
|
%prep
|
2009-03-04 15:13:44 +01:00
|
|
|
%setup -q
|
2008-02-29 12:40:00 +01:00
|
|
|
%patch0
|
|
|
|
# set docdir to main-package name, will only work if only
|
|
|
|
# one subpackage has doc files
|
|
|
|
%define _docdir_fmt %{name}
|
2007-01-16 00:21:18 +01:00
|
|
|
|
|
|
|
%build
|
2009-03-04 15:13:44 +01:00
|
|
|
%configure --disable-static --with-pic
|
|
|
|
%{__make} %{?jobs:-j%jobs}
|
2007-01-16 00:21:18 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
2009-03-04 15:13:44 +01:00
|
|
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
2007-01-16 00:21:18 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
2009-03-04 15:13:44 +01:00
|
|
|
%{_bindir}/*
|
2007-01-16 00:21:18 +01:00
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
2008-02-29 12:40:00 +01:00
|
|
|
%doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README
|
|
|
|
%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
|
2009-03-04 15:13:44 +01:00
|
|
|
* Wed Mar 04 2009 crrodriguez@suse.de
|
|
|
|
- remove static libraries and "la" files
|
2008-08-13 18:02:03 +02:00
|
|
|
* Wed Aug 13 2008 ro@suse.de
|
|
|
|
- move ExclusiveArch to main package
|
2008-02-29 12:40:00 +01:00
|
|
|
* Fri Feb 29 2008 ro@suse.de
|
|
|
|
- fix build with current gcc
|
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:21:18 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-02-29 12:40:00 +01:00
|
|
|
* Thu Sep 29 2005 dmueller@suse.de
|
2007-01-16 00:21:18 +01:00
|
|
|
- add norootforbuild
|
2008-02-29 12:40:00 +01:00
|
|
|
* Sat Aug 23 2003 ro@suse.de
|
2007-01-16 00:21:18 +01:00
|
|
|
- added ExclusiveArch to specfile
|
2008-02-29 12:40:00 +01:00
|
|
|
* Sun Jun 15 2003 coolo@suse.de
|
2007-01-16 00:21:18 +01:00
|
|
|
- package %%_docdir
|
2008-02-29 12:40:00 +01:00
|
|
|
* Thu Nov 21 2002 sbrabec@suse.cz
|
2007-01-16 00:21:18 +01:00
|
|
|
- New package.
|