Browse Source

updated 3 packages

a52dec-0.7.4-7

lame-3.100-3

libmpeg2-0.5.1-6

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12243 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 4 years ago
parent
commit
0de8a5917a
3 changed files with 470 additions and 0 deletions
  1. 131 0
      a/a52dec/a52dec-vl.spec
  2. 203 0
      l/lame/lame-vl.spec
  3. 136 0
      lib/libm/libmpeg2/libmpeg2-vl.spec

+ 131 - 0
a/a52dec/a52dec-vl.spec

@@ -0,0 +1,131 @@
+Name:           a52dec
+Version:        0.7.4
+Release:        7%{?_dist_release}
+Summary:        ATSC A/52 decoding library
+Summary(ja):    ATSC A/52 デコーディングライブラリ
+Group:          System Environment/Libraries
+
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+License:        GPLv2
+URL:            http://liba52.sourceforge.net
+
+Source:         http://liba52.sourceforge.net/files/a52dec-%{version}.tar.gz
+Patch0:	        a52dec-configure-optflags.patch
+Patch1:	        a52dec-0.7.4-rpath64.patch
+Patch2:         liba52-silence.patch
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
+
+Provides:       self-build-a52dec = %{version}-%{release}
+
+%description
+liba52 is a free library for decoding ATSC A/52 streams. 
+The A/52 standard is used in a variety of applications, including digital television and DVD. It is also known as AC-3.
+
+%description -l ja
+liba52 は、ATSC A/52 ストリームのデコード用フリーライブラリです。
+デジタルテレビや DVD を含む、さまざまなアプリケーションは A/52 標準で使用されています。
+
+%package devel
+Summary: Development libraries for liba52
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Provides: liba52-devel
+
+%description devel
+liba52 is a free library for decoding ATSC A/52 streams. 
+
+This package contains development files for a52dec.
+
+%prep
+%setup -q
+%patch0
+%patch1 -p1
+%patch2 -p1
+
+%__perl -pi -e 's/-prefer-non-pic\b/-prefer-pic/' \
+    configure liba52/configure.incl
+
+%build
+%configure \
+	--prefix=%{_prefix} \
+	--disable-static \
+	--enable-shared
+	
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf ${_RPM_BUILD_ROOT}
+
+%makeinstall
+
+# remove unpackaged files
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
+
+%clean
+%{__rm} -rf ${_RPM_BUILD_ROOT}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%doc AUTHORS ChangeLog HISTORY NEWS TODO
+%{_libdir}/liba52.so.*
+%{_bindir}/a52dec
+%{_bindir}/extract_a52
+%{_mandir}/man1/a52dec.1*
+%{_mandir}/man1/extract_a52.1*
+
+%files devel
+%defattr(-,root,root,-)
+%doc doc/liba52.txt
+%{_includedir}/a52dec
+%{_libdir}/liba52.so
+
+
+%changelog
+* Sun Oct 06 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.7.4-7
+- moved to VinePlus: patents of A/52 (a.k.a. AC-3) are expired.
+- added Patch2.
+
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.7.4-6
+- change release to sync with self-build-a52dec
+
+* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.7.4-5
+- change release to sync with self-build-a52dec
+
+* Sun Jun 07 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.7.4-4
+- dropped some tags: 
+  - Autoprov: on
+  - Autoreq: on
+  - Prefix: %%{_prefix}
+- s/-prefer-non-pic\b/-prefer-pic/ in configure liba52/configure.incl
+- changed configure options: --disable-static
+  - removed a static library: liba52.{la,a}
+
+* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.7.4-3
+- change release to sync with self-build-a52dec
+
+* Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.7.4-2
+- spec in utf8
+- remove *.la
+
+* Sun May 18 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.7.4-1
+- apply new versioning policy
+
+* Sun Mar  9 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.7.4-0vl2
+- s/GPL/GPLv2/
+- change to System Environment/Libraries
+- separate devel
+- apply a52dec-configure-optflags.patch
+- apply a52dec-0.7.4-rpath64.patch
+
+* Sat Feb 23 2008 TOSHI <vine-jp@mail.goo.ne.jp> 0.7.4-0vl1
+- initial build for Vine Linux
+
+# end of file

+ 203 - 0
l/lame/lame-vl.spec

