Browse Source

--force-log

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@7762 ec354946-7b23-47d6-9f5a-488ba84defc7
kudoh 10 years ago
parent
commit
4c7e69af6e
1 changed files with 12 additions and 6 deletions
  1. 12 6
      f/freetype2/freetype2-vl.spec

+ 12 - 6
f/freetype2/freetype2-vl.spec

@@ -1,19 +1,20 @@
 %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
 
 %bcond_with subpixel_rendering
+%define ver_majar 2.5.0
 
 Summary: FreeType 2 library
 Summary(ja): FreeType 2 ライブラリ
 Name: freetype2
-Version: 2.4.12
-Release: 2%{?_dist_release}
+Version: %{ver_majar}.1
+Release: 1%{?_dist_release}
 License: GPL/FTL dual license
 URL: http://www.freetype.org/
 Group: System Environment/Libraries
 
 Source: freetype-%{version}.tar.bz2
-Source1: freetype-doc-%{version}.tar.bz2
-Source2: ft2demos-%{version}.tar.bz2
+Source1: freetype-doc-%{ver_majar}.tar.bz2
+Source2: ft2demos-%{ver_majar}.tar.bz2
 
 # enable subpixel rendering
 Patch21: freetype-2.3.0-enable-spr.patch
@@ -33,6 +34,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: zlib-devel
 BuildRequires: bzip2-devel
 BuildRequires: libX11-devel
+BuildRequires: libpng-devel
 Requires: zlib
 Requires: bzip2
 
@@ -221,7 +223,7 @@ This package contains the static library for %{name}
 %__make %{?_smp_mflags}
 
 # Build demos
-pushd ft2demos-%{version}
+pushd ft2demos-%{ver_majar}
 make TOP_DIR=".."
 popd
 
@@ -233,7 +235,7 @@ popd
 
 for ftdemo in ftbench ftdump ftlint ftvalid ftdiff ftgamma ftgrid ftmulti ftstring ftview
 do
-  builds/unix/libtool --mode=install install -m 755 ft2demos-%{version}/bin/$ftdemo $RPM_BUILD_ROOT/%{_bindir}
+  builds/unix/libtool --mode=install install -m 755 ft2demos-%{ver_majar}/bin/$ftdemo $RPM_BUILD_ROOT/%{_bindir}
 done
 
 ## remove unuse files
@@ -294,6 +296,10 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 %endif
 
 %changelog
+* Mon Aug 19 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.5.0.1-1
+- new upstream release
+- added BuildRequires: libpng-devel
+
 * Sun Jul 14 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.4.12-2
 - fixed Patch88
 - added Pacth90 to fix BTS:2631