SHA256
1
0
forked from pool/freetype2

- leave freetype2 behind and only go with shared library package

OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=19
This commit is contained in:
Stephan Kulow 2010-04-05 18:52:50 +00:00 committed by Git OBS Bridge
parent fbe51d3948
commit e73238df6b
3 changed files with 13 additions and 4 deletions

View File

@ -1,4 +1,7 @@
libfreetype6
obsoletes "freetype2-<targettype> <= <version>"
provides "freetype2-<targettype> = <version>
freetype2-devel
requires -libfreetype6-<targettype>
requires "zlib-devel-<targettype>"

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 5 18:52:29 UTC 2010 - coolo@novell.com
- leave freetype2 behind and only go with shared library package
-------------------------------------------------------------------
Sun Apr 4 08:14:19 UTC 2010 - aj@suse.de

View File

@ -58,6 +58,8 @@ version also contains an autohinter for producing improved output.
License: Freetype License (BSD-like). See http://freetype.sourceforge.net/FTL.TXT
Summary: A TrueType Font Library
Group: System/Libraries
Obsoletes: freetype2 <= 2.3.10
Provides: freetype2 = 2.3.10
%description -n libfreetype6
This library features TrueType fonts for open source projects. This
@ -67,7 +69,7 @@ version also contains an autohinter for producing improved output.
License: GPLv2+ ; Freetype License (BSD-like). See http://freetype.sourceforge.net/FTL.TXT
Summary: Development environment for the freetype2 TrueType font library
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}, zlib-devel
Requires: libfreetype6 = %{version}, zlib-devel
# bug437293
%ifarch ppc64
Obsoletes: freetype2-devel-64bit
@ -133,6 +135,8 @@ make prefix=/usr libdir=%{_libdir} %{?jobs:-j %jobs}
# these development documents should go into the freetype2-devel package:
mv docs/reference freetype-%{version}/docs
make prefix=$RPM_BUILD_ROOT/usr libdir=$RPM_BUILD_ROOT/%{_libdir} install
# remove documentation that does not belong in an rpm
rm docs/INSTALL*
%clean
@ -143,9 +147,6 @@ make prefix=$RPM_BUILD_ROOT/usr libdir=$RPM_BUILD_ROOT/%{_libdir} install
%files -n libfreetype6
%defattr(-,root,root)
%{_libdir}/libfreetype.so.*
%files
%defattr(-,root,root)
%doc ChangeLog README
%doc docs/*