Browse Source

2015-03-08 Ryoichi INAGAKI <ryo1@toki.waseda.jp>

	* libgpod, libwps: fixed spec
	


git-svn-id: http://trac.vinelinux.org/repos/projects/specs@9421 ec354946-7b23-47d6-9f5a-488ba84defc7
inagaki 9 years ago
parent
commit
c767bc114e
2 changed files with 54 additions and 47 deletions
  1. 49 46
      lib/libg/libgpod/libgpod-vl.spec
  2. 5 1
      lib/libw/libwps/libwps-vl.spec

+ 49 - 46
lib/libg/libgpod/libgpod-vl.spec

@@ -1,17 +1,20 @@
 %define with_mono 1
 
-Summary: Library to access the iPod
-Summary(ja): iPod にアクセスするためのライブラリ
-Name: libgpod
-Version: 0.8.3
-Release: 3%{?_dist_release}
-Group: System Environment/Libraries
-License: LGPLv2+
-URL: http://www.gtkpod.org/libgpod.html
-
-Source: %{name}-%{version}.tar.bz2
-
-Buildroot: %{_tmppath}/%{name}-%{version}-root
+Summary:       Library to access the iPod
+Summary(ja):   iPod にアクセスするためのライブラリ
+Name:          libgpod
+Version:       0.8.3
+Release:       4%{?_dist_release}
+Group:         System Environment/Libraries
+License:       LGPLv2+
+URL:           http://www.gtkpod.org/libgpod.html
+
+Source0:       %{name}-%{version}.tar.bz2
+
+# Vine Patch
+Patch100:      %{name}-0.8.3-python-uncomment.patch
+
+Buildroot:     %{_tmppath}/%{name}-%{version}-root
 BuildRequires: docbook-style-xsl
 BuildRequires: glib2-devel
 BuildRequires: gtk2-devel
@@ -36,11 +39,11 @@ BuildRequires: mono-devel
 BuildRequires: gtk-sharp2-devel
 %endif
 
-Requires: udev
+Requires:      udev
 
-Vendor: Project Vine
-Distribution: Vine Linux
-Packager: daisuke
+Vendor:        Project Vine
+Distribution:  Vine Linux
+Packager:      daisuke
 
 %description
 libgpod is a library meant to abstract access to an iPod content. It
@@ -53,54 +56,49 @@ iPod に格納されているファイルリストやプレイリストを取得
 iPod に書き戻すための API が提供されています。
 
 %package devel
-Summary: Support files necessary to compile applications with libgpod.
+Summary:     Support files necessary to compile applications with libgpod.
 Summary(ja): libgpod を使うアプリケーションのコンパイルに必要なファイル.
-Group: Development/Libraries
-Requires: libgpod = %{version}-%{release}
-Requires: glib2-devel
-Requires: gtk2-devel
+Group:       Development/Libraries
+Requires:    libgpod = %{version}-%{release}
+Requires:    glib2-devel
+Requires:    gtk2-devel
 
 %description devel
-Libraries, headers, and support files necessary to compile applications 
-using libgpod.
+Libraries, headers, and support files necessary to compile applications using libgpod.
 
 %description -l ja devel
-libgpod を使ったアプリケーションのコンパイルに必要なライブラリ,
-ヘッダファイルなどが含まれています.
+libgpod を使ったアプリケーションのコンパイルに必要なライブラリ,ヘッダファイルなどが含まれています.
 
 %package -n python-gpod
-Summary: Python module to access iPod content
+Summary:     Python module to access iPod content
 Summary(ja): iPod にアクセスするための Python モジュール
-Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
-Requires: python-mutagen
+Group:       Development/Libraries
+Requires:    %{name} = %{version}-%{release}
+Requires:    python-mutagen
 
 %description -n python-gpod
-A python module to access iPod content.  This module provides bindings
-to the libgpod library.
+A python module to access iPod content. This module provides bindings to the libgpod library.
 
 
 %if %{with_mono}
 %package sharp
-Summary: C#/.NET library to access iPod content
+Summary:     C#/.NET library to access iPod content
 Summary(ja): iPod にアクセスするための C#/.NET ライブラリ
-Group: System Environment/Libraries
-Requires: %{name} = %{version}-%{release}
+Group:       System Environment/Libraries
+Requires:    %{name} = %{version}-%{release}
 
 %description sharp
-C#/.NET library to access iPod content.  Provides bindings to the libgpod
-library.
+C#/.NET library to access iPod content.  Provides bindings to the libgpod library.
 
 %package sharp-devel
-Summary: Development files for libgpod-sharp
+Summary:     Development files for libgpod-sharp
 Summary(ja): libgpod-sharp の開発用ファイル
-Group: Development/Libraries
-Requires: %{name}-sharp = %{version}-%{release}
-Requires: pkgconfig
+Group:       Development/Libraries
+Requires:    %{name}-sharp = %{version}-%{release}
+Requires:    pkgconfig
 
 %description sharp-devel
-C#/.NET library to access iPod content.  Provides bindings to the libgpod
-library.
+C#/.NET library to access iPod content. Provides bindings to the libgpod library.
 
 This package contains the files required to develop programs that will use
 libgpod-sharp.
@@ -109,14 +107,15 @@ libgpod-sharp.
 
 %prep
 %setup -q
+%patch100 -p1 -b .uncomment
 
 chmod -x bindings/python/examples/*.py
 
 %build
 %configure \
-  --without-hal \
-  --enable-udev \
-  --with-temp-mount-dir=%{_localstatedir}/run/%{name}
+    --without-hal \
+    --enable-udev \
+    --with-temp-mount-dir=%{_localstatedir}/run/%{name}
 make %{?_smp_mflags}
 
 %install
@@ -149,7 +148,7 @@ if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
 %files devel
 %defattr(-, root, root, 0755)
 %{_libdir}/lib*.so
-%{_libdir}/pkgconfig/*.pc
+%{_libdir}/pkgconfig/%{name}-1.0.pc
 %{_includedir}/gpod-1.0/
 %{_datadir}/gtk-doc/html/%{name}
 
@@ -170,6 +169,10 @@ if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
 
 
 %changelog
+* Sun Mar  8 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.8.3-4
+- added patch100 to build swig 3.0.5
+- moved %%{_libdir}/pkgconfig/libgpod-sharp.pc to sharp subpackage
+
 * Wed Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.8.3-3
 - moved sharp subpackage to System Environment/Libraries Group
 - moved sharp-devel subpackage to Development/Libraries Group

+ 5 - 1
lib/libw/libwps/libwps-vl.spec

@@ -2,7 +2,7 @@
 
 Name:		libwps
 Version:	0.3.1
-Release:	2%{?_dist_release}
+Release:	3%{?_dist_release}
 Summary:	A library for import of Microsoft Works documents
 Summary(ja):	Microsoft Works ドキュメントをインポートするためのライブラリ
 
@@ -25,6 +25,7 @@ spreadsheets and (in a limited way) databases.
 %package devel
 Summary:	Development files for %{name}
 Summary(ja):	%{name} の開発用ファイル
+Group:  	Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 
 %description devel
@@ -112,6 +113,9 @@ rm -rf %{buildroot}
 %doc docs/doxygen/html
 
 %changelog
+* Sun Mar  8 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.3.1-3
+- added Group tag to devel subpackage
+
 * Tue Jan 13 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.3.1-2
 - Initial build for Vine Linux