@@ -0,0 +1,203 @@
+Summary:	LAME Ain't an MP3 Encoder... but it's the best.
+Name:		lame
+Version:	3.100
+Release:	3%{?_dist_release}
+License:	GPLv2+
+Group:		Applications/Multimedia
+URL:		http://lame.sourceforge.net/
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+Source:		https://prdownloads.sourceforge.net/lame/lame-%{version}.tar.gz
+Patch1:         %{name}-noexecstack.patch
+Patch2:         libmp3lame-symbols.patch
+
+Patch10:        lame-3.99-libs-termcap.patch
+
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+%{?enable_brhist:BuildRequires:	ncurses-devel}
+BuildRequires:	gtk+-devel
+BuildRequires:	nasm
+%{?enable_brhist:Requires:	ncurses}
+
+Requires(post):   ldconfig
+Requires(postun): ldconfig
+
+Provides:       self-build-lame = %{version}-%{release}
+
+%description
+LAME is an educational tool to be used for learning about MP3 encoding.
+The goal of the LAME project is to use the open source model to improve
+the psycho acoustics, noise shaping and speed of MP3.
+
+%package mp3x
+Summary:	GTK frame analyzer for lame
+Group:		Applications/Multimedia
+Requires:	%{name} = %{version}-%{release}
+Requires:	gtk+
+
+%description mp3x
+LAME is an educational tool to be used for learning about MP3 encoding.
+The goal of the LAME project is to use the open source model to improve
+the psycho acoustics, noise shaping and speed of MP3.
+
+This package contains the GTK frame analyzer.
+
+%package devel
+Summary:	Shared and static libraries for LAME.
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+LAME is an educational tool to be used for learning about MP3 encoding.
+The goal of the LAME project is to use the open source model to improve
+the psycho acoustics, noise shaping and speed of MP3.
+
+This package contains the libraries and includes files needed to develop
+applications with lame.
+
+%prep
+%setup -q
+
+%patch1 -p1 -b .noexec
+%patch2 -p1 -b .symbol
+%patch10 -p1 -b .termcap
+
+%build
+sed -i -e 's/^\(\s*hardcode_libdir_flag_spec\s*=\).*/\1/' configure
+%ifarch %{ix86}
+export CFLAGS="$RPM_OPT_FLAGS -ffast-math"
+#From LFS:http://www.linuxfromscratch.org/blfs/view/svn/multimedia/lame.html
+export ac_cv_header_xmmintrin_h=no
+%endif
+
+%configure \
+    --disable-dependency-tracking \
+    --disable-static \
+%ifarch %{ix86} x86_64
+    --enable-nasm \
+%else
+    --disable-nasm \
+%endif
+    --enable-decoder \
+    --without-vorbis \
+    --enable-mp3x \
+    --enable-mp3rtp \
+    --enable-decode-layer1 \
+    %{?enable_brhist:--enable-brhist}%{!?enable_brhist:--disable-brhist} \
+    --disable-debug \
+    ;
+
+%__make %{?_smp_mflags}
+
+%check
+%__make test
+
+%install
+%__rm -rf %{buildroot}
+%makeinstall
+
+%__rm -rf installed-docs
+%__mv -f %{buildroot}%{_datadir}/doc/%{name} installed-docs
+
+# some apps still expect to find <lame.h>
+%__ln_s -f lame/lame.h %{buildroot}%{_includedir}/lame.h
+
+# remove unpackaged files
+%__rm -f $RPM_BUILD_ROOT%{_libdir}/*.{la,a}
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%clean
+%__rm -rf %{buildroot}
+
+%files
+%defattr (-,root,root)
+%license COPYING LICENSE
+%doc ChangeLog README TODO USAGE
+%doc installed-docs/*
+%{_bindir}/lame
+%{_bindir}/mp3rtp
+%{_libdir}/lib*.so.*
+%{_mandir}/man1/lame.1*
+
+%files mp3x
+%defattr (-,root,root)
+%{_bindir}/mp3x
+
+%files devel
+%defattr (-,root,root)
+%doc API HACKING STYLEGUIDE
+%{_libdir}/lib*.so
+%{_includedir}/lame
+%{_includedir}/lame.h
+
+%changelog
+* Sun Oct 06 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.100-3
+- moved to VinePlus: patents of MP3 are expired.
+
+* Thu Sep 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.100-2
+- rebuilt with current environment.
+
+* Sun Dec 24 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.100-1
+- new upstream release.
+- imported Patch2 from rawhide.
+
+* Sun Jul 03 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.99.5-2
+- fix spec for i686
+
+* Sat May 26 2012 Munehiro Yamamoto <munepi@vinelinux.org> 3.99.5
+- new upstream release
+
+* Wed Oct 19 2011 Munehiro Yamamoto <munepi@vinelinux.org> 3.99-1
+- new upstream release
+- applied lame-3.99-libs-termcap.patch
+
+* Sun Sep 11 2011 Munehiro Yamamoto <munepi@vinelinux.org> 3.98.4-2
+- change release to sync with self-build-lame
+
+* Sat Mar 27 2010 Munehiro Yamamoto <munepi@vinelinux.org> 3.98.4-1
+- new upstream release
+
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 3.98.3-1
+- new upstream release
+
+* Sat Sep 26 2009 Munehiro Yamamoto <munepi@vinelinux.org> 3.98.2-2
+- change release to sync with self-build-lame
+
+* Sat Sep 26 2009 Munehiro Yamamoto <munepi@vinelinux.org> 3.98.2-1
+- new upstream release
+- applied some patches from RPM Fusion development
+- added in %%configure: 
+  --enable-decode-layer1
+  --disable-dependency-tracking
+  --disable-static
+
+* Fri Jun 05 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 3.97-5
+- change release to sync with self-build-lame
+
+* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 3.97-4
+- change release to sync with self-build-lame
+
+* Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 3.97-3
+- spec in utf8
+- remove *.la
+
+* Wed May 07 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 3.97-2
+- change %%{__make} option to -j1 <BTS:VineLinux:611>
+
+* Sat May 03 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 3.97-1
+- apply new versioning policy
+
+* Sun Nov 12 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.97-0vl3
+- fix typo
+
+* Sun Nov 12 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.97-0vl2
+- link libmp3lame with libm (patch1)
+
+* Sat Nov 11 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.97-0vl1
+- initial build

+ 136 - 0
lib/libm/libmpeg2/libmpeg2-vl.spec

@@ -0,0 +1,136 @@
+Name:           libmpeg2
+Version:        0.5.1
+Release:        6%{?_dist_release}
+Summary:        MPEG-2 decoder libraries
+Group:          System Environment/Libraries
+
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+License:        GPLv2+
+URL:            http://libmpeg2.sourceforge.net/
+Source0:        http://libmpeg2.sourceforge.net/files/libmpeg2-%{version}.tar.gz
+Patch0:         libmpeg2-inline.patch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires:  SDL-devel
+BuildRequires:  libXt-devel
+BuildRequires:  libXv-devel
+
+Provides:       self-build-libmpeg2 = %{version}-%{release}
+
+%description
+libmpeg2 is a free library for decoding mpeg-2 and mpeg-1 video
+streams. It is released under the terms of the GPL license.
+
+%package -n     mpeg2dec
+Summary:        MPEG-2 decoder program
+Group:          Applications/Multimedia
+Requires:       %{name} = %{version}-%{release}
+
+%description -n mpeg2dec
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%package        devel
+Summary:        Development files for %{name}
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
+Requires:       pkgconfig
+Provides:       mpeg2dec-devel = %{version}-%{release}
+
+%description    devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%prep
+%setup -q
+iconv -f ISO-8859-1 -t UTF-8 AUTHORS > AUTHORS.tmp
+touch -r AUTHORS AUTHORS.tmp 
+%__cp -p -f AUTHORS.tmp AUTHORS
+%__rm AUTHORS.tmp
+
+
+%build
+%configure --disable-static
+
+# mpeg2dec have rpath
+# remove rpath from libtool
+sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+
+%__make %{?_smp_mflags} 
+
+
+%install
+%__rm -rf $RPM_BUILD_ROOT
+%__make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%__install -p"
+
+# remove unpackaged files
+find $RPM_BUILD_ROOT -name '*.la' -exec %__rm -f {} ';'
+
+
+%clean
+%__rm -rf $RPM_BUILD_ROOT
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%doc AUTHORS ChangeLog NEWS README TODO
+%{_libdir}/*.so.*
+
+%files -n mpeg2dec
+%defattr(-,root,root,-)
+%{_bindir}/corrupt_mpeg2
+%{_bindir}/extract_mpeg2
+%{_bindir}/mpeg2dec
+%{_mandir}/man1/*.1*
+
+%files devel
+%defattr(-,root,root,-)
+%doc CodingStyle doc/libmpeg2.txt doc/sample*.c
+%{_includedir}/mpeg2dec/
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/libmpeg2.pc
+%{_libdir}/pkgconfig/libmpeg2convert.pc
+
+
+%changelog
+* Sun Oct 06 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.5.1-6
+- moved to VinePlus: patents of MPEG2 are expired.
+- added Patch0.
+
+* Thu Sep 1 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.5.1-5
+- do not support vl4
+
+* Sun Mar 21 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.5.1-4
+- change release to sync with self-build-libmpeg2
+
+* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.5.1-3
+- change release to sync with self-build-libmpeg2
+
+* Fri Jan 23 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.5.1-2
+- added BuildRequires: XOrg-devel for vl4
+
+* Wed Jan 21 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.5.1-1
+- initial build
+
+* Sat Oct  4 2008 kwizart < kwizart at gmail.com > - 0.5.1-3
+- Fix CFLAGS on x86 producing selinux denials.
+
+* Wed Jul 30 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.5.1-2
+- rebuild for buildsys cflags issue
+
+* Fri Jul 18 2008 kwizart < kwizart at gmail.com > - 0.5.1-1
+- Update to 0.5.1
+
+* Tue Jul 15 2008 kwizart < kwizart at gmail.com > - 0.5.0-1
+- Initial package (based on mpeg2dec)
+