This commit is contained in:
parent
eab3daa4db
commit
627f4d18d1
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 4 04:29:11 CET 2009 - crrodriguez@suse.de
|
||||||
|
|
||||||
|
- remove static libraries and "la" files
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 13 18:01:30 CEST 2008 - ro@suse.de
|
Wed Aug 13 18:01:30 CEST 2008 - ro@suse.de
|
||||||
|
|
||||||
|
30
libEMF.spec
30
libEMF.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libEMF (Version 1.0)
|
# spec file for package libEMF (Version 1.0)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 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
|
||||||
@ -24,7 +24,7 @@ License: LGPL v2.1 or later
|
|||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Version: 1.0
|
Version: 1.0
|
||||||
Release: 282
|
Release: 295
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
Patch0: libEMF-gcc4-fix.diff
|
Patch0: libEMF-gcc4-fix.diff
|
||||||
Url: http://libemf.sourceforge.net/
|
Url: http://libemf.sourceforge.net/
|
||||||
@ -38,7 +38,7 @@ License: LGPL v2.1 or later
|
|||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Summary: Library for manipulation with Enhanced MetaFile (EMF, ECMA-234)
|
Summary: Library for manipulation with Enhanced MetaFile (EMF, ECMA-234)
|
||||||
Requires: %name = %version
|
Requires: %name = %version glibc-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
LibEMF is a C/C++ library that provides a drawing toolkit based on
|
LibEMF is a C/C++ library that provides a drawing toolkit based on
|
||||||
@ -72,47 +72,39 @@ Authors:
|
|||||||
--------
|
--------
|
||||||
Allen Barnett <libemf@lignumcomputing.com>
|
Allen Barnett <libemf@lignumcomputing.com>
|
||||||
|
|
||||||
%define prefix /usr
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup
|
%setup -q
|
||||||
%patch0
|
%patch0
|
||||||
# set docdir to main-package name, will only work if only
|
# set docdir to main-package name, will only work if only
|
||||||
# one subpackage has doc files
|
# one subpackage has doc files
|
||||||
%define _docdir_fmt %{name}
|
%define _docdir_fmt %{name}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{?suse_update_config:%{suse_update_config}}
|
%configure --disable-static --with-pic
|
||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
%{__make} %{?jobs:-j%jobs}
|
||||||
export CXXFLAGS="$RPM_OPT_FLAGS"
|
|
||||||
./configure \
|
|
||||||
--prefix=%{prefix} \
|
|
||||||
--libdir=%{_libdir} \
|
|
||||||
--mandir=%{_mandir} \
|
|
||||||
--infodir=%{_infodir} \
|
|
||||||
--sysconfdir=%{_sysconfdir}
|
|
||||||
make
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{prefix}/bin/*
|
%{_bindir}/*
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README
|
%doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README
|
||||||
%doc doc/html
|
%doc doc/html
|
||||||
%{prefix}/include/libEMF
|
%{_includedir}/libEMF
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/*.*a
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 04 2009 crrodriguez@suse.de
|
||||||
|
- remove static libraries and "la" files
|
||||||
* Wed Aug 13 2008 ro@suse.de
|
* Wed Aug 13 2008 ro@suse.de
|
||||||
- move ExclusiveArch to main package
|
- move ExclusiveArch to main package
|
||||||
* Fri Feb 29 2008 ro@suse.de
|
* Fri Feb 29 2008 ro@suse.de
|
||||||
|
Loading…
Reference in New Issue
Block a user