Browse Source

NEW: dos2unix
update: libgdata, moonlight


git-svn-id: http://trac.vinelinux.org/repos/projects/specs@1765 ec354946-7b23-47d6-9f5a-488ba84defc7

inagaki 13 years ago
parent
commit
4edc65ddbb
3 changed files with 250 additions and 16 deletions
  1. 206 0
      d/dos2unix/dos2unix-vl.spec
  2. 5 2
      lib/libg/libgdata/libgdata-vl.spec
  3. 39 14
      m/moonlight/moonlight-vl.spec

+ 206 - 0
d/dos2unix/dos2unix-vl.spec

@@ -0,0 +1,206 @@
+Name: dos2unix
+Summary: Text file format converters
+Summary(ja): テキストファイルのフォーマット変換ツール
+Version: 5.1.1
+Release: 2%{?_dist_release}
+
+Group: Applications/Text
+License: BSD
+URL: http://www.xs4all.nl/~waterlan/dos2unix.html
+
+Source0: http://www.xs4all.nl/~waterlan/dos2unix/%{name}-%{version}.tar.gz
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: gettext
+
+Provides: unix2dos = %{version}-%{release}
+Obsoletes: unix2dos < 5.1-1
+
+%description
+Convert text files with DOS or Mac line endings to Unix line endings and 
+vice versa.
+
+%description -l ja
+テキストファイル中の行末記号(LF)を DOS/Mac と Unix との間で相互に変換するためのツールです.
+
+%prep
+%setup -q
+rm -rf po/*/eo-x.*
+
+%build
+make CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE $(getconf LFS_CFLAGS)" \
+  %{?_smp_mflags}
+
+%install
+make DESTDIR=$RPM_BUILD_ROOT install
+
+# We add doc files manually to %%doc
+rm -rf $RPM_BUILD_ROOT%{_docdir}
+
+%find_lang %{name} --with-man --all-name
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(-,root,root,0755)
+%doc dos2unix.htm  ChangeLog.txt COPYING.txt
+%doc NEWS.txt README.txt TODO.txt
+%{_bindir}/dos2unix
+%{_bindir}/mac2unix
+%{_bindir}/unix2dos
+%{_bindir}/unix2mac
+%{_mandir}/man1/*.1*
+
+
+%changelog
+* Sat Sep  4 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.1.1-2
+- Initial build for Vine Linux
+
+* Thu Aug 19 2010 Chen Lei <supercyper@163.com> 5.1.1-1
+- Update to 5.1.1
+
+* Wed Aug 18 2010 Tim Waugh <twaugh@redhat.com> 5.1-1
+- Applied changes from Chen Lei (bug #592922):
+  * Sun Aug 15 2010 Chen Lei <supercyper1@gmail.com> 5.1-1
+  - 5.1.
+  - Update spec to match latest guidelines w.r.t buildroot tag
+
+* Tue Jan 26 2010 Tim Waugh <twaugh@redhat.com> 4.1.2-1
+- 4.1.2.
+
+* Fri Jan 22 2010 Tim Waugh <twaugh@redhat.com> 4.1.1-1
+- 4.1.1.  New upstream.
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-36
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-35
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Wed Sep 24 2008 Tim Waugh <twaugh@redhat.com> 3.1-34
+- Moved 'make clean' to prep section and added comment about there
+  being no upstream (bug #225706).
+
+* Mon Sep  8 2008 Tim Waugh <twaugh@redhat.com> 3.1-33
+- Preserve file modes (bug #437465).
+- Fixed manpage grammar (bug #460731).
+
+* Mon Apr 14 2008 Tim Waugh <twaugh@redhat.com> 3.1-32
+- Adjust license tag (bug #225706).
+- Fix missing prototype (bug #225706).
+- Install copy as symbolic links (bug #225706).
+
+* Wed Feb 13 2008 Tim Waugh <twaugh@redhat.com> 3.1-31
+- Rebuild for GCC 4.3.
+
+* Fri Jan 18 2008 Tim Waugh <twaugh@redhat.com> 3.1-30
+- Applied patch from bug #292100 to fix segfault with missing -c argument.
+
+* Wed Aug 29 2007 Tim Waugh <twaugh@redhat.com> 3.1-29
+- Rebuild.
+
+* Tue Feb  6 2007 Tim Waugh <twaugh@redhat.com> 3.1-28
+- Fixed build root (bug #225706).
+- Build with SMP flags (bug #225706).
+- Use dist in release tag (bug #225706).
+- Fixed macros in changelog (bug #225706).
+- Preserve timestamps when using install (bug #225706).
+
+* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.1-27.1
+- rebuild
+
+* Mon Jul 10 2006 Tim Waugh <twaugh@redhat.com> 3.1-27
+- Re-encoded spec file in UTF-8 (bug #197817).
+
+* Mon Jun  5 2006 Tim Waugh <twaugh@redhat.com> 3.1-26
+- Rebuilt.
+
+* Thu Jun  1 2006 Tim Waugh <twaugh@redhat.com> 3.1-25
+- Build with large file support.
+
+* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.1-24.2.1
+- bump again for double-long bug on ppc(64)
+
+* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.1-24.2
+- rebuilt for new gcc4.1 snapshot and glibc changes
+
+* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
+- rebuilt
+
+* Wed Apr 13 2005 Tim Waugh <twaugh@redhat.com> 3.1-24
+- Fixed tmppath patch (bug #150277).
+
+* Thu Mar  3 2005 Mike A. Harris <mharris@redhat.com> 3.1-23
+- Bump and rebuild for FC4, using gcc 4.
+
+* Tue Feb  8 2005 Mike A. Harris <mharris@redhat.com> 3.1-22
+- Bump and rebuild for FC4
+
+* Wed Oct 20 2004 Miloslav Trmac <mitr@redhat.com> - 3.1-21
+- Don't just delete the original file when destination and current directory
+  are on different filesystems (#65548, #123069, patch by James Antill)
+- Fix return type of StripDelimiter in dos2unix-3.1-safeconv.patch (#136148)
+
+* Wed Oct  6 2004 Mike A. Harris <mharris@redhat.com> 3.1-20
+- Added dos2unix-3.1-manpage-update-57507.patch to fix manpage (#57507)
+- Added dos2unix-3.1-preserve-file-modes.patch to properly preserve file
+  permissions (#91331,55183,112710,132145)
+
+* Sun Sep 26 2004 Rik van Riel <riel@redhat.com> 3.1-19
+- safer conversion w/ mac2unix (fix from bz #57508)
+
+* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
+- rebuilt
+
+* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
+- rebuilt
+
+* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
+- rebuilt
+
+* Wed Feb 05 2003 Elliot Lee <sopwith@redhat.com> 3.1-15
+- Remove build dependency on perl, since perl BuildRequires: dos2unix,
+  and there's no good reason not to just use sed here.
+
+* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
+- rebuilt
+
+* Mon Oct  7 2002 Mike A. Harris <mharris@redhat.com> 3.1-13
+- All-arch rebuild
+- Added BuildRequires: perl
+
+* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
+- automated rebuild
+
+* Thu May 23 2002 Tim Powers <timp@redhat.com>
+- automated rebuild
+
+* Thu Feb 28 2002 Trond Eivind Glomsrød <teg@redhat.com> 3.1-10
+- Build in new environment
+
+* Thu Jan 17 2002 Bernhard Rosenkraenzer <bero@redhat.com>
+- Fix bug #57700 (segfault)
+- Add the mac2unix symlink recommended in README
+- Fix compiler warnings
+
+* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
+- automated rebuild
+
+* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
+- Bump release + rebuild.
+
+* Wed Jan 10 2001 Bernhard Rosenkraenzer <bero@redhat.com>
+- shut up rpmlint
+
+* Fri Nov 17 2000 Tim Powers <timp@redhat.com>
+- use mkstemp instead of mktemp. Not much needed to change.
+
+* Thu Nov 16 2000 Tim Powers <timp@redhat.com>
+- cleaned up specfile a bit
+- built for 7.1
+
+* Tue Jul 07 1999 Peter Soos <sp@osb.hu> 
+- Added Hungarian "Summary:" and "%%description" 
+- Corrected the file and directory attributes to rebuild the package 
+  under RedHat Linux 6.0

+ 5 - 2
lib/libg/libgdata/libgdata-vl.spec

@@ -1,5 +1,5 @@
 %define pkg_version 0.6.4
-%define pkg_release 1%{?_dist_release}
+%define pkg_release 2%{?_dist_release}
 
 Summary:	A library for accessing online service APIs using the GData protocol
 Summary(ja):	GData プロトコルを使用しているオンラインサービス API にアクセスするためのライブラリ
@@ -8,7 +8,7 @@ Version:	%{pkg_version}
 Release:	%{pkg_release}
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/libgdata/0.6/%{name}-%{version}.tar.bz2
 License:	LGPLv2+
-Group:		System Emvironment/Libraries 
+Group:		System Environment/Libraries 
 URL:		http://live.gnome.org/libgdata 
 
 BuildRequires:	glib2-devel >= 2.19.0
@@ -89,6 +89,9 @@ cd gdata/tests
 
 
 %changelog
+* Sat Sep 04 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.4-2
+- fixed Group typo
+
 * Sun May 09 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.4-1
 - initial build for Vine Linux
 

+ 39 - 14
m/moonlight/moonlight-vl.spec

@@ -2,48 +2,64 @@
 %define moonlight_dir %{_libdir}/moonlight
 %define pkgconfigdir %{_datadir}/pkgconfig
 %define included_mono 2.6
+
 Summary:  An open source implementation of Silverlight
 Summary(ja): Silverlight のオープンソースによる実装
 Name: moonlight
 Version: 2.0
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
+
 Group: Applications/Multimedia
 License: LGPL v2.0 only ; MIT License (or similar) ; Ms-Pl
-Url: http://go-mono.com/moonlight/
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
+URL: http://go-mono.com/moonlight/
+
 Source0: ftp://ftp.novell.com/pub/mono/sources/moon/2.0/moonlight-%{version}.tar.bz2
 Source1: mono-%{included_mono}.tar.bz2
 Source2: mono-basic-%{included_mono}.tar.bz2
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
 #Patch0: missing-files.patch
 BuildRequires: mono-devel >= 2.6
 BuildRequires: monodoc
-BuildRequires: gtk-sharp2 rsvg2-sharp
+BuildRequires: gtk-sharp2
+BuildRequires: rsvg2-sharp
+BuildRequires: wnck-sharp
 BuildRequires: gtk2-devel gcc-c++
 BuildRequires: alsa-lib-devel
 BuildRequires: xulrunner-devel
 ExclusiveArch: %ix86 x86_64
+
 %description
 Moonlight is an open source implementation of Microsoft Silverlight for
 Unix systems.
 
+%description -l ja
+Moonlight は Unix 系システムのための,Microsoft Silverlight のオープン
+ソースな実装です.
+
+
 %package libs
-License: LGPL v2.0 only
 Summary: Moonlight libmoon
-Group: Development/Libraries
+Group: System Environment/Libraries
+License: LGPL v2.0 only
+
 %description libs
+Moonlight libmoon
 
 %package devel
-License: LGPL v2.0 only
 Summary: Moonlight libmoon C/C++ development files
 Group: Development/Libraries
+License: LGPL v2.0 only
 Requires: %{name}-libs == %{version}
+
 %description devel
 Development files for libmoon
 
 %package tools
 Summary: Moonlight tools
-Group: Development/Libraries
+Group: Development/Tools
 Requires: %{name}-libs == %{version}
+
 %description tools
 Moonlight tools (mopen, xamlg, xaml2html, mxap, respack, svg2xaml)
 
@@ -51,34 +67,38 @@ Moonlight tools (mopen, xamlg, xaml2html, mxap, respack, svg2xaml)
 Summary: Moonlight browser plugin
 Group: Applications/Internet
 Requires: %{name}-libs == %{version}
+
 %description plugin
 Browser plugin for Novell Moonlight
 
 %package web-devel
-License: MIT License (or similar) ; Ms-Pl
 Summary: Development files for Moonlight Web
-Group: Development/Languages/Other
+Group: Development/Libraries
+License: MIT License (or similar) ; Ms-Pl
 Requires: %{name}-plugin == %{version}
+
 %description web-devel
 Development files for creating Moonlight web applications.
 
 %package desktop
-License: MIT License (or similar) ; Ms-Pl
 Summary: Mono bindings for Moonlight Desktop
-Group: Productivity/Multimedia/Other
+Group: Development/Libraries
+License: MIT License (or similar) ; Ms-Pl
 Requires: %{name}-libs == %{version}
+
 %description desktop
 Mono bindings for Novell Moonlight.
 
 %package desktop-devel
-License: MIT License (or similar) ; Ms-Pl
 Summary: Development files for Moonlight Desktop
-Group: Development/Languages/Other
+Group: Development/Libraries
+License: MIT License (or similar) ; Ms-Pl
 Requires: %{name}-libs == %{version}
 Requires: glib2-devel
 Requires: gtk-sharp2
 Requires: %{name}-desktop == %{version}
 Requires: %{name}-tools == %{version}
+
 %description desktop-devel
 Development files for Moonlight Desktop.
 
@@ -86,6 +106,7 @@ Development files for Moonlight Desktop.
 Summary: Moonlight sharp
 Group: Development/Libraries
 Requires: %{name}-libs == %{version}
+
 %description sharp
 Provides a gtk-sharp object that can be used to embed a moonlight surface in a desktop application.
 
@@ -243,6 +264,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sat Sep  4 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0-2
+- fixed Group
+- added BR: wnck-sharp
+
 * Thu Dec 31 2009 Shu KONNO <owa@bg.wakwak.com> 2.0-1
 - updated moonlight to 2.0