Forráskód Böngészése

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

	* boo: added patch and rebuilt
	* gnome-keyring-sharp, mono-tools, nofity-sharp: updated
	* tomboy: rebuilt
	


git-svn-id: http://trac.vinelinux.org/repos/projects/specs@9477 ec354946-7b23-47d6-9f5a-488ba84defc7
inagaki 9 éve
szülő
commit
a24014dea7

+ 25 - 6
b/boo/boo-vl.spec

@@ -2,19 +2,29 @@
 %define monodir %{_prefix}/lib
 
 Summary: An OO statically typed language for CLI
+Summary(ja): CLI 用のオブジェクト指向静的型付け言語
 Name: boo
 Version: 0.9.4.9
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: MIT
 Group: Development/Languages
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
 URL: http://boo.codehaus.org
 Source0: http://dist.codehaus.org/boo/distributions/%{name}-%{version}-src.tar.bz2
 Patch0: boo-pkgconfig_path_fix.patch
 Patch1: boo-gtksourceview.patch
-BuildRequires: mono-devel, gtksourceview2-devel, shared-mime-info, pkgconfig, nant
-# Mono only available on these:
-ExclusiveArch: %ix86 x86_64 ppc ppc64 ia64 %{arm} sparcv9 alpha s390x
+Patch3: mono-2.0.patch
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRequires: mono-devel
+BuildRequires: gtksourceview2-devel
+BuildRequires: shared-mime-info
+BuildRequires: pkgconfig
+BuildRequires: nant
+BuildArch: noarch
+
+Requires(post): shared-mime-info
+Requires(postun): shared-mime-info
 
 %description
 Boo is a new object oriented statically typed programming language for the 
@@ -23,6 +33,7 @@ focus on language and compiler extensibility.
 
 %package devel
 Summary: Development files for boo
+Summary(ja): boo の開発用ファイル
 Group: Development/Libraries
 Requires: %{name} = %{version}-%{release}
 
@@ -33,12 +44,16 @@ Development files for boo
 %setup -q
 %patch0 -p1 -b .pc-original
 %patch1 -p1 -b .sourceview
+%patch3 -p1  -b .mono-2.0.patch
 
 # Get rid of prebuilt dll files
 rm -rf bin/*.dll bin/pt/*.dll
 
+# fix end-of-line encoding
+perl -pi -e 's/\r//' $(find examples/ -type f)
+
 %build
-nant -D:install.prefix=%{_prefix} -D:install.libdir=%{monodir}
+nant -nologo -D:install.prefix=%{_prefix} -D:install.libdir=%{monodir}
 
 %install
 rm -rf %{buildroot}
@@ -77,6 +92,10 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
 %{monodir}/boo/Boo.NAnt.Tasks.dll
 
 %changelog
+* Tue Mar 31 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.4.9-3
+- added Patch3 to build with current VineSeed 
+- built with nant 0.92+git20130131
+
 * Tue Oct 23 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.4.9-2
 - fix %%files
 

+ 24 - 27
g/gnome-keyring-sharp/gnome-keyring-sharp-vl.spec

@@ -1,27 +1,24 @@
-%global svn_rev 115768
 %define mono_dir %{_prefix}/lib/mono
 %define monodoc_dir %{_prefix}/lib/monodoc
 
 Name:           gnome-keyring-sharp
-Version:        1.0.1
-Release:        6.%{svn_rev}svn%{?_dist_release}
+Version:        1.0.2
+Release:        1%{?_dist_release}
 Summary:        Mono implementation of GNOME Keyring
 Summary(ja):	GNOME Keyring の Mono による実装
+
 Group:          System Environment/Libraries
 License:        MIT
 URL:            http://www.mono-project.com/Libraries#Gnome-KeyRing-Sharp
-# Tarfile created from svn snapshot
-# svn co -r %{svn-rev} \
-#   svn://anonsvn.mono-project.com/source/trunk/gnome-keyring-sharp \
-#   gnome-keyring-sharp-%{version}
-# tar cjf gnome-keyring-sharp-%{version}-r%{svn_rev}.tar.bz2 --exclude=.svn \
-#   gnome-keyring-sharp-%{version}
-Source0:        gnome-keyring-sharp-%{version}-r%{svn_rev}.tar.bz2
+
+Source0:        https://github.com/mono/gnome-keyring-sharp/archive/%{name}-%{version}.tar.gz
 Patch0:         gnome-keyring-sharp-libdir.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires:  autoconf automake
-BuildRequires:  mono-devel ndesk-dbus monodoc
+BuildRequires:  mono-devel monodoc
+BuildRequires:	gtk-sharp2-devel
+BuildRequires:	libgnome-keyring-devel
 
 Packager:	kazutaka
 
@@ -35,7 +32,7 @@ information.
 
 %package        devel
 Summary:        Development files for %{name}
-Summary(ja):     %{name} の開発用ファイル
+Summary(ja):    %{name} の開発用ファイル
 Group:          Development/Libraries
 Requires:       %{name} = %{version}-%{release}
 Requires:       pkgconfig
@@ -46,7 +43,7 @@ developing applications that use %{name}.
 
 %package        doc
 Summary:        Documentation for %{name}
-Summary(ja):     %{name} のドキュメント
+Summary(ja):    %{name} のドキュメント
 Group:          Documentation
 Requires:       %{name} = %{version}-%{release}
 Requires:       monodoc
@@ -56,27 +53,25 @@ The %{name}-doc package contains documentation for %{name}.
 
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{name}-%{version}
 %patch0 -p1 -b .libdir
 
 
 %build
-aclocal
-automake -a
-autoreconf
-##%configure --disable-static
+./autogen.sh
 %configure --disable-static --libdir=%{_prefix}/lib
 make
-# sharing violation when doing parallel build
-#%{?_smp_mflags}
-
 
 %install
 rm -rf $RPM_BUILD_ROOT
-##make install DESTDIR=$RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT pkgconfigdir=%{_libdir}/pkgconfig
 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
+%ifarch x86_64
+mkdir -p $RPM_BUILD_ROOT%{_libdir}
+mv $RPM_BUILD_ROOT%{_prefix}/lib/libgnome-keyring-sharp-glue.so \
+   $RPM_BUILD_ROOT%{_libdir}/
+%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -85,23 +80,25 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS ChangeLog COPYING README
-##%{_libdir}/mono/gnome-keyring-sharp-1.0
-##%{_libdir}/mono/gac/Gnome.Keyring
+%{_libdir}/libgnome-keyring-sharp-glue.so
 %{mono_dir}/gnome-keyring-sharp-1.0
 %{mono_dir}/gac/Gnome.Keyring
 
 %files devel
 %defattr(-,root,root,-)
-#doc 
 %{_libdir}/pkgconfig/%{name}-1.0.pc
 
 %files doc
 %defattr(-,root,root,-)
-##%{_libdir}/monodoc/sources/Gnome.Keyring.*
 %{monodoc_dir}/sources/Gnome.Keyring.*
 
 
 %changelog
+* Tue Mar 31 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.2-1
+- updated to 1.0.2
+- added BR: gtk-sharp2-devel
+- built with mono 3.12.1
+
 * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-6.115768svn
 - rebuild with VineSeed environment
 

+ 73 - 25
m/mono-tools/mono-tools-vl.spec

@@ -1,25 +1,41 @@
-%define mono_dir %(/usr/bin/monodir)
+%define mono_dir %{_prefix}/lib/mono
 %define _libdir %{_prefix}/lib
+
 Name: mono-tools
-Version: 2.10
-Release: 2%{?_dist_release}
-Summary: Collection of Tools and Utilities for Mono
-Summary(ja): Mono 用 ツールコレクション
+Version: 3.10
+Release: 1%{?_dist_release}
+Summary: A collection of tools for mono applications
+Summary(ja): Mono アプリケーション用のツール集
+
+# Type Refector and ASN.1 viewer is MIT, Debugger is GPL
+License: LGPL, GPL and MIT
 Group: Development/Tools
-License: GNU General Public License (GPL)
-URL: http://go-mono.org/
-Source: http://mono.ximian.com/monobuild/preview/sources/%{name}/%{name}-%{version}.tar.bz2
+URL: http://www.mono-project.com/Main_Page
+
+Source0:  https://github.com/mono/mono-tools/archive/3.10.tar.gz
+
+# Vine patch (based on OpenSUSE)
+Patch70:   mono-tools-docbrowser.patch
+Patch71:   mono-tools-replace_gmcs.patch
+Patch72:   mono-tools-webdocfiles.patch
+
 BuildArch: noarch
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
-BuildRequires: mono-devel mono-nunit monodoc mono-data-oracle
-BuildRequires: gtk-sharp2
-BuildRequires: gnome-sharp2
+BuildRequires: mono-devel mono-nunit-devel monodoc mono-data-oracle
+BuildRequires: gtk-sharp2-devel
+BuildRequires: gnome-sharp2-devel
 BuildRequires: gconf-sharp2
 BuildRequires: gnome-print-sharp
 BuildRequires: gtkhtml314-sharp
-BuildRequires: gecko-sharp2
+BuildRequires: gecko-sharp2-devel
 BuildRequires: webkit-sharp-devel
 BuildRequires: libgdiplus-devel
+BuildRequires: autoconf automake libtool
+
+Requires: mono-core, monodoc
+Requires(post): desktop-file-utils
+Requires(postun): desktop-file-utils
+Provides: mono-tools-devel = %{version}-%{release}
 
 Vendor: Project Vine
 Distribution: Vine Linux
@@ -28,21 +44,29 @@ Distribution: Vine Linux
 Mono Tools is a collection of development and testing programs and
 utilities for use with Mono.
 
+%package doc
+Summary: Monodoc documentation of %{name}
+Summary: %{name} のドキュメント
+Group: Applications/Documentation
+Requires: %{name} = %{version}-%{release}
+Requires: monodoc
+
+%description doc
+Documentation for monotools for use with monodoc
 
 %prep
 %setup -q -n %{name}-%{version}
+%patch70 -p1 -b .docbrowser
+%patch71 -p1 -b .gmcs
+%patch72 -p1 -b .webdoc
 
+chmod -x COPYING
 
 %build
-export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
-./configure \
-	--prefix=%{_prefix} \
-	--libdir=%{_libdir} \
-	--sysconfdir=%{_sysconfdir} \
-	--mandir=%{_mandir} \
-	--infodir=%{_infodir} \
-	--localstatedir=%{_localstatedir}
+./autogen.sh
 
+export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
+%configure
 make
 
 
@@ -58,17 +82,27 @@ mv $RPM_BUILD_ROOT%{_libdir}/pkgconfig $RPM_BUILD_ROOT%{_datadir}
 
 %find_lang %{name}
 
-
 %clean
 rm -Rf "$RPM_BUILD_ROOT"
 
 
 %post
-monodoc --make-index
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
 
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
+update-desktop-database -q &> /dev/null ||:
+
+%postun
+if [ $1 -eq 0 ] ; then
+    touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
+    update-desktop-database -q &> /dev/null ||:
+fi
 
 %files -f %{name}.lang
 %defattr(-, root, root)
+%doc AUTHORS COPYING* LICENSE MIT.X11 README
 %{_bindir}/create-native-map
 %{_bindir}/emveepee
 %{_bindir}/gasnview
@@ -83,7 +117,7 @@ monodoc --make-index
 %{_bindir}/mperfmon
 %{_bindir}/mprof-decoder
 %{_bindir}/mprof-heap-viewer
-%{_prefix}/lib//mono/1.0/gasnview.exe
+%{mono_dir}/1.0/gasnview.exe
 %{_libdir}/create-native-map
 %{_libdir}/gendarme
 %{_libdir}/gsharp/gsharp.exe
@@ -91,7 +125,9 @@ monodoc --make-index
 %{_libdir}/gui-compare
 %{_libdir}/ilcontrast
 %{_libdir}/minvoke/minvoke.exe
-%{_libdir}/monodoc
+#{_libdir}/monodoc
+%{_libdir}/monodoc/browser.exe
+%{_libdir}/monodoc/*HtmlRender.dll
 %{_libdir}/mperfmon/config
 %{_libdir}/mperfmon/mperfmon.exe
 %{_libdir}/mono-tools/mprof-decoder-library.dll*
@@ -119,10 +155,22 @@ monodoc --make-index
 %{_mandir}/man1/mprof-heap-viewer*
 %{_mandir}/man1/create-native-map*
 %{_mandir}/man1/gendarme*
-%{_mandir}/man5/gendarme.5.gz
+
+%files doc
+%defattr(-,root,root,-)
+%{_libdir}/monodoc/sources/Gendarme*
+%{_libdir}/monodoc/sources/gendarme*
+%dir %{_libdir}/monodoc/web
+%{_libdir}/monodoc/web/*
+%{_mandir}/man5/gendarme*
 
 
 %changelog
+* Sat Mar 28 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.10-1
+- update to 3.10
+- added Patch70, 71 and 72 to build with mono 3.12.1
+- split document into doc subpackage
+
 * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10-2
 - rebuild with VineSeed environment
 - add BuildRequires: gnome-sharp2, gconf-sharp2, gnome-print-sharp, gtkhtml314-sharp, gecko-sharp2, webkit-sharp-devel, libgdiplus-devel

+ 24 - 8
n/notify-sharp/notify-sharp-vl.spec

@@ -1,22 +1,28 @@
-%define svndate 20080912
+%define svndate 20100411
 %define mono_dir %{_prefix}/lib/mono
 %define monodoc_dir %{_prefix}/lib/monodoc
+
 Name:           notify-sharp
 Version:        0.4.0
-Release:        8.%{svndate}svn%{?_dist_release}
+Release:        9.%{svndate}svn%{?_dist_release}
 Summary:        A C# implementation for Desktop Notifications
 Summary(ja):	デスクトップ通知の C# による実装
+
 Group:          System Environment/Libraries
 License:        MIT
 URL:            http://trac.galago-project.org/wiki/DesktopNotifications
-#svn checkout, revision 3017. To reproduce tarball:
-#svn co -r 3017  http://svn.galago-project.org/trunk/notify-sharp notify-sharp-20080912 && tar -cvjf notify-sharp-20080912.tar.bz2 notify-sharp-20080912
+#svn checkout, revision 3032. To reproduce tarball:
+#svn co -r 3032  http://svn.galago-project.org/trunk/notify-sharp notify-sharp-20100411 && tar -cvjf notify-sharp-20100411.tar.bz2 notify-sharp-20100411
 Source0:        %{name}-%{svndate}.tar.bz2
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+#use dbus-sharp instead of deprecated ndesk-dbus
+#patch is a modifed version of https://build.opensuse.org/package/view_file?file=notify-sharp-use-dbus-sharp.patch&package=notify-sharp&project=Mono%3ACleanup
+Patch0:         notify-sharp-0.4.0-use-dbus-sharp.patch
 
-BuildRequires:  mono-devel, gtk-sharp2, gnome-sharp2, ndesk-dbus-glib
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRequires:  mono-devel, gtk-sharp2-devel, gnome-sharp2-devel
+BuildRequires:  dbus-sharp-glib-devel
 BuildRequires:  autoconf, automake, libtool
-BuildRequires:  monodoc
+BuildRequires:  monodoc-devel
 
 Packager:	kazutaka
 
@@ -52,7 +58,11 @@ Documentation files for notify-sharp
 
 %prep
 %setup -qn %{name}-%{svndate}
-sed -i -e 's!${exec_prefix}/lib!%{_prefix}/lib!' notify-sharp.pc.in
+%patch0 -p1 -b .use_dbus_sharp
+sed -i -e 's|dbus-sharp-1\.0|dbus-sharp-2\.0|g' configure.ac
+sed -i -e 's|dbus-sharp-glib-1\.0|dbus-sharp-glib-2\.0|g' configure.ac
+
+#sed -i -e 's!${exec_prefix}/lib!%{_prefix}/lib!' notify-sharp.pc.in
 
 %build
 autoreconf --install
@@ -83,6 +93,12 @@ rm -rf ${RPM_BUILD_ROOT}
 %{monodoc_dir}/sources/*
 
 %changelog
+* Tue Mar 31 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.4.0-9.20100411svn
+- updated to source as of 20100411
+- added Patch0
+- added BR: dbus-sharp-glib-devel instead of ndesk-dbus-glib
+- built with mono 3.12.1
+
 * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.0-8.20080912svn
 - rebuild with VineSeed environment
 

+ 11 - 6
t/tomboy/tomboy-vl.spec

@@ -5,10 +5,10 @@ Summary:	Tomboy is a desktop note-taking application for Linux and Unix.
 Summary(ja): 	Linux 向けのデスクトップ用メモ取りアプリケーション
 Name:		tomboy
 Version:	1.14.1
-Release: 	3%{?_dist_release}
+Release: 	4%{?_dist_release}
 
-License:	LGPL
-Group:		User Interface/Desktops
+License:	LGPLv2
+Group:		Applications/Accessories
 URL:		https://wiki.gnome.org/Apps/Tomboy
 
 Source0:	http://download.gnome.org/sources/%{name}/1.14/%{name}-%{version}.tar.xz
@@ -20,15 +20,15 @@ Patch100:       tomboy-1.14.1-dbussharp2.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
 BuildRequires:	atk-devel >= 1.2.4
 BuildRequires:	GConf2-devel
-BuildRequires:	gtk-sharp2
-BuildRequires:	gtk3-devel >= 3.0.0
+BuildRequires:	gtk-sharp2-devel >= 2.10.1
+BuildRequires:	gtk2-devel >= 2.20
 BuildRequires:	gtkspell-devel
 BuildRequires:	dbus-devel
 BuildRequires:	dbus-sharp-glib-devel
 BuildRequires:	mono-core
 BuildRequires:	mono-addins-devel
 BuildRequires:	mono-devel
-BuildRequires:	gnome-sharp2
+BuildRequires:	gnome-sharp2 >= 2.24
 BuildRequires:	gconf-sharp2
 BuildRequires:	art-sharp2
 BuildRequires:	gnome-vfs-sharp2
@@ -65,6 +65,7 @@ Summary:        Development files for %{name}
 Summary(ja):    %{name} の開発用ファイル集
 Group:          Development/Libraries
 Requires:       %{name} = %{version}-%{release}
+Requires:	gtk-sharp2-devel >= 2.10.1
 Requires:       pkgconfig
 
 %description    devel
@@ -154,6 +155,10 @@ scrollkeeper-update > /dev/null 2>&1 || :
 
 
 %changelog
+* Sat Mar 28 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.14.1-4
+- rebuilt with mono 3.12.1 and mono-addins 1.2
+- added Requires: gtk-sharp2-devel to devel subpackage
+
 * Wed Dec 17 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.14.1-3
 - added Patch100 to build with dbus-sharp 0.8.1 and dbus-shar-glib 0.6.0
 - added BR: GConf2-devel