diff --git a/libEMF.changes b/libEMF.changes index 183b1e3..93df4c4 100644 --- a/libEMF.changes +++ b/libEMF.changes @@ -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 diff --git a/libEMF.spec b/libEMF.spec index 5a86b6d..601144e 100644 --- a/libEMF.spec +++ b/libEMF.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ License: LGPL v2.1 or later Group: System/Libraries AutoReqProv: on Version: 1.0 -Release: 282 +Release: 295 Source0: %{name}-%{version}.tar.bz2 Patch0: libEMF-gcc4-fix.diff Url: http://libemf.sourceforge.net/ @@ -38,7 +38,7 @@ License: LGPL v2.1 or later Group: System/Libraries AutoReqProv: on Summary: Library for manipulation with Enhanced MetaFile (EMF, ECMA-234) -Requires: %name = %version +Requires: %name = %version glibc-devel %description LibEMF is a C/C++ library that provides a drawing toolkit based on @@ -72,47 +72,39 @@ Authors: -------- Allen Barnett -%define prefix /usr - %prep -%setup +%setup -q %patch0 # set docdir to main-package name, will only work if only # one subpackage has doc files %define _docdir_fmt %{name} %build -%{?suse_update_config:%{suse_update_config}} -export CFLAGS="$RPM_OPT_FLAGS" -export CXXFLAGS="$RPM_OPT_FLAGS" -./configure \ - --prefix=%{prefix} \ - --libdir=%{_libdir} \ - --mandir=%{_mandir} \ - --infodir=%{_infodir} \ - --sysconfdir=%{_sysconfdir} -make +%configure --disable-static --with-pic +%{__make} %{?jobs:-j%jobs} %install make DESTDIR=$RPM_BUILD_ROOT install +%{__rm} -f %{buildroot}%{_libdir}/*.la %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) -%{prefix}/bin/* +%{_bindir}/* %{_libdir}/*.so.* %files devel %defattr(-, root, root) %doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README %doc doc/html -%{prefix}/include/libEMF +%{_includedir}/libEMF %{_libdir}/*.so -%{_libdir}/*.*a %changelog +* Wed Mar 04 2009 crrodriguez@suse.de +- remove static libraries and "la" files * Wed Aug 13 2008 ro@suse.de - move ExclusiveArch to main package * Fri Feb 29 2008 ro@suse.de