Selaa lähdekoodia

libsylph-1.1.0-3vl7

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@7224 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 12 vuotta sitten
vanhempi
commit
0eb9519a04

+ 12 - 0
lib/libs/libsylph/libsylph-1.1.0-glib-header.patch

@@ -0,0 +1,12 @@
+diff -uNr libsylph-1.1.0.orig/libsylph/defs.h libsylph-1.1.0/libsylph/defs.h
+--- libsylph-1.1.0.orig/libsylph/defs.h	2006-09-22 13:10:24.000000000 +0900
++++ libsylph-1.1.0/libsylph/defs.h	2012-12-12 20:33:55.410183626 +0900
+@@ -24,7 +24,7 @@
+ #  include "config.h"
+ #endif
+ 
+-#include <glibconfig.h>
++#include <glib.h>
+ 
+ #ifdef G_OS_WIN32
+ #  include <glib/gwin32.h>

+ 9 - 1
lib/libs/libsylph/libsylph-vl.spec

@@ -2,11 +2,12 @@ Summary: E-Mail client library
 Summary(ja): 電子メールクライアントライブラリ
 Name: libsylph
 Version: 1.1.0
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LGPLv2.1+
 Group: System Environment/Libraries
 URL: http://sylpheed.sraoss.jp/ja/download.html#libsylph
 Source0: http://sylpheed.sraoss.jp/sylpheed/libsylph/%{name}-%{version}.tar.bz2
+Patch0: libsylph-1.1.0-glib-header.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
 BuildRequires: glib2-devel >= 2.4.0
 
@@ -40,6 +41,9 @@ developing applications that use %{name}.
 
 %prep
 %setup -q
+%if %{?_dist_release} == "vl7"
+%patch0 -p1 -b .glibheader
+%endif
 
 %build
 %configure --enable-shared --disable-static
@@ -73,6 +77,10 @@ make check
 %{_libdir}/*.so
 
 %changelog
+* Wed Dec 12 2012 IWAI, Masaharu <iwai@alib.jp> 1.1.0-3vl7
+- build with current VineSeed
+- add only "glib.h" patch (Patch0)
+
 * Sat Apr  9 2011 IWAI, Masaharu <iwai@alib.jp> 1.1.0-2
 - add BuildRequires: glib2-devel >= 2.4.0
 - add Summary(ja)