OBS User unknown 2009-01-22 00:54:39 +00:00 committed by Git OBS Bridge
parent c8e3de0702
commit 0028b48b37
2 changed files with 26 additions and 14 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 22 00:51:12 CET 2009 - crrodriguez@suse.de
- remove "la" files and static libraries
- add missing freetype2-devel dependency to -devel package
-------------------------------------------------------------------
Mon May 26 12:58:18 CEST 2008 - mfabian@suse.de

View File

@ -1,10 +1,17 @@
#
# spec file for package fontforge (Version 20080429)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# 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
# 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/
#
@ -19,7 +26,7 @@ AutoReqProv: on
Obsoletes: PfaEdit
Provides: PfaEdit
Version: 20080429
Release: 1
Release: 40
Url: http://fontforge.sourceforge.net/
Source0: http://dfn.dl.sourceforge.net/sourceforge/fontforge/fontforge_full-20080429.tar.bz2
Source1: http://surfnet.dl.sourceforge.net/sourceforge/fontforge/fontforge_htdocs-20080429.tar.bz2
@ -48,7 +55,7 @@ Authors:
License: BSD 3-Clause
Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/Other
Requires: %{name} = %{version}
Requires: %{name} = %{version} freetype2-devel
Requires: pkgconfig >= 0.12
%description devel
@ -80,13 +87,8 @@ find . -name CVS -type d | xargs rm -rf
#libtoolize --force
#autoreconf --force --install
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
./configure --prefix=/usr \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
--infodir=%{_infodir} \
--with-multilayer \
%{_target_cpu}-suse-linux-gnu
make
%configure --disable-static --with-pic --with-multilayer
%{__make} %{?jobs:-j%jobs}
%install
# mkdir -p ${RPM_BUILD_ROOT}{%{_bindir},%{_libdir},%{_mandir}/man1,/usr/share/fontforge}
@ -106,8 +108,10 @@ install -d $RPM_BUILD_ROOT%_datadir/pixmaps
install -m644 $RPM_SOURCE_DIR/%name.png $RPM_BUILD_ROOT%_datadir/pixmaps/%name.png
%find_lang FontForge
%suse_update_desktop_file -i %{name} VectorGraphics
%{__rm} -f %{buildroot}%{_libdir}/*.la
%clean
%{__rm} -rf %{buildroot}
%post -p /sbin/ldconfig
@ -130,9 +134,11 @@ install -m644 $RPM_SOURCE_DIR/%name.png $RPM_BUILD_ROOT%_datadir/pixmaps/%name.p
%{_includedir}/fontforge/*
%{_libdir}/pkgconfig/*
%{_libdir}/lib*.so
%{_libdir}/lib*.*a
%changelog
* Thu Jan 22 2009 crrodriguez@suse.de
- remove "la" files and static libraries
- add missing freetype2-devel dependency to -devel package
* Mon May 26 2008 mfabian@suse.de
- bnc#246804: update to 20080429 (needed to build recent versions
of the DejaVu fonts and freefont).
@ -210,7 +216,7 @@ install -m644 $RPM_SOURCE_DIR/%name.png $RPM_BUILD_ROOT%_datadir/pixmaps/%name.p
* Wed Aug 18 2004 mfabian@suse.de
- rename: PfaEdit -> fontforge (has been renamed upstream).
- update to 20040808.
* Mon Apr 26 2004 ro@suse.de
* Sun Apr 25 2004 ro@suse.de
- use no-strict-aliasing
* Thu Feb 26 2004 mfabian@suse.de
- update to 040224.