Browse Source

self-build-xbmc と関連パッケージを追加

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@2553 ec354946-7b23-47d6-9f5a-488ba84defc7
kazutaka 13 years ago
parent
commit
f21c8474c8

+ 249 - 0
e/enca/enca-vl.spec

@@ -0,0 +1,249 @@
+Name:		enca
+Summary:	Character set analyzer and detector
+Version:	1.13
+Release:	1%{?_dist_release}
+License:	GPLv2
+Group: 		Applications/Text
+Source:		http://dl.cihar.com/enca/enca-%{version}.tar.bz2
+URL:		http://gitorious.org/enca
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+
+%description
+Enca is an Extremely Naive Charset Analyser. It detects character set and
+encoding of text files and can also convert them to other encodings using
+either a built-in converter or external libraries and tools like libiconv,
+librecode, or cstocs.
+
+Currently, it has support for Belarussian, Bulgarian, Croatian, Czech,
+Estonian, Latvian, Lithuanian, Polish, Russian, Slovak, Slovene, Ukrainian,
+Chinese and some multibyte encodings (mostly variants of Unicode)
+independent on the language.
+
+This package also contains shared Enca library other programs can make use of.
+
+Install %{name} if you need to cope with text files of dubious origin
+and unknown encoding and convert them to some reasonable encoding.
+
+
+%package devel
+Summary:	Header files and libraries for %{name} charset analyzer
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	pkgconfig
+
+%description devel
+The %{name}-devel package contains the static libraries and header files
+for writing programs using the Extremely Naive Charset Analyser library,
+and its API documentation.
+
+Install %{name}-devel if you are going to create applications using the Enca
+library.
+
+
+%prep
+%setup -q
+
+
+%build
+
+%configure \
+	--disable-dependency-tracking \
+	--without-librecode \
+	--disable-external \
+	 --disable-static \
+	--disable-gtk-doc
+%{__make} %{?_smp_mflags}
+
+
+%install
+%{__rm} -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT HTML_DIR=/tmp/html
+
+%{__rm} -rf $RPM_BUILD_ROOT/tmp/html
+%{__rm} -rf $RPM_BUILD_ROOT/%{_libexecdir}
+%{__rm} -f $RPM_BUILD_ROOT/%{_libdir}/*.la
+
+
+%check
+%{__make} check
+
+
+%clean
+%{__rm} -rf $RPM_BUILD_ROOT
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root)
+%{_bindir}/*
+%{_libdir}/libenca.so.*
+%{_mandir}/*/*
+%doc AUTHORS COPYING FAQ README THANKS TODO
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/*
+%{_libdir}/pkgconfig/*
+%{?_with_static: %{_libdir}/*.a}
+%{_libdir}/*.so
+%doc devel-docs/html/*.html README.devel
+
+
+%changelog
+* Thu Jan 20 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.13-1
+- new upstream release
+
+* Wed Dec 30 2009 Kazutaka HARADA <kazutaka@vinelinux.org> 1.10-1
+- initial build for Vine Linux based on fedora development
+
+* Tue Aug 25 2009 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.10-1
+- Update to 1.10
+- Change urls for new upstream
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.9-4
+- Autorebuild for GCC 4.3
+
+* Thu Aug 16 2007 Dmitry Butskoy <Dmitry@Butskoy.name>
+- Change License tag to GPLv2
+
+* Fri Sep  1 2006 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.9-3
+- rebuild for FC6
+
+* Tue Feb 14 2006 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.9-2
+- rebuild for FC5
+
+* Mon Dec 19 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.9-1
+- upgrade to 1.9
+
+* Mon Nov 28 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.8-1
+- upgrade to 1.8
+- update description
+
+* Fri Sep 16 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.7-4
+- clenup in docs
+- Accepted for Fedora Extra (review by Ville Skytta <ville.skytta@iki.fi>)
+
+* Thu Sep  9 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.7-3
+- build static libs conditionally
+- disable external converters (#167820)
+
+* Thu Sep  8 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.7-2
+- more cleanups (#167820)
+
+* Thu Sep  8 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.7-1
+- spec cleanups for Fedora Extra
+- avoid build with librecode, use just glibc's iconv 
+- avoid any gtk dependencies, html docs are already present in the source
+
+* Mon May 17 2004 David Necas (Yeti) <yeti@physics.muni.cz>
+- doubled percents in changelog
+
+* Mon Dec 22 2003 David Necas (Yeti) <yeti@physics.muni.cz>
+- moved wrappers to libexec
+
+* Thu Nov  6 2003 David Necas (Yeti) <yeti@physics.muni.cz>
+- added b-piconv
+- fixed HTML doc install paths
+
+* Tue Oct 14 2003 David Necas (Yeti) <yeti@physics.muni.cz>
+- testing whether $RPM_BUILD_ROOT is not /
+- updated for new HTML doc location
+- changed make -> %%__make, rm -> %%__rm
+
+* Sat Aug  2 2003 David Necas (Yeti) <yeti@physics.muni.cz>
+- cleaning $RPM_BUILD_ROOT in %%install
+
+* Sat Jun 28 2003 David Necas (Yeti) <yeti@physics.muni.cz>
+- removed --disable-gtk-doc, no longer needed
+
+* Fri Jun 20 2003 David Necas (Yeti) <yeti@physics.muni.cz>
+- added enca.pc to devel package
+
+* Sat Jun 14 2003 David Necas (Yeti) <yeti@physics.muni.cz>
+- updated description
+- added --disable-gtk-doc
+
+* Mon Dec 23 2002 David Necas (Yeti) <yeti@physics.muni.cz>
+- added libenca.so
+
+* Fri Dec 20 2002 David Necas (Yeti) <yeti@physics.muni.cz>
+- fixed URL and Source to trific.ath.cx
+
+* Mon Oct 21 2002 David Necas (Yeti) <yeti@physics.muni.cz>
+- added FAQ to docs
+
+* Thu Oct 10 2002 David Necas (Yeti) <yeti@physics.muni.cz>
+- removed twice-listed %%{docdir}/html
+
+* Sat Sep 21 2002 David Necas (Yeti) <yeti@physics.muni.cz>
+- added b-umap
+
+* Sun Sep 15 2002 David Necas (Yeti) <yeti@physics.muni.cz>
+- added enconv
+
+* Thu Aug 29 2002 David Necas (Yeti) <yeti@physics.muni.cz>
+- removed bzip2-devel buildprereq
+
+* Sat Aug 24 2002 David Necas (Yeti) <yeti@physics.muni.cz>
+- added postinstall and postuninstall scriptlets
+
+* Wed Aug 21 2002 David Necas (Yeti) <yeti@physics.muni.cz>
+- updated to enca-0.10.0-pre2
+- added libenca
+- split into enca and enca-devel
+- removed cache
+- fixed HTML_DIR
+
+* Tue Jul 10 2001 David Necas (Yeti) <yeti@physics.muni.cz>
+- changed rpm macros in Source and URL to autoconf macros to ease debian/
+  stuff generation
+
+* Sun May 20 2001 David Necas (Yeti) <yeti@physics.muni.cz>
+- added BuildPrereq: bzip2-devel
+
+* Wed May  2 2001 David Necas (Yeti) <yeti@physics.muni.cz>
+- changed group to standard (but much less appropriate) Applications/Text
+- rpm macros are used instead of autoconf macros (after the first definition)
+
+* Sun Mar 11 2001 David Necas (Yeti) <yeti@physics.muni.cz>
+- added defattr, doc attributes
+- uses global configure cache
+- heavy use of predefined directories
+- configure moved to build section as is usual
+
+* Sun Feb 25 2001 David Necas (Yeti) <yeti@physics.muni.cz>
+- updated to enca-0.9.0pre4 (including files and descriptions)
+- added sed dependency
+
+* Sun Oct 25 2000 David Necas (Yeti) <yeti@physics.muni.cz>
+- updated to enca-0.7.5
+
+* Sun Oct 11 2000 David Necas (Yeti) <yeti@physics.muni.cz>
+- removed redundant Provides: enca
+
+* Sun Oct  1 2000 David Necas (Yeti) <yeti@physics.muni.cz>
+- updated to enca-0.7.1
+- man page forced to be intstalled to ${prefix}/share/man
+
+* Tue Sep 26 2000 David Necas (Yeti) <yeti@physics.muni.cz>
+- updated to enca-0.7.0
+- spec autogenerated by configure
+
+* Tue Sep 19 2000 David Necas (Yeti) <yeti@physics.muni.cz>
+- fixed not installing bcstocs
+
+* Wed Sep 13 2000 David Necas (Yeti) <yeti@physics.muni.cz>
+- first packaged (0.6.2)
+

+ 179 - 0
lib/libm/libmicrohttpd/libmicrohttpd-vl.spec

@@ -0,0 +1,179 @@
+Summary: Lightweight library for embedding a webserver in applications
+Name: libmicrohttpd
+Version: 0.9.2
+Release: 1%{?_dist_release}
+Group: Development/Libraries
+License: LGPLv2+
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+URL: http://www.gnu.org/software/libmicrohttpd/
+Source0: ftp://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz
+#Patch0: %{name}-0.9.2-fix-https-tests.patch
+
+BuildRequires:  autoconf, automake, libtool
+BuildRequires:  curl-devel
+BuildRequires:  gnutls-devel
+BuildRequires:  libgcrypt-devel
+BuildRequires:  graphviz
+BuildRequires:  doxygen
+
+Requires(post): info
+Requires(preun): info
+
+%description
+GNU libmicrohttpd is a small C library that is supposed to make it
+easy to run an HTTP server as part of another application.
+Key features that distinguish libmicrohttpd from other projects are:
+
+* C library: fast and small
+* API is simple, expressive and fully reentrant
+* Implementation is http 1.1 compliant
+* HTTP server can listen on multiple ports
+* Support for IPv6
+* Support for incremental processing of POST data
+* Creates binary of only 25k (for now)
+* Three different threading models
+
+%package devel
+Summary:        Development files for libmicrohttpd
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
+
+%description devel
+Development files for libmicrohttpd
+
+%package doc
+Summary:        Documentation for libmicrohttpd
+Group:          Documentation
+Requires:       %{name} = %{version}-%{release}
+
+%description doc
+Doxygen documentation for libmicrohttpd and some example source code
+
+%prep
+%setup -q
+#patch0 -p1 -b .explicit-dso
+
+# The doxygen file contains references to /home/grothoff/svn/libmicrohttpd/... replace these with .
+sed s/\\/home\\/grothoff\\/svn\\/libmicrohttpd/./ doc/Doxyfile > tmp
+unlink doc/Doxyfile
+mv tmp doc/Doxyfile
+
+%build
+# Required because patches modify .am files
+# autoreconf --force
+%configure --disable-static --with-gnutls
+make %{?_smp_mflags}
+doxygen doc/Doxyfile
+
+# Disabled for now due to problems reported at
+# https://gnunet.org/bugs/view.php?id=1619
+#check
+#make check %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
+
+rm -f %{buildroot}%{_libdir}/libmicrohttpd.la
+rm -f %{buildroot}%{_infodir}/dir
+
+# Install some examples in /usr/share/doc/libmicrohttpd-${version}/examples
+mkdir examples
+install -m 644 src/examples/*.c examples
+
+# Install the doxygen documentation in /usr/share/doc/libmicrohttpd-${version}/html
+cp -R doc/doxygen/html html
+
+%clean
+rm -rf %{buildroot}
+
+%post doc
+/sbin/install-info %{_infodir}/microhttpd.info.gz %{_infodir}/dir || :
+/sbin/install-info %{_infodir}/microhttpd-tutorial.info.gz %{_infodir}/dir || :
+
+%preun doc
+if [ $1 = 0 ] ; then
+/sbin/install-info --delete %{_infodir}/microhttpd.info.gz %{_infodir}/dir || :
+/sbin/install-info --delete %{_infodir}/microhttpd-tutorial.info.gz %{_infodir}/dir || :
+fi
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING
+%{_libdir}/libmicrohttpd.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/microhttpd.h
+%{_libdir}/libmicrohttpd.so
+%{_libdir}/pkgconfig/libmicrohttpd.pc
+
+%files doc
+%doc AUTHORS README ChangeLog
+%doc examples
+%doc html
+%defattr(-,root,root,-)
+%{_mandir}/man3/libmicrohttpd.3.gz
+%{_infodir}/microhttpd.info.gz
+%{_infodir}/microhttpd-tutorial.info.gz
+
+%changelog
+* Mon Jan 17 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.9.2-1
+- initial build for Vine Linux based on fedora development
+
+* Tue Nov 16 2010 Tim Niemueller <tim@niemueller.de> - 0.9.2-3
+- Add missing BR gnutls-devel and libgcrypt-devel
+- Added patch to fix test apps (NSS instead of GnuTLS/OpenSSL curl,
+  implicit DSO linking)
+- Disable test cases for now due to false errors, reported upstream
+
+* Tue Nov 16 2010 Tim Niemueller <tim@niemueller.de> - 0.9.2-2
+- Re-enable HTTPS, configure flags had unexpected result
+
+* Sun Nov  7 2010 Tim Niemueller <tim@niemueller.de> - 0.9.2-1
+- Update to 0.9.2
+
+* Sun Jun  4 2010 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.4.6-1
+- Update to 0.4.6
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Tue Jul 21 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.4.2-1
+- Update to version 0.4.2
+- Drop upstreamed patch
+
+* Fri Feb 27 2009 Erik van Pienbroek <info@nntpgrab.nl> - 0.4.0a-1
+- Update to version 0.4.0a
+- Drop upstreamed patch
+- Added a new patch to fix a 64bit issue
+- The -devel package now contains a pkgconfig file
+- The configure script is now run with '--enable-messages --enable-https'
+- Made the -doc subpackage noarch (F11+)
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Sat Feb 14 2009 Erik van Pienbroek <info@nntpgrab.nl> - 0.4.0-1
+- Update to version 0.4.0
+- This version introduces a API bump (which is required for
+  supporting large files on 32bit environments)
+- The license issues we had with version 0.3.1 of this package (as
+  discussed in #457924) are resolved in this version. The license
+  of this package is now changed to LGPLv2+
+- Added a patch to fix two testcases on 64bit environments (upstream bug #1454)
+
+* Sat Sep 6 2008 Erik van Pienbroek <info@nntpgrab.nl> - 0.3.1-3
+- Changed license to GPLv3+ and added some comments
+  regarding the license issues with this package
+
+* Sun Aug 10 2008 Erik van Pienbroek <info@nntpgrab.nl> - 0.3.1-2
+- Changed license to LGPLv2+
+- Moved the COPYING file to the main package
+
+* Tue Aug 5 2008 Erik van Pienbroek <info@nntpgrab.nl> - 0.3.1-1
+- Initial release
+

+ 67 - 0
lib/libm/libmms/libmms-vl.spec

@@ -0,0 +1,67 @@
+Summary:	Library for Microsoft Media Server (MMS) streaming protocol
+Name:		libmms
+Version:	0.6.2
+Release:	1%{?_dist_release}
+Source0:	%{name}-%{version}.tar.gz
+License:	LGPLv2+
+Group:		System Environment/Libraries
+URL:		http://sourceforge.net/projects/libmms/
+
+BuildRequires:	glib2-devel
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+%description
+LibMMS is a common library for parsing mms:// and mmsh:// type
+network streams. These are commonly used to stream Windows
+Media Video content over the web. LibMMS itself is only for
+receiving MMS stream, it doesn't handle sending at all. 
+
+%package devel
+Summary:	Development files for %{name}
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+This package contains development files for %{name}.
+
+
+%prep
+%setup -q
+
+
+%build
+%configure --disable-static
+%{__make} %{?_smp_mflags} 
+
+
+%install
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__rm} $RPM_BUILD_ROOT/%{_libdir}/%{name}.la
+
+
+%clean
+%{__rm} -rf $RPM_BUILD_ROOT
+
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig 
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING.LIB ChangeLog README*
+%{_libdir}/%{name}.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/%{name}
+%{_libdir}/%{name}.so
+%{_libdir}/pkgconfig/%{name}.pc
+
+
+%changelog
+* Sun Jan 23 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.6.2-1
+- new upstream release
+
+* Wed Dec 30 2009 Kazutaka HARADA <kazutaka@vinelinux.org> 0.5-1
+- initial build for Vine Linux

+ 182 - 0
nonfree/self-build-xbmc/self-build-xbmc-vl.spec

@@ -0,0 +1,182 @@
+%define pkgname xbmc
+%define name	self-build-%{pkgname}
+%define version	10.0
+%define release	1%{?_dist_release}
+
+%define sourceurl http://mirrors.xbmc.org/releases/source/%{pkgname}-%{version}.tar.gz
+
+%define build_vine5 0
+
+%if "%{?_dist_release}" == "vl5"
+%define build_vine5 1
+%endif
+
+
+Summary:	Package to automatically build %{pkgname} rpm package
+Summary(ja): 	%{pkgname} の rpm パッケージを自動作成するパッケージ
+Name:		%{name}
+Version:	%{version}
+Release: 	%{release}
+Source0:	%{pkgname}-vl.spec
+Source1:	%{pkgname}.desktop
+Source2:	%{pkgname}-%{version}-strings.xml
+Source3:	%{pkgname}-%{version}-Confluence-strings.xml
+Source4:	%{pkgname}-%{version}-default-locale.patch
+
+License:	GPL
+Group:		Restricted Software
+
+Requires(post):		self-build-setup >= 0.8
+
+# (build)requies of target package.
+Requires(post):	lsb
+Requires(post):	python-imaging
+Requires(post):	pysqlite
+Requires(post):	hicolor-icon-theme
+Requires(post):	desktop-file-utils
+
+Requires(post):	MySQL-devel
+Requires(post):	SDL_image-devel
+Requires(post):	SDL_mixer-devel
+Requires(post):	alsa-lib-devel
+Requires(post):	avahi-devel
+Requires(post):	bzip2-devel
+Requires(post):	cmake
+Requires(post):	curl-devel
+Requires(post):	cvs
+Requires(post):	dbus-devel
+Requires(post):	desktop-file-utils
+Requires(post):	enca-devel
+Requires(post):	flac-devel
+Requires(post):	fontconfig-devel
+Requires(post):	fribidi-devel
+Requires(post):	glew-devel
+Requires(post):	gperf
+Requires(post):	hal-devel
+Requires(post):	jasper-devel
+Requires(post):	libXinerama-devel
+Requires(post):	libXmu-devel
+Requires(post):	libXrandr-devel
+Requires(post):	libXtst-devel
+Requires(post):	libboost-devel
+Requires(post):	libcdio-devel
+Requires(post):	expat-devel
+Requires(post):	libjpeg-devel
+Requires(post):	libmicrohttpd-devel
+Requires(post):	libmms-devel
+Requires(post):	libmodplug-devel
+Requires(post):	libogg-devel
+Requires(post):	libpng-devel
+Requires(post):	libsamplerate-devel
+Requires(post):	libsmbclient-devel
+Requires(post):	libtiff-devel
+Requires(post):	libvorbis-devel
+Requires(post):	nasm
+Requires(post):	openssl-devel
+Requires(post):	lzo-devel
+Requires(post):	pcre-devel
+Requires(post):	pulseaudio-libs-devel
+Requires(post):	sqlite3-devel
+Requires(post):	unzip
+Requires(post):	wavpack-devel
+Requires(post):	zlib-devel
+Requires(post):	self-build-faac
+Requires(post):	self-build-faad2
+Requires(post):	self-build-libmad
+Requires(post):	self-build-libmpeg2
+%if !%{build_vine5}
+Requires(post):	libvdpau-devel
+%endif
+
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+Packager:	kazutaka
+
+%description
+XBMC is an award-winning free and open source (GPL) software
+media player and entertainment hub for digital media.
+
+If you install this package, it automaticaly downloads source
+code ,compile it, and create rpm packages of %{pkgname}-%{version}.
+And the created rpm packages are automatically installed
+if installation is executed by apt-get command or synaptic
+package manager.
+
+[Note]
+This package requires many other packages to compile
+targetsoftware. So it consume more disk space than usual.
+Also installation takes logner time because of compilation.
+(This will take a few minutes to quarter or half of an hour,
+depends on building environment)
+
+[About self-build package]
+For some kind of software, distributing of binary package
+may viorate the patent or law. Therefore we chose self-build
+packge, create binary package on your machine, for such kind
+of softwares instead of distributing binary package.
+
+Please obey the national law when you use the created binary
+packages. And if you want to use the softwares using patented 
+thechnology, it may be required to get a permission, make an 
+agreement or purchas a license. Please consider it with your
+purpose or way of use and take appropriate action.
+
+%description -l ja
+XBMC はいくつもの賞を受賞したフリーでオープンソース (GPL) な、
+デジタルメディア向けのメディアプレイヤー/メディアセンターです。
+
+このパッケージをインストールすると、自動的にソースコードを
+ダウンロードしてコンパイルし、%{pkgname}-%{version} の rpm
+パッケージを作成します。
+また apt-get コマンドや synaptic パッケージマネージャから実行
+した場合は、作成された rpm パッケージのインストールも自動的に
+行います。
+
+[注意]
+コンパイルに必要な多くの関連パッケージを要求するので通常より
+ディスクの領域を多く消費します。
+またインストール時にコンパイルを行うため、通常より時間がかか
+る場合があります。(環境にもよりますが数分から数十分程度)
+
+[self-build パッケージについて]
+ソフトウェアによってはバイナリパッケージの配布が特許や法律に
+違反する可能性があるものがあります。その為、このような問題が
+懸念されるソフトウェアについてはバイナリパッケージを直接配布
+せずに、ユーザの環境でバイナリを作成する self-build パッケー
+ジという方法を採っています。
+
+作成されたバイナリパッケージの利用にあたっては、各ソフトウェ
+アのライセンス、および利用する国の各種法令に従ってください。
+また特許に関連するソフトウェアの場合、利用許諾や契約、ライ
+センスの購入などが必要となる場合がありますので、利用する目的
+や形態に応じて各自で判断し適切な対応を取ってください。
+
+%prep
+[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
+
+%install
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE2} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE3} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE4} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+
+%posttrans
+/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec %{sourceurl} 2447000
+
+
+%files
+%defattr(-,root,root)
+%{_datadir}/%{name}
+
+
+%changelog
+* Sun Jan 23 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 10.0-1
+- initial build for Vine Linux

+ 116 - 0
w/wavpack/wavpack-vl.spec

@@ -0,0 +1,116 @@
+Name:		wavpack
+Summary:	A completely open audiocodec
+Version:	4.60
+Release:	1%{?_dist_release}
+License:	BSD
+Group:		Applications/Multimedia
+Url:		http://www.wavpack.com/
+Source:		http://www.wavpack.com/%{name}-%{version}.0.tar.bz2
+Patch0:		wavpack-wavpack_pc_in.patch
+Buildroot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+%description
+WavPack is a completely open audio compression format providing lossless,
+high-quality lossy, and a unique hybrid compression mode. Although the
+technology is loosely based on previous versions of WavPack, the new
+version 4 format has been designed from the ground up to offer unparalleled
+performance and functionality.
+
+%package devel
+Summary:	WavPack - development files
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	pkgconfig
+
+%description devel
+Files needed for developing apps using wavpack
+
+%prep
+%setup -q -n %{name}-%{version}.0
+%patch0 -p0 -b .libs
+
+%build
+%configure --disable-static
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf $RPM_BUILD_ROOT
+%{__make} DESTDIR=$RPM_BUILD_ROOT install
+%{__rm} -f $RPM_BUILD_ROOT/%{_libdir}/*.la
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%clean
+%{__rm} -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%{_bindir}/*
+%{_libdir}/libwavpack.so.*
+%doc license.txt
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/*
+%{_libdir}/pkgconfig/*
+%{_libdir}/libwavpack.so
+%doc ChangeLog README doc/*
+
+%changelog
+* Wed Dec 30 2009 Kazutaka HARADA <kazutaka@vinelinux.org> 4.60-1
+- initial build for Vine Linux based on fedora development
+
+* Mon Sep 28 2009 Peter Lemenkov <lemenkov@gmail.com> 4.60-1
+- Version 4.60
+
+* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.50.1-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.50.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Sat Aug 30 2008 Peter Lemenkov <lemenkov@gmail.com> 4.50.1-2
+- Fixes to meet the Fedora Packaging Guidelines
+
+* Sun Aug 24 2008 Peter Lemenkov <lemenkov@gmail.com> 4.50.1-1
+- Version 4.50.1
+
+* Wed Jun 18 2008 Peter Lemenkov <lemenkov@gmail.com> 4.50-1
+- Version 4.50
+
+* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4.41-2
+- Autorebuild for GCC 4.3
+
+* Sat May 12 2007 Peter Lemenkov <lemenkov@gmail.com> 4.41-1
+- Version 4.41
+- Removed unnecessary --with-pic
+
+* Fri Dec 15 2006 Peter Lemenkov <lemenkov@gmail.com> 4.40-1.1
+- Rebuild
+
+* Fri Dec 15 2006 Peter Lemenkov <lemenkov@gmail.com> 4.40-1
+- Version 4.40
+
+* Tue Sep 12 2006 Peter Lemenkov <lemenkov@gmail.com> 4.32-3%{?dist}
+- Rebuild for FC6
+
+* Sat Jul 01 2006 Peter Lemenkov <lemenkov@newmail.ru> 4.32-2%{?dist}
+- force PIC-only code
+
+* Wed Jun 28 2006 Peter Lemenkov <lemenkov@newmail.ru> 4.32-1%{?dist}
+- Version 4.32
+
+* Thu Mar 30 2006 Peter Lemenkov <lemenkov@newmail.ru> 4.31-2%{?dist}
+- rebuild
+
+* Sat Jan 07 2006 Peter Lemenkov <lemenkov@newmail.ru> 4.31-1
+- Fixed several issues with wavpack.pc.in
+- Cosmetic fixes.
+- Version 4.31
+
+* Sun Nov 13 2005 Peter Lemenkov <lemenkov@newmail.ru> 4.3-1
+- Initial build for FC-Extras
+- Version 4.3
+