rpms/mp3gain/F-9 README.method,NONE,1.1
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/mp3gain/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv30700
Added Files:
README.method
Log Message:
initial import from livna
--- NEW FILE README.method ---
Q: What dB value does mp3gain normalize to? How does this compare with
normalize-audio?
A: mp3gain and normalize-audio use different methods to determine the
perceived volume of a file, so the numbers are not comparable. As I understand
it, normalize-audio applies a smoothing filter and then sets the maximum to
-12dBFS. mp3gain sorts the volume and then uses the value at 95% (i.e. 5% of
the file are louder, 95% are quieter). This value is set to -20dBFS. I have
tried a few files and found the difference in the recomended values to vary
between 3dB and 6dB.
The method mp3gain uses to determine the perceived volume is described at
http://www.replaygain.org/.
Q: Why are the files not exactly at the same volume?
A: Since mp3gain changes the global gain value in every mp3 frame, it can only
use 1.5dB steps for adjusting the volume. It will however write replaygain
values to tags with finer accuracy than these 1.5dB steps.
16 years, 3 months
rpms/mp3gain/F-8 README.method,NONE,1.1
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/mp3gain/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv30555
Added Files:
README.method
Log Message:
initial import from livna
--- NEW FILE README.method ---
Q: What dB value does mp3gain normalize to? How does this compare with
normalize-audio?
A: mp3gain and normalize-audio use different methods to determine the
perceived volume of a file, so the numbers are not comparable. As I understand
it, normalize-audio applies a smoothing filter and then sets the maximum to
-12dBFS. mp3gain sorts the volume and then uses the value at 95% (i.e. 5% of
the file are louder, 95% are quieter). This value is set to -20dBFS. I have
tried a few files and found the difference in the recomended values to vary
between 3dB and 6dB.
The method mp3gain uses to determine the perceived volume is described at
http://www.replaygain.org/.
Q: Why are the files not exactly at the same volume?
A: Since mp3gain changes the global gain value in every mp3 frame, it can only
use 1.5dB steps for adjusting the volume. It will however write replaygain
values to tags with finer accuracy than these 1.5dB steps.
16 years, 3 months
rpms/ffmpeg/F-8 ffmpeg-asmreg.patch, NONE, 1.1 ffmpeg-snapshot.sh, NONE, 1.1 ffmpeg.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/ffmpeg/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv30155
Modified Files:
.cvsignore sources
Added Files:
ffmpeg-asmreg.patch ffmpeg-snapshot.sh ffmpeg.spec
Log Message:
initial import from livna
ffmpeg-asmreg.patch:
--- NEW FILE ffmpeg-asmreg.patch ---
diff -up ffmpeg-20080614/libavcodec/Makefile.asmreg ffmpeg-20080614/libavcodec/Makefile
--- ffmpeg-20080614/libavcodec/Makefile.asmreg 2008-06-08 23:08:57.000000000 +0200
+++ ffmpeg-20080614/libavcodec/Makefile 2008-06-14 17:24:58.000000000 +0200
@@ -87,6 +87,11 @@ OBJS-$(CONFIG_H263I_DECODER) +
OBJS-$(CONFIG_H263_ENCODER) += mpegvideo_enc.o motion_est.o ratecontrol.o h263.o mpeg12data.o mpegvideo.o error_resilience.o
OBJS-$(CONFIG_H263P_ENCODER) += mpegvideo_enc.o motion_est.o ratecontrol.o h263.o mpeg12data.o mpegvideo.o error_resilience.o
OBJS-$(CONFIG_H264_DECODER) += h264.o h264idct.o h264pred.o h264_parser.o cabac.o golomb.o mpegvideo.o error_resilience.o
+# to "fix" can't find a register in class 'GENERAL_REGS' while reloading 'asm'
+# on ix86 in cabac.h
+ifeq ($(ARCH_X86_32),yes)
+h264.o: CFLAGS += -fomit-frame-pointer
+endif
OBJS-$(CONFIG_H264_ENCODER) += h264enc.o h264dspenc.o
OBJS-$(CONFIG_HUFFYUV_DECODER) += huffyuv.o
OBJS-$(CONFIG_HUFFYUV_ENCODER) += huffyuv.o
@@ -391,6 +396,11 @@ OBJS-$(CONFIG_ENCODERS) +
OBJS-$(CONFIG_CAVS_DECODER) += i386/cavsdsp_mmx.o
OBJS-$(CONFIG_FLAC_ENCODER) += i386/flacdsp_mmx.o
OBJS-$(CONFIG_SNOW_DECODER) += i386/snowdsp_mmx.o
+# to "fix" can't find a register in class 'GENERAL_REGS' while reloading 'asm'
+# on ix86 in snowdsp_mmx.c
+ifeq ($(ARCH_X86_32),yes)
+i386/snowdsp_mmx.o: CFLAGS += -fomit-frame-pointer
+endif
OBJS-$(CONFIG_VC1_DECODER) += i386/vc1dsp_mmx.o
OBJS-$(CONFIG_VP3_DECODER) += i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o
OBJS-$(CONFIG_VP5_DECODER) += i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o
--- NEW FILE ffmpeg-snapshot.sh ---
#!/bin/bash
set -e
tmp=$(mktemp -d)
trap cleanup EXIT
cleanup() {
set +e
[ -z "$tmp" -o ! -d "$tmp" ] || rm -rf "$tmp"
}
unset CDPATH
pwd=$(pwd)
svn=$(date +%Y%m%d)
cd "$tmp"
svn checkout -r {$svn} svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg-$svn
cd ffmpeg-$svn
./version.sh .
find . -type d -name .svn -print0 | xargs -0r rm -rf
sed -i -e '/^\.PHONY: version\.h$/d' Makefile
cd ..
tar jcf "$pwd"/ffmpeg-$svn.tar.bz2 ffmpeg-$svn
cd - >/dev/null
--- NEW FILE ffmpeg.spec ---
# TODO: add make test to %%check section
%define svn 20080614
%define faad2min 1:2.6.1
Summary: Digital VCR and streaming server
Name: ffmpeg
Version: 0.4.9
Release: 0.47.%{svn}%{?dist}
License: GPLv2+
Group: Applications/Multimedia
URL: http://ffmpeg.org/
Source0: http://rpm.greysector.net/livna/%{name}-%{svn}.tar.bz2
Source1: %{name}-snapshot.sh
Patch4: %{name}-asmreg.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: a52dec-devel
%{?_with_amr:BuildRequires: amrnb-devel amrwb-devel}
BuildRequires: zlib-devel
BuildRequires: lame-devel
BuildRequires: libdc1394-devel
BuildRequires: libvorbis-devel
BuildRequires: libtheora-devel
BuildRequires: faad2-devel >= %{faad2min}
BuildRequires: xvidcore-devel
BuildRequires: SDL-devel
BuildRequires: gsm-devel
BuildRequires: imlib2-devel
BuildRequires: texi2html
BuildRequires: faac-devel
BuildRequires: x264-devel >= 0.0.0-0.14.20080613
%description
FFMpeg is a complete and free Internet live audio and video
broadcasting solution for Linux/Unix. It also includes a digital
VCR. It can encode in real time in many formats including MPEG1 audio
and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.
%package libs
Summary: Libraries for %{name}
Group: System Environment/Libraries
Requires: faad2-libs >= %{faad2min}
%description libs
FFMpeg is a complete and free Internet live audio and video
broadcasting solution for Linux/Unix. It also includes a digital
VCR. It can encode in real time in many formats including MPEG1 audio
and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.
This package contains the libraries for %{name}
%package devel
Summary: Development package for %{name}
Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release}
Requires: pkgconfig
%description devel
FFMpeg is a complete and free Internet live audio and video
broadcasting solution for Linux/Unix. It also includes a digital
VCR. It can encode in real time in many formats including MPEG1 audio
and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.
This package contains development files for %{name}
%prep
%setup -q -n %{name}-%{svn}
%patch4 -p1 -b .asmreg
%build
./configure \
--prefix=%{_prefix} \
--incdir=%{_includedir}/ffmpeg \
--libdir=%{_libdir} \
--shlibdir=%{_libdir} \
--mandir=%{_mandir} \
--arch=%{_target_cpu} \
--extra-cflags="$RPM_OPT_FLAGS" \
%{?_with_amr:--enable-libamr-nb --enable-libamr-wb} \
--enable-libdc1394 \
--enable-liba52 \
--enable-libfaac \
--enable-libfaad \
--enable-libgsm \
--enable-libmp3lame \
--enable-libtheora \
--enable-libvorbis \
--enable-libx264 \
--enable-libxvid \
--enable-postproc \
--enable-swscale \
--enable-pthreads \
--disable-static \
--enable-shared \
--enable-gpl \
--disable-debug \
--disable-optimizations \
--disable-stripping
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT __doc
make install DESTDIR=$RPM_BUILD_ROOT
cp -a doc __doc
rm -f __doc/{Makefile,*.{1,pl,texi}}
%clean
rm -rf $RPM_BUILD_ROOT
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc COPYING.GPL CREDITS Changelog README __doc/*.*
# Note: as of 20070204, "configure" doesn't have --bindir.
%{_prefix}/bin/ffmpeg
%{_prefix}/bin/ffplay
%{_prefix}/bin/ffserver
%{_mandir}/man1/ffmpeg.1*
%{_mandir}/man1/ffplay.1*
%{_mandir}/man1/ffserver.1*
%files libs
%defattr(-,root,root,-)
%{_libdir}/libavcodec.so.*
%{_libdir}/libavdevice.so.*
%{_libdir}/libavformat.so.*
%{_libdir}/libavutil.so.*
%{_libdir}/libpostproc.so.*
%{_libdir}/libswscale.so.*
%{_libdir}/vhook/
%files devel
%defattr(-,root,root,-)
# Note: as of 20070204, --incdir doesn't affect postproc.
%{_includedir}/ffmpeg
%{_libdir}/libavcodec.so
%{_libdir}/libavdevice.so
%{_libdir}/libavformat.so
%{_libdir}/libavutil.so
%{_libdir}/libpostproc.so
%{_libdir}/libswscale.so
%{_libdir}/pkgconfig/libswscale.pc
%{_libdir}/pkgconfig/libavcodec.pc
%{_libdir}/pkgconfig/libavdevice.pc
%{_libdir}/pkgconfig/libavformat.pc
%{_libdir}/pkgconfig/libavutil.pc
%{_libdir}/pkgconfig/libpostproc.pc
%changelog
* Sun Aug 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.4.9-0.47.20080614
- rebuild
* Sat Jun 14 2008 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.46.20080614
- 20080614 snapshot
- no need to conditionalize swscaler anymore
- dropped obsolete pkgconfig patch
- BR latest x264
* Mon Mar 03 2008 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.45.20080113
- rebuild for new x264
* Sun Jan 13 2008 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.44.20080113
- 20080113 snapshot
- drop unnecessary patch
- enable libdc1394 support
- enable swscaler
* Mon Nov 12 2007 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.43.20071111
- ensure that we use the correct faad2 version
* Sun Nov 11 2007 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.42.20071111
- 20071111 snapshot
- current faad2 is good again
* Thu Oct 18 2007 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.41.20071011
- fix BRs and Requires for faad2
* Thu Oct 11 2007 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.40.20071011
- 20071011 snapshot
- don't link against faad2-2.5, it makes GPL'd binary non-distributable
- go back to normal linking instead of dlopen() of liba52
* Sun Sep 23 2007 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.39.20070923
- 20070923 snapshot
- use faad2 2.5
- optional AMR support
- dropped obsolete patch
* Thu Jun 07 2007 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.38.20070607
- 20070607 snapshot
- libdca BR dropped (no longer supported)
- drop gsm.h path hack, gsm in Fedora now provides a compatibility symlink
- remove arch hacks, ffmpeg's configure is smart enough
- enable cmov on x86_64
* Thu May 03 2007 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.37.20070503
- require older faad2 to prevent bugreports like #1388
- prepare for libdc1394 support
- enable pthreads
- 20070503 snapshot
* Thu Feb 08 2007 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.35.20070204
- libswscale.pc is necessary regardless of --enable-swscaler
* Sun Feb 4 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.34.20070204
- 2007-02-04 snapshot, enable libtheora.
- Make swscaler optional, disabled again by default (#1379).
* Fri Jan 05 2007 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.34.20061214
- move vhooks to -libs
* Wed Jan 03 2007 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.33.20061214
- split -libs subpackage for multilib installs
* Tue Dec 26 2006 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.32.20061214
- new kino works with swscaler, re-enabled
* Tue Dec 19 2006 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.31.20061214
- disable swscaler, it breaks kino
* Sun Dec 17 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.30.20061214
- fix pkgconfig patch
* Sat Dec 16 2006 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.29.20061214
- liba52 change broke build on 64bit
- resurrect lost URL changes
* Fri Dec 15 2006 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.28.20061214
- fixed build on x86
- change liba52 file-based dependency to provides-based
- resurrect and update pkgconfig patch
* Thu Dec 14 2006 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.27.20061214
- new snapshot URL
- new URL
* Thu Dec 14 2006 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.26.20061214
- 2006-12-14 snapshot
- added libdca support
- enabled swscaler
- dropped obsolete patches
* Mon Oct 30 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.25.20061030
- 2006-10-30 snapshot, fixes x86_64 build.
- Apply a less intrusive workaround for LAME detection issues.
* Sat Oct 28 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.25.20061028
- 2006-10-28 snapshot, build with x264.
- Clean up some pre-FC4 compat build dependency cruft.
- Quick and dirty workarounds for ./configure's libmp3lame test and asm
register issues on ix86.
* Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 0.4.9-25
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
* Tue Sep 26 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.24.20060817
- Drop SELinux fcontext settings, they're supposedly fixed upstream again.
* Thu Aug 17 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.23.20060817
- 2006-08-17 snapshot.
- Fix svn rev in "ffmpeg -version" etc.
* Wed Aug 9 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.23.20060804
- Reintroduce SELinux fcontext settings on ix86 (not needed on x86_64, ppc),
they're not completely taken care of upstream (#1120).
- Split svn snapshot creator into a separate script.
* Fri Aug 4 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.22.20060804
- 2006-08-04 snapshot.
- Drop bogus version from SDL-devel build dependency.
- Drop no longer relevant libpostproc obsoletion.
- Prune pre-2005 changelog entries.
- Specfile cleanup.
* Sat Jun 17 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.22.20060617
- 2006-06-17 snapshot.
* Mon Jun 12 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.22.20060612
- 2006-06-12 snapshot, rgb.txt patch applied upstream.
- Patch to force linking vhook modules with their dependencies, --as-needed
seems to drop needed things for some reason for drawtext and imlib2.
- Revert to dlopen()'ing liba52 and add file based dependency on it, it's
easier this way again due to --as-needed linkage.
* Wed May 17 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.22.20060517
- 2006-05-17 snapshot.
- Link with faad2, don't dlopen() it.
* Sat May 13 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.22.20060513
- 2006-05-13 snapshot.
- Drop SELinux fixups, they're part of upstream policy now.
* Sat Apr 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.22.20060407
- SELinux file context fixups (mplayer, vdr-dxr3 etc) while waiting for #188358
* Sat Apr 8 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.21.20060407
- 2006-04-07 CVS snapshot.
- Move *.so to -devel, hopefully nothing needs them any more.
* Fri Mar 31 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.21.20051228
- Remove superfluous dependencies from pkgconfig files (#747).
- Re-enable MMX on x86_64.
* Thu Mar 09 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- switch to new release field
* Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- add dist
* Wed Dec 28 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.lvn.0.20.20051228
- 2005-12-28 CVS snapshot.
- Let upstream configure take care of PIC settings (patched for ppc).
- Own shared lib symlinks.
* Fri Dec 23 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.lvn.0.20.20050801
- Apply upstream fix for CVE-2005-4048.
- Patch to find rgb.txt in FC5 too.
* Thu Sep 29 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.4.9-0.lvn.0.19.20050801
- Clean up obsolete pre-FC3 stuff (FAAC is now unconditionally enabled).
- Drop zero Epochs.
* Tue Aug 16 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.4.9-0.lvn.0.18.20050801
- Apply some upstream and some mine (libdir) fixes to pkgconfig files.
- Add pkgconfig dependency to -devel.
- Include gsm support.
* Thu Aug 4 2005 David Woodhouse <dwmw2(a)infradead.org> - 0:0.4.9-0.lvn.0.17.20050801
- Update to 20050801 snapshot to make xine-lib happy
- Enable Altivec support by using --cpu=powerpc (not 'ppc')
- Enable theora
- Add pkgconfig files
- Undefine various things which might be macros before redefining them
* Sat Jul 23 2005 Dams <anvil[AT]livna.org> - 0:0.4.9-0.lvn.0.17.20050427
- Added patch from Marc Deslauriers to fix wmv2 distorsion
* Sun Jul 10 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.4.9-0.lvn.0.16.20050427
- Enable faac by default, rebuild with "--without faac" to disable.
- Clean up obsolete pre-FC2 and other stuff.
* Sun May 22 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.4.9-0.lvn.0.15.20050427
- PPC needs -fPIC too.
* Sat May 21 2005 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0:0.4.9-0.lvn.0.14.20050427
- disable mmx for now on x86_64 to fix build
* Sat Apr 30 2005 Dams <anvil[AT]livna.org> - 0:0.4.9-0.lvn.0.13.20050427
- Removed bogus devel requires
- Re-added conditionnal a52dec buildreq
* Fri Apr 29 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.4.9-0.lvn.0.12.20050427
- Link avcodec with a52 when building with a52bin, remove unnecessary
hardcoded liba52.so.0 dependency.
* Fri Apr 29 2005 Dams <anvil[AT]livna.org> - 0:0.4.9-0.lvn.0.11.20050427
- Fixed devel package deps
* Fri Apr 29 2005 Dams <anvil[AT]livna.org> - 0:0.4.9-0.lvn.0.10.20050427
- texi2html replaces tetex as build dependency (FC4 compliance)
- re-added man pages
* Thu Apr 28 2005 Dams <anvil[AT]livna.org> - 0:0.4.9-0.lvn.0.9.20050427
- Patch from Enrico to fix build on gcc4
- Missing BuildReq a52dec-devel when a52bin is defined
- Patch to fix a52 build
* Wed Apr 27 2005 Dams <anvil[AT]livna.org> - 0:0.4.9-0.lvn.0.8.20050427
- Updated tarball to cvs 20050427 snapshot
- Enabled libogg, xvid, a52bin
- Dropped Patch[0-3]
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/ffmpeg/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:50:06 -0000 1.1
+++ .cvsignore 5 Aug 2008 17:08:38 -0000 1.2
@@ -0,0 +1 @@
+ffmpeg-20080614.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/free/rpms/ffmpeg/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:50:06 -0000 1.1
+++ sources 5 Aug 2008 17:08:38 -0000 1.2
@@ -0,0 +1 @@
+322a5f53e33b5b4f312ed798d14c6ced ffmpeg-20080614.tar.bz2
16 years, 3 months
rpms/ffmpeg/F-9 ffmpeg-asmreg.patch, NONE, 1.1 ffmpeg-snapshot.sh, NONE, 1.1 ffmpeg.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/ffmpeg/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv30027
Modified Files:
.cvsignore sources
Added Files:
ffmpeg-asmreg.patch ffmpeg-snapshot.sh ffmpeg.spec
Log Message:
initial import from livna
ffmpeg-asmreg.patch:
--- NEW FILE ffmpeg-asmreg.patch ---
diff -up ffmpeg-20080614/libavcodec/Makefile.asmreg ffmpeg-20080614/libavcodec/Makefile
--- ffmpeg-20080614/libavcodec/Makefile.asmreg 2008-06-08 23:08:57.000000000 +0200
+++ ffmpeg-20080614/libavcodec/Makefile 2008-06-14 17:24:58.000000000 +0200
@@ -87,6 +87,11 @@ OBJS-$(CONFIG_H263I_DECODER) +
OBJS-$(CONFIG_H263_ENCODER) += mpegvideo_enc.o motion_est.o ratecontrol.o h263.o mpeg12data.o mpegvideo.o error_resilience.o
OBJS-$(CONFIG_H263P_ENCODER) += mpegvideo_enc.o motion_est.o ratecontrol.o h263.o mpeg12data.o mpegvideo.o error_resilience.o
OBJS-$(CONFIG_H264_DECODER) += h264.o h264idct.o h264pred.o h264_parser.o cabac.o golomb.o mpegvideo.o error_resilience.o
+# to "fix" can't find a register in class 'GENERAL_REGS' while reloading 'asm'
+# on ix86 in cabac.h
+ifeq ($(ARCH_X86_32),yes)
+h264.o: CFLAGS += -fomit-frame-pointer
+endif
OBJS-$(CONFIG_H264_ENCODER) += h264enc.o h264dspenc.o
OBJS-$(CONFIG_HUFFYUV_DECODER) += huffyuv.o
OBJS-$(CONFIG_HUFFYUV_ENCODER) += huffyuv.o
@@ -391,6 +396,11 @@ OBJS-$(CONFIG_ENCODERS) +
OBJS-$(CONFIG_CAVS_DECODER) += i386/cavsdsp_mmx.o
OBJS-$(CONFIG_FLAC_ENCODER) += i386/flacdsp_mmx.o
OBJS-$(CONFIG_SNOW_DECODER) += i386/snowdsp_mmx.o
+# to "fix" can't find a register in class 'GENERAL_REGS' while reloading 'asm'
+# on ix86 in snowdsp_mmx.c
+ifeq ($(ARCH_X86_32),yes)
+i386/snowdsp_mmx.o: CFLAGS += -fomit-frame-pointer
+endif
OBJS-$(CONFIG_VC1_DECODER) += i386/vc1dsp_mmx.o
OBJS-$(CONFIG_VP3_DECODER) += i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o
OBJS-$(CONFIG_VP5_DECODER) += i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o
--- NEW FILE ffmpeg-snapshot.sh ---
#!/bin/bash
set -e
tmp=$(mktemp -d)
trap cleanup EXIT
cleanup() {
set +e
[ -z "$tmp" -o ! -d "$tmp" ] || rm -rf "$tmp"
}
unset CDPATH
pwd=$(pwd)
svn=$(date +%Y%m%d)
cd "$tmp"
svn checkout -r {$svn} svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg-$svn
cd ffmpeg-$svn
./version.sh .
find . -type d -name .svn -print0 | xargs -0r rm -rf
sed -i -e '/^\.PHONY: version\.h$/d' Makefile
cd ..
tar jcf "$pwd"/ffmpeg-$svn.tar.bz2 ffmpeg-$svn
cd - >/dev/null
--- NEW FILE ffmpeg.spec ---
# TODO: add make test to %%check section
%define svn 20080614
%define faad2min 1:2.6.1
Summary: Digital VCR and streaming server
Name: ffmpeg
Version: 0.4.9
Release: 0.47.%{svn}%{?dist}
License: GPLv2+
Group: Applications/Multimedia
URL: http://ffmpeg.org/
Source0: http://rpm.greysector.net/livna/%{name}-%{svn}.tar.bz2
Source1: %{name}-snapshot.sh
Patch4: %{name}-asmreg.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: a52dec-devel
%{?_with_amr:BuildRequires: amrnb-devel amrwb-devel}
BuildRequires: zlib-devel
BuildRequires: lame-devel
BuildRequires: libdc1394-devel
BuildRequires: libvorbis-devel
BuildRequires: libtheora-devel
BuildRequires: faad2-devel >= %{faad2min}
BuildRequires: xvidcore-devel
BuildRequires: SDL-devel
BuildRequires: gsm-devel
BuildRequires: imlib2-devel
BuildRequires: texi2html
BuildRequires: faac-devel
BuildRequires: x264-devel >= 0.0.0-0.14.20080613
%description
FFMpeg is a complete and free Internet live audio and video
broadcasting solution for Linux/Unix. It also includes a digital
VCR. It can encode in real time in many formats including MPEG1 audio
and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.
%package libs
Summary: Libraries for %{name}
Group: System Environment/Libraries
Requires: faad2-libs >= %{faad2min}
%description libs
FFMpeg is a complete and free Internet live audio and video
broadcasting solution for Linux/Unix. It also includes a digital
VCR. It can encode in real time in many formats including MPEG1 audio
and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.
This package contains the libraries for %{name}
%package devel
Summary: Development package for %{name}
Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release}
Requires: pkgconfig
%description devel
FFMpeg is a complete and free Internet live audio and video
broadcasting solution for Linux/Unix. It also includes a digital
VCR. It can encode in real time in many formats including MPEG1 audio
and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.
This package contains development files for %{name}
%prep
%setup -q -n %{name}-%{svn}
%patch4 -p1 -b .asmreg
%build
./configure \
--prefix=%{_prefix} \
--incdir=%{_includedir}/ffmpeg \
--libdir=%{_libdir} \
--shlibdir=%{_libdir} \
--mandir=%{_mandir} \
--arch=%{_target_cpu} \
--extra-cflags="$RPM_OPT_FLAGS" \
%{?_with_amr:--enable-libamr-nb --enable-libamr-wb} \
--enable-libdc1394 \
--enable-liba52 \
--enable-libfaac \
--enable-libfaad \
--enable-libgsm \
--enable-libmp3lame \
--enable-libtheora \
--enable-libvorbis \
--enable-libx264 \
--enable-libxvid \
--enable-postproc \
--enable-swscale \
--enable-pthreads \
--disable-static \
--enable-shared \
--enable-gpl \
--disable-debug \
--disable-optimizations \
--disable-stripping
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT __doc
make install DESTDIR=$RPM_BUILD_ROOT
cp -a doc __doc
rm -f __doc/{Makefile,*.{1,pl,texi}}
%clean
rm -rf $RPM_BUILD_ROOT
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc COPYING.GPL CREDITS Changelog README __doc/*.*
# Note: as of 20070204, "configure" doesn't have --bindir.
%{_prefix}/bin/ffmpeg
%{_prefix}/bin/ffplay
%{_prefix}/bin/ffserver
%{_mandir}/man1/ffmpeg.1*
%{_mandir}/man1/ffplay.1*
%{_mandir}/man1/ffserver.1*
%files libs
%defattr(-,root,root,-)
%{_libdir}/libavcodec.so.*
%{_libdir}/libavdevice.so.*
%{_libdir}/libavformat.so.*
%{_libdir}/libavutil.so.*
%{_libdir}/libpostproc.so.*
%{_libdir}/libswscale.so.*
%{_libdir}/vhook/
%files devel
%defattr(-,root,root,-)
# Note: as of 20070204, --incdir doesn't affect postproc.
%{_includedir}/ffmpeg
%{_libdir}/libavcodec.so
%{_libdir}/libavdevice.so
%{_libdir}/libavformat.so
%{_libdir}/libavutil.so
%{_libdir}/libpostproc.so
%{_libdir}/libswscale.so
%{_libdir}/pkgconfig/libswscale.pc
%{_libdir}/pkgconfig/libavcodec.pc
%{_libdir}/pkgconfig/libavdevice.pc
%{_libdir}/pkgconfig/libavformat.pc
%{_libdir}/pkgconfig/libavutil.pc
%{_libdir}/pkgconfig/libpostproc.pc
%changelog
* Sun Aug 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.4.9-0.47.20080614
- rebuild
* Sat Jun 14 2008 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.46.20080614
- 20080614 snapshot
- no need to conditionalize swscaler anymore
- dropped obsolete pkgconfig patch
- BR latest x264
* Mon Mar 03 2008 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.45.20080113
- rebuild for new x264
* Sun Jan 13 2008 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.44.20080113
- 20080113 snapshot
- drop unnecessary patch
- enable libdc1394 support
- enable swscaler
* Mon Nov 12 2007 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.43.20071111
- ensure that we use the correct faad2 version
* Sun Nov 11 2007 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.42.20071111
- 20071111 snapshot
- current faad2 is good again
* Thu Oct 18 2007 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.41.20071011
- fix BRs and Requires for faad2
* Thu Oct 11 2007 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.40.20071011
- 20071011 snapshot
- don't link against faad2-2.5, it makes GPL'd binary non-distributable
- go back to normal linking instead of dlopen() of liba52
* Sun Sep 23 2007 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.39.20070923
- 20070923 snapshot
- use faad2 2.5
- optional AMR support
- dropped obsolete patch
* Thu Jun 07 2007 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.38.20070607
- 20070607 snapshot
- libdca BR dropped (no longer supported)
- drop gsm.h path hack, gsm in Fedora now provides a compatibility symlink
- remove arch hacks, ffmpeg's configure is smart enough
- enable cmov on x86_64
* Thu May 03 2007 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.37.20070503
- require older faad2 to prevent bugreports like #1388
- prepare for libdc1394 support
- enable pthreads
- 20070503 snapshot
* Thu Feb 08 2007 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.35.20070204
- libswscale.pc is necessary regardless of --enable-swscaler
* Sun Feb 4 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.34.20070204
- 2007-02-04 snapshot, enable libtheora.
- Make swscaler optional, disabled again by default (#1379).
* Fri Jan 05 2007 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.34.20061214
- move vhooks to -libs
* Wed Jan 03 2007 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.33.20061214
- split -libs subpackage for multilib installs
* Tue Dec 26 2006 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.32.20061214
- new kino works with swscaler, re-enabled
* Tue Dec 19 2006 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.31.20061214
- disable swscaler, it breaks kino
* Sun Dec 17 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.30.20061214
- fix pkgconfig patch
* Sat Dec 16 2006 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.29.20061214
- liba52 change broke build on 64bit
- resurrect lost URL changes
* Fri Dec 15 2006 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.28.20061214
- fixed build on x86
- change liba52 file-based dependency to provides-based
- resurrect and update pkgconfig patch
* Thu Dec 14 2006 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.27.20061214
- new snapshot URL
- new URL
* Thu Dec 14 2006 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.26.20061214
- 2006-12-14 snapshot
- added libdca support
- enabled swscaler
- dropped obsolete patches
* Mon Oct 30 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.25.20061030
- 2006-10-30 snapshot, fixes x86_64 build.
- Apply a less intrusive workaround for LAME detection issues.
* Sat Oct 28 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.25.20061028
- 2006-10-28 snapshot, build with x264.
- Clean up some pre-FC4 compat build dependency cruft.
- Quick and dirty workarounds for ./configure's libmp3lame test and asm
register issues on ix86.
* Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 0.4.9-25
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
* Tue Sep 26 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.24.20060817
- Drop SELinux fcontext settings, they're supposedly fixed upstream again.
* Thu Aug 17 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.23.20060817
- 2006-08-17 snapshot.
- Fix svn rev in "ffmpeg -version" etc.
* Wed Aug 9 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.23.20060804
- Reintroduce SELinux fcontext settings on ix86 (not needed on x86_64, ppc),
they're not completely taken care of upstream (#1120).
- Split svn snapshot creator into a separate script.
* Fri Aug 4 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.22.20060804
- 2006-08-04 snapshot.
- Drop bogus version from SDL-devel build dependency.
- Drop no longer relevant libpostproc obsoletion.
- Prune pre-2005 changelog entries.
- Specfile cleanup.
* Sat Jun 17 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.22.20060617
- 2006-06-17 snapshot.
* Mon Jun 12 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.22.20060612
- 2006-06-12 snapshot, rgb.txt patch applied upstream.
- Patch to force linking vhook modules with their dependencies, --as-needed
seems to drop needed things for some reason for drawtext and imlib2.
- Revert to dlopen()'ing liba52 and add file based dependency on it, it's
easier this way again due to --as-needed linkage.
* Wed May 17 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.22.20060517
- 2006-05-17 snapshot.
- Link with faad2, don't dlopen() it.
* Sat May 13 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.22.20060513
- 2006-05-13 snapshot.
- Drop SELinux fixups, they're part of upstream policy now.
* Sat Apr 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.22.20060407
- SELinux file context fixups (mplayer, vdr-dxr3 etc) while waiting for #188358
* Sat Apr 8 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.21.20060407
- 2006-04-07 CVS snapshot.
- Move *.so to -devel, hopefully nothing needs them any more.
* Fri Mar 31 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.21.20051228
- Remove superfluous dependencies from pkgconfig files (#747).
- Re-enable MMX on x86_64.
* Thu Mar 09 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- switch to new release field
* Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- add dist
* Wed Dec 28 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.lvn.0.20.20051228
- 2005-12-28 CVS snapshot.
- Let upstream configure take care of PIC settings (patched for ppc).
- Own shared lib symlinks.
* Fri Dec 23 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.lvn.0.20.20050801
- Apply upstream fix for CVE-2005-4048.
- Patch to find rgb.txt in FC5 too.
* Thu Sep 29 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.4.9-0.lvn.0.19.20050801
- Clean up obsolete pre-FC3 stuff (FAAC is now unconditionally enabled).
- Drop zero Epochs.
* Tue Aug 16 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.4.9-0.lvn.0.18.20050801
- Apply some upstream and some mine (libdir) fixes to pkgconfig files.
- Add pkgconfig dependency to -devel.
- Include gsm support.
* Thu Aug 4 2005 David Woodhouse <dwmw2(a)infradead.org> - 0:0.4.9-0.lvn.0.17.20050801
- Update to 20050801 snapshot to make xine-lib happy
- Enable Altivec support by using --cpu=powerpc (not 'ppc')
- Enable theora
- Add pkgconfig files
- Undefine various things which might be macros before redefining them
* Sat Jul 23 2005 Dams <anvil[AT]livna.org> - 0:0.4.9-0.lvn.0.17.20050427
- Added patch from Marc Deslauriers to fix wmv2 distorsion
* Sun Jul 10 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.4.9-0.lvn.0.16.20050427
- Enable faac by default, rebuild with "--without faac" to disable.
- Clean up obsolete pre-FC2 and other stuff.
* Sun May 22 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.4.9-0.lvn.0.15.20050427
- PPC needs -fPIC too.
* Sat May 21 2005 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0:0.4.9-0.lvn.0.14.20050427
- disable mmx for now on x86_64 to fix build
* Sat Apr 30 2005 Dams <anvil[AT]livna.org> - 0:0.4.9-0.lvn.0.13.20050427
- Removed bogus devel requires
- Re-added conditionnal a52dec buildreq
* Fri Apr 29 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.4.9-0.lvn.0.12.20050427
- Link avcodec with a52 when building with a52bin, remove unnecessary
hardcoded liba52.so.0 dependency.
* Fri Apr 29 2005 Dams <anvil[AT]livna.org> - 0:0.4.9-0.lvn.0.11.20050427
- Fixed devel package deps
* Fri Apr 29 2005 Dams <anvil[AT]livna.org> - 0:0.4.9-0.lvn.0.10.20050427
- texi2html replaces tetex as build dependency (FC4 compliance)
- re-added man pages
* Thu Apr 28 2005 Dams <anvil[AT]livna.org> - 0:0.4.9-0.lvn.0.9.20050427
- Patch from Enrico to fix build on gcc4
- Missing BuildReq a52dec-devel when a52bin is defined
- Patch to fix a52 build
* Wed Apr 27 2005 Dams <anvil[AT]livna.org> - 0:0.4.9-0.lvn.0.8.20050427
- Updated tarball to cvs 20050427 snapshot
- Enabled libogg, xvid, a52bin
- Dropped Patch[0-3]
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/ffmpeg/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:50:06 -0000 1.1
+++ .cvsignore 5 Aug 2008 17:08:12 -0000 1.2
@@ -0,0 +1 @@
+ffmpeg-20080614.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/free/rpms/ffmpeg/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:50:06 -0000 1.1
+++ sources 5 Aug 2008 17:08:12 -0000 1.2
@@ -0,0 +1 @@
+322a5f53e33b5b4f312ed798d14c6ced ffmpeg-20080614.tar.bz2
16 years, 3 months
rpms/libdvbpsi/F-8 libdvbpsi.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/libdvbpsi/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv29909
Modified Files:
.cvsignore sources
Added Files:
libdvbpsi.spec
Log Message:
initial import from livna
--- NEW FILE libdvbpsi.spec ---
%define real_name libdvbpsi5
Summary: Library for MPEG TS and DVB PSI tables decoding and generation
Name: libdvbpsi
Version: 0.1.6
Release: 3%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL: http://www.videolan.org/developers/libdvbpsi.html
Source0: http://download.videolan.org/pub/libdvbpsi/%{version}/%{real_name}-%{vers...
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: graphviz doxygen
%package devel
Summary: Development package for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
# -----------------------------------------------------------------------------
%description
libdvbpsi is a very simple and fully portable library designed for
MPEG TS and DVB PSI table decoding and generation.
%description devel
libdvbpsi is a very simple and fully portable library designed for
MPEG TS and DVB PSI table decoding and generation.
This package contains development files for %{name}
# -----------------------------------------------------------------------------
%prep
%setup -q -n %{real_name}-%{version}
# -----------------------------------------------------------------------------
%build
%configure --disable-dependency-tracking --disable-static
make %{?_smp_mflags}
make doc
# -----------------------------------------------------------------------------
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
# -----------------------------------------------------------------------------
%clean
rm -rf $RPM_BUILD_ROOT
# -----------------------------------------------------------------------------
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog README
%{_libdir}/%{name}.so.*
%files devel
%defattr(-,root,root,-)
%doc doc/doxygen/html
%{_includedir}/dvbpsi/
%{_libdir}/lib*.so
# -----------------------------------------------------------------------------
%changelog
* Mon Aug 04 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.1.6-3
- rebuild
* Tue Feb 26 2008 kwizart < kwizart at gmail.com > - 0.1.6-2
- Rebuild for gcc43
* Mon Oct 22 2007 kwizart < kwizart at gmail.com > - 0.1.6-1
- Update to 0.1.6
* Sun Oct 14 2007 kwizart < kwizart at gmail.com > - 0.1.5-3
- Rpmfusion Merge Review
* Mon Mar 13 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> 0.1.5-2
- Drop Epoch completely
* Thu Mar 09 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- switch to new release field
* Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- add dist
* Tue Jul 12 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.1.5-0.lvn.1
- 0.1.5.
- Build with dependency tracking disabled.
- Miscellaneous specfile cleanups.
* Mon May 17 2004 Dams <anvil[AT]livna.org> - 0:0.1.3-0.lvn.4
- Added url in Source0
* Sun Sep 28 2003 Dams <anvil[AT]livna.org> 0:0.1.3-0.fdr.3
- Removed comment after scriptlets
* Mon Aug 18 2003 Dams <anvil[AT]livna.org> 0:0.1.3-0.fdr.2
- Moved some doc to devel package
* Sat Aug 16 2003 Dams <anvil[AT]livna.org> 0:0.1.3-0.fdr.1
- Added post/postun scriptlets
- Using RPM_OPT_FLAGS
- Updated to 0.1.3
* Sun Jun 29 2003 Dams <anvil[AT]livna.org>
- Initial build.
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/libdvbpsi/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:52:50 -0000 1.1
+++ .cvsignore 5 Aug 2008 17:06:52 -0000 1.2
@@ -0,0 +1 @@
+libdvbpsi5-0.1.6.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/free/rpms/libdvbpsi/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:52:50 -0000 1.1
+++ sources 5 Aug 2008 17:06:52 -0000 1.2
@@ -0,0 +1 @@
+bd2d9861be3311e1e03c91cd9345f542 libdvbpsi5-0.1.6.tar.bz2
16 years, 3 months
rpms/libdvbpsi/F-9 libdvbpsi.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/libdvbpsi/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv29790
Modified Files:
.cvsignore sources
Added Files:
libdvbpsi.spec
Log Message:
initial import from livna
--- NEW FILE libdvbpsi.spec ---
%define real_name libdvbpsi5
Summary: Library for MPEG TS and DVB PSI tables decoding and generation
Name: libdvbpsi
Version: 0.1.6
Release: 3%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL: http://www.videolan.org/developers/libdvbpsi.html
Source0: http://download.videolan.org/pub/libdvbpsi/%{version}/%{real_name}-%{vers...
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: graphviz doxygen
%package devel
Summary: Development package for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
# -----------------------------------------------------------------------------
%description
libdvbpsi is a very simple and fully portable library designed for
MPEG TS and DVB PSI table decoding and generation.
%description devel
libdvbpsi is a very simple and fully portable library designed for
MPEG TS and DVB PSI table decoding and generation.
This package contains development files for %{name}
# -----------------------------------------------------------------------------
%prep
%setup -q -n %{real_name}-%{version}
# -----------------------------------------------------------------------------
%build
%configure --disable-dependency-tracking --disable-static
make %{?_smp_mflags}
make doc
# -----------------------------------------------------------------------------
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
# -----------------------------------------------------------------------------
%clean
rm -rf $RPM_BUILD_ROOT
# -----------------------------------------------------------------------------
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog README
%{_libdir}/%{name}.so.*
%files devel
%defattr(-,root,root,-)
%doc doc/doxygen/html
%{_includedir}/dvbpsi/
%{_libdir}/lib*.so
# -----------------------------------------------------------------------------
%changelog
* Mon Aug 04 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.1.6-3
- rebuild
* Tue Feb 26 2008 kwizart < kwizart at gmail.com > - 0.1.6-2
- Rebuild for gcc43
* Mon Oct 22 2007 kwizart < kwizart at gmail.com > - 0.1.6-1
- Update to 0.1.6
* Sun Oct 14 2007 kwizart < kwizart at gmail.com > - 0.1.5-3
- Rpmfusion Merge Review
* Mon Mar 13 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> 0.1.5-2
- Drop Epoch completely
* Thu Mar 09 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- switch to new release field
* Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- add dist
* Tue Jul 12 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.1.5-0.lvn.1
- 0.1.5.
- Build with dependency tracking disabled.
- Miscellaneous specfile cleanups.
* Mon May 17 2004 Dams <anvil[AT]livna.org> - 0:0.1.3-0.lvn.4
- Added url in Source0
* Sun Sep 28 2003 Dams <anvil[AT]livna.org> 0:0.1.3-0.fdr.3
- Removed comment after scriptlets
* Mon Aug 18 2003 Dams <anvil[AT]livna.org> 0:0.1.3-0.fdr.2
- Moved some doc to devel package
* Sat Aug 16 2003 Dams <anvil[AT]livna.org> 0:0.1.3-0.fdr.1
- Added post/postun scriptlets
- Using RPM_OPT_FLAGS
- Updated to 0.1.3
* Sun Jun 29 2003 Dams <anvil[AT]livna.org>
- Initial build.
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/libdvbpsi/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:52:50 -0000 1.1
+++ .cvsignore 5 Aug 2008 17:06:35 -0000 1.2
@@ -0,0 +1 @@
+libdvbpsi5-0.1.6.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/free/rpms/libdvbpsi/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:52:50 -0000 1.1
+++ sources 5 Aug 2008 17:06:35 -0000 1.2
@@ -0,0 +1 @@
+bd2d9861be3311e1e03c91cd9345f542 libdvbpsi5-0.1.6.tar.bz2
16 years, 3 months
rpms/ufoai/F-8 ufoai-2.2-libdir.patch, NONE, 1.1 ufoai-ded.desktop, NONE, 1.1 ufoai.desktop, NONE, 1.1 ufoai.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/ufoai/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv29662
Modified Files:
.cvsignore sources
Added Files:
ufoai-2.2-libdir.patch ufoai-ded.desktop ufoai.desktop
ufoai.spec
Log Message:
initial import from livna
ufoai-2.2-libdir.patch:
--- NEW FILE ufoai-2.2-libdir.patch ---
--- ufoai-2.2-source/src/common/files.c.orig 2007-12-10 08:29:39.000000000 +0000
+++ ufoai-2.2-source/src/common/files.c 2008-02-26 13:55:38.000000000 +0000
@@ -35,6 +35,7 @@
/* in memory */
static cvar_t *fs_basedir;
+static cvar_t *fs_libdir;
cvar_t *fs_gamedir;
typedef struct filelink_s {
@@ -894,6 +895,12 @@
/* start up with base by default */
FS_AddGameDirectory(va("%s/" BASEDIRNAME, fs_basedir->string));
+ /* allows the game to search the library dirs */
+ fs_libdir = Cvar_Get("fs_libdir", ".", CVAR_NOSET, "Allows the game to search the library dirs");
+
+ /* start up with empty path by default */
+ FS_AddGameDirectory(va("%s", fs_libdir->string));
+
/* then add a '.ufoai/base' directory in home directory by default */
if (fs_usehomedir->integer)
FS_AddHomeAsGameDirectory(BASEDIRNAME);
--- NEW FILE ufoai-ded.desktop ---
[Desktop Entry]
Name=UFO:AI Dedicated Server
GenericName=Strategy Game (server)
GenericName[cs]=Strategická hra (server)
GenericName[da]=Strategispil (server)
GenericName[de]=Strategiespiel (Server)
GenericName[es]=Juego de estrategia (servidor)
GenericName[et]=Strateegiamäng
GenericName[fi]=Avaruuspeli (palvelin)
GenericName[fr]=Jeu de stratégie (serveur)
GenericName[it]=Gioco di strategia (server)
GenericName[pl]=Gra strategiczna (serwer)
GenericName[pt_BR]=Jogo de Estratégia (servidor)
GenericName[ru]=Завоевание (сервер)
GenericName[sl]=Strateška igra (strežnik)
GenericName[sv]=Strategispel (värddator)
Comment=UFO: Alien Invasion Dedicated Server
Exec=ufoded-wrapper.sh
Icon=ufoai-ded
Terminal=false
Type=Application
Categories=Game;StrategyGame;
--- NEW FILE ufoai.desktop ---
[Desktop Entry]
Name=UFO:AI
GenericName=Strategy Game
GenericName[cs]=Strategická hra
GenericName[da]=Strategispil
GenericName[de]=Strategiespiel
GenericName[es]=Juego de estrategia
GenericName[et]=Strateegiamäng
GenericName[fi]=Avaruuspeli
GenericName[fr]=Jeu de stratégie
GenericName[it]=Gioco di strategia
GenericName[pl]=Gra strategiczna
GenericName[pt_BR]=Jogo de Estratégia
GenericName[ru]=Завоевание
GenericName[sl]=Strateška igra
GenericName[sv]=Strategispel
Comment=UFO: Alien Invasion
Exec=ufoai-wrapper.sh
Icon=ufoai
Terminal=false
Type=Application
Categories=Game;StrategyGame;
--- NEW FILE ufoai.spec ---
Name: ufoai
Version: 2.2.1
Release: 2%{?dist}
Summary: UFO: Alien Invasion
Group: Amusements/Games
License: GPLv2+
URL: http://ufoai.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-source.tar.bz2
Source1: %{name}.desktop
Source2: %{name}-ded.desktop
Patch: ufoai-2.2-libdir.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils curl-devel freealut-devel gettext
BuildRequires: libjpeg-devel libogg-devel libpng-devel libvorbis-devel
BuildRequires: libXxf86dga-devel libXxf86vm-devel SDL-devel SDL_mixer-devel
BuildRequires: SDL_ttf-devel
Requires: opengl-games-utils
Requires: %{name}-data = %{version}
%package doc
Summary: UFO: Alien Invasion user manual
Group: Documentation
License: GFDL
BuildRequires: tetex-latex
%description
UFO: ALIEN INVASION is a strategy game featuring tactical combat
against hostile alien forces which are about to infiltrate earth at
this very moment. You are in command of a small special unit which
has been founded to face the alien strike force. To be successful on
the long run, you will also have to have a research team study the
aliens and their technologies in order to learn as much as possible
about their technology, their goals and the aliens themselves.
%description doc
UFO: ALIEN INVASION is a strategy game featuring tactical combat
against hostile alien forces which are about to infiltrate earth at
this very moment.
This package contains the user manual for the game.
%prep
%setup -q -n %{name}-%{version}-source
## we do not like "arch-dependent-file" in /usr/share
# change the target for the library
sed -i -e "s/base/./" build/game.mk
# allow to set the library path
%patch -p1
%build
%configure --disable-ufo2map --enable-release
make %{?_smp_mflags}
make %{?_smp_mflags} lang
# wrapper scripts - generated because we need arch dependent paths
cat > %{name}-wrapper.sh <<-EOF
#!/bin/sh
. /usr/share/opengl-games-utils/opengl-game-functions.sh
checkDriOK UFO:AI
exec ufo \\
+set fs_libdir %{_libdir}/%{name} \\
+set fs_basedir %{_datadir}/%{name} \\
+set fs_i18ndir %{_datadir}/locale \\
"\$@"
EOF
cat > ufoded-wrapper.sh <<-EOF
#!/bin/sh
exec ufoded \\
+set fs_libdir %{_libdir}/%{name} \\
+set fs_basedir %{_datadir}/%{name} \\
+set fs_i18ndir %{_datadir}/locale \\
"\$@"
EOF
# build documentation
cd src/docs/tex
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
install -D -m 0755 ufo %{buildroot}%{_bindir}/ufo
install -D -m 0755 ufoded %{buildroot}%{_bindir}
install -p -m 0755 %{name}-wrapper.sh %{buildroot}%{_bindir}
install -p -m 0755 ufoded-wrapper.sh %{buildroot}%{_bindir}
install -D -m 0755 game.so %{buildroot}%{_libdir}/%{name}/game.so
mkdir -p -m 0755 %{buildroot}%{_datadir}/locale
cp -pr base/i18n/* %{buildroot}%{_datadir}/locale/
mkdir -p -m 0755 %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
cp -p src/ports/linux/ufo.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
cp -p src/ports/linux/ufoded.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}-ded.png
desktop-file-install --vendor="fedora" \
--dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
desktop-file-install --vendor="fedora" \
--dir=%{buildroot}%{_datadir}/applications %{SOURCE2}
%find_lang %{name}
# install documentation
mkdir -p -m 0755 %{buildroot}%{_docdir}/%{name}-%{version}
cp -pr README CONTRIBUTORS COPYING src/docs/tex/*.pdf \
%{buildroot}%{_docdir}/%{name}-%{version}/
%clean
rm -rf %{buildroot}
%post
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%files -f %{name}.lang
%defattr(-,root,root,-)
# we need to use full path so %doc does not the cleanup
%doc %{_docdir}/%{name}-%{version}/README
%doc %{_docdir}/%{name}-%{version}/CONTRIBUTORS
%doc %{_docdir}/%{name}-%{version}/COPYING
%{_bindir}/*
%{_libdir}/%{name}/
%{_datadir}/applications/
%{_datadir}/icons/hicolor/32x32/apps/
%files doc
%defattr(-,root,root,-)
%doc %{_docdir}/%{name}-%{version}/*.pdf
%lang(en) %{_docdir}/%{name}-%{version}/ufo-manual_EN.pdf
%changelog
* Mon Aug 04 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 2.2.1-2
- rebuild
* Mon Jun 09 2008 Karel Volny <kvolny(a)redhat.com> 2.2.1-1
- Version bump
- Fixes Livna bug #1931
- Configure with --enable-release
* Tue Feb 26 2008 Karel Volny <kvolny(a)redhat.com> 2.2-5
- Added patch to allow setting fs_libdir, fixes Livna bug #1882
* Tue Feb 19 2008 Karel Volny <kvolny(a)redhat.com> 2.2-4
- Changed BuildRequires of the doc subpackage to tetex-latex instead of tetex
* Mon Feb 18 2008 Karel Volny <kvolny(a)redhat.com> 2.2-3
- Fixed BuildRequires to include SDL_mixer-devel
* Mon Feb 04 2008 Karel Volny <kvolny(a)redhat.com> 2.2-2
- Merged in ufoai-doc as a subpackage
- Added gtk-update-icon-cache to %%post and %%postun
* Tue Jan 22 2008 Karel Volny <kvolny(a)redhat.com> 2.2-1
- Version bump
- Added BuildRequires: curl-devel
- Changed language file handling
- Use bundled icons
- Added ufoded wrapper and menu entry
* Mon Jan 07 2008 Karel Volny <kvolny(a)redhat.com> 2.1.1-3
- Marked localisation files
- Some fixes according the comment #18 to bug #412001:
- Added BuildRequires: freealut-devel libXxf86vm-devel libXxf86dga-devel
- Improved .desktop file
- Added fix for mixed encoding within the file CONTRIBUTORS
* Thu Dec 06 2007 Karel Volny <kvolny(a)redhat.com> 2.1.1-2
- Split the game, data and additional music into separate packages
- Added wrapper script to use correct command line parameters and OpenGL Wrapper
- Added ufoai.desktop as a separate file
* Tue Dec 04 2007 Karel Volny <kvolny(a)redhat.com> 2.1.1-1
- Initial release for Fedora 8
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/ufoai/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:55:32 -0000 1.1
+++ .cvsignore 5 Aug 2008 17:05:52 -0000 1.2
@@ -0,0 +1 @@
+ufoai-2.2.1-source.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/free/rpms/ufoai/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:55:32 -0000 1.1
+++ sources 5 Aug 2008 17:05:52 -0000 1.2
@@ -0,0 +1 @@
+d3d1e45056fe87efbd9a0f000779ab17 ufoai-2.2.1-source.tar.bz2
16 years, 3 months
rpms/ufoai/F-9 ufoai-2.2-libdir.patch, NONE, 1.1 ufoai-ded.desktop, NONE, 1.1 ufoai.desktop, NONE, 1.1 ufoai.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/ufoai/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv29542
Modified Files:
.cvsignore sources
Added Files:
ufoai-2.2-libdir.patch ufoai-ded.desktop ufoai.desktop
ufoai.spec
Log Message:
initial import from livna
ufoai-2.2-libdir.patch:
--- NEW FILE ufoai-2.2-libdir.patch ---
--- ufoai-2.2-source/src/common/files.c.orig 2007-12-10 08:29:39.000000000 +0000
+++ ufoai-2.2-source/src/common/files.c 2008-02-26 13:55:38.000000000 +0000
@@ -35,6 +35,7 @@
/* in memory */
static cvar_t *fs_basedir;
+static cvar_t *fs_libdir;
cvar_t *fs_gamedir;
typedef struct filelink_s {
@@ -894,6 +895,12 @@
/* start up with base by default */
FS_AddGameDirectory(va("%s/" BASEDIRNAME, fs_basedir->string));
+ /* allows the game to search the library dirs */
+ fs_libdir = Cvar_Get("fs_libdir", ".", CVAR_NOSET, "Allows the game to search the library dirs");
+
+ /* start up with empty path by default */
+ FS_AddGameDirectory(va("%s", fs_libdir->string));
+
/* then add a '.ufoai/base' directory in home directory by default */
if (fs_usehomedir->integer)
FS_AddHomeAsGameDirectory(BASEDIRNAME);
--- NEW FILE ufoai-ded.desktop ---
[Desktop Entry]
Name=UFO:AI Dedicated Server
GenericName=Strategy Game (server)
GenericName[cs]=Strategická hra (server)
GenericName[da]=Strategispil (server)
GenericName[de]=Strategiespiel (Server)
GenericName[es]=Juego de estrategia (servidor)
GenericName[et]=Strateegiamäng
GenericName[fi]=Avaruuspeli (palvelin)
GenericName[fr]=Jeu de stratégie (serveur)
GenericName[it]=Gioco di strategia (server)
GenericName[pl]=Gra strategiczna (serwer)
GenericName[pt_BR]=Jogo de Estratégia (servidor)
GenericName[ru]=Завоевание (сервер)
GenericName[sl]=Strateška igra (strežnik)
GenericName[sv]=Strategispel (värddator)
Comment=UFO: Alien Invasion Dedicated Server
Exec=ufoded-wrapper.sh
Icon=ufoai-ded
Terminal=false
Type=Application
Categories=Game;StrategyGame;
--- NEW FILE ufoai.desktop ---
[Desktop Entry]
Name=UFO:AI
GenericName=Strategy Game
GenericName[cs]=Strategická hra
GenericName[da]=Strategispil
GenericName[de]=Strategiespiel
GenericName[es]=Juego de estrategia
GenericName[et]=Strateegiamäng
GenericName[fi]=Avaruuspeli
GenericName[fr]=Jeu de stratégie
GenericName[it]=Gioco di strategia
GenericName[pl]=Gra strategiczna
GenericName[pt_BR]=Jogo de Estratégia
GenericName[ru]=Завоевание
GenericName[sl]=Strateška igra
GenericName[sv]=Strategispel
Comment=UFO: Alien Invasion
Exec=ufoai-wrapper.sh
Icon=ufoai
Terminal=false
Type=Application
Categories=Game;StrategyGame;
--- NEW FILE ufoai.spec ---
Name: ufoai
Version: 2.2.1
Release: 2%{?dist}
Summary: UFO: Alien Invasion
Group: Amusements/Games
License: GPLv2+
URL: http://ufoai.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-source.tar.bz2
Source1: %{name}.desktop
Source2: %{name}-ded.desktop
Patch: ufoai-2.2-libdir.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils curl-devel freealut-devel gettext
BuildRequires: libjpeg-devel libogg-devel libpng-devel libvorbis-devel
BuildRequires: libXxf86dga-devel libXxf86vm-devel SDL-devel SDL_mixer-devel
BuildRequires: SDL_ttf-devel
Requires: opengl-games-utils
Requires: %{name}-data = %{version}
%package doc
Summary: UFO: Alien Invasion user manual
Group: Documentation
License: GFDL
BuildRequires: tetex-latex
%description
UFO: ALIEN INVASION is a strategy game featuring tactical combat
against hostile alien forces which are about to infiltrate earth at
this very moment. You are in command of a small special unit which
has been founded to face the alien strike force. To be successful on
the long run, you will also have to have a research team study the
aliens and their technologies in order to learn as much as possible
about their technology, their goals and the aliens themselves.
%description doc
UFO: ALIEN INVASION is a strategy game featuring tactical combat
against hostile alien forces which are about to infiltrate earth at
this very moment.
This package contains the user manual for the game.
%prep
%setup -q -n %{name}-%{version}-source
## we do not like "arch-dependent-file" in /usr/share
# change the target for the library
sed -i -e "s/base/./" build/game.mk
# allow to set the library path
%patch -p1
%build
%configure --disable-ufo2map --enable-release
make %{?_smp_mflags}
make %{?_smp_mflags} lang
# wrapper scripts - generated because we need arch dependent paths
cat > %{name}-wrapper.sh <<-EOF
#!/bin/sh
. /usr/share/opengl-games-utils/opengl-game-functions.sh
checkDriOK UFO:AI
exec ufo \\
+set fs_libdir %{_libdir}/%{name} \\
+set fs_basedir %{_datadir}/%{name} \\
+set fs_i18ndir %{_datadir}/locale \\
"\$@"
EOF
cat > ufoded-wrapper.sh <<-EOF
#!/bin/sh
exec ufoded \\
+set fs_libdir %{_libdir}/%{name} \\
+set fs_basedir %{_datadir}/%{name} \\
+set fs_i18ndir %{_datadir}/locale \\
"\$@"
EOF
# build documentation
cd src/docs/tex
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
install -D -m 0755 ufo %{buildroot}%{_bindir}/ufo
install -D -m 0755 ufoded %{buildroot}%{_bindir}
install -p -m 0755 %{name}-wrapper.sh %{buildroot}%{_bindir}
install -p -m 0755 ufoded-wrapper.sh %{buildroot}%{_bindir}
install -D -m 0755 game.so %{buildroot}%{_libdir}/%{name}/game.so
mkdir -p -m 0755 %{buildroot}%{_datadir}/locale
cp -pr base/i18n/* %{buildroot}%{_datadir}/locale/
mkdir -p -m 0755 %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
cp -p src/ports/linux/ufo.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
cp -p src/ports/linux/ufoded.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}-ded.png
desktop-file-install --vendor="fedora" \
--dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
desktop-file-install --vendor="fedora" \
--dir=%{buildroot}%{_datadir}/applications %{SOURCE2}
%find_lang %{name}
# install documentation
mkdir -p -m 0755 %{buildroot}%{_docdir}/%{name}-%{version}
cp -pr README CONTRIBUTORS COPYING src/docs/tex/*.pdf \
%{buildroot}%{_docdir}/%{name}-%{version}/
%clean
rm -rf %{buildroot}
%post
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%files -f %{name}.lang
%defattr(-,root,root,-)
# we need to use full path so %doc does not the cleanup
%doc %{_docdir}/%{name}-%{version}/README
%doc %{_docdir}/%{name}-%{version}/CONTRIBUTORS
%doc %{_docdir}/%{name}-%{version}/COPYING
%{_bindir}/*
%{_libdir}/%{name}/
%{_datadir}/applications/
%{_datadir}/icons/hicolor/32x32/apps/
%files doc
%defattr(-,root,root,-)
%doc %{_docdir}/%{name}-%{version}/*.pdf
%lang(en) %{_docdir}/%{name}-%{version}/ufo-manual_EN.pdf
%changelog
* Mon Aug 04 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 2.2.1-2
- rebuild
* Mon Jun 09 2008 Karel Volny <kvolny(a)redhat.com> 2.2.1-1
- Version bump
- Fixes Livna bug #1931
- Configure with --enable-release
* Tue Feb 26 2008 Karel Volny <kvolny(a)redhat.com> 2.2-5
- Added patch to allow setting fs_libdir, fixes Livna bug #1882
* Tue Feb 19 2008 Karel Volny <kvolny(a)redhat.com> 2.2-4
- Changed BuildRequires of the doc subpackage to tetex-latex instead of tetex
* Mon Feb 18 2008 Karel Volny <kvolny(a)redhat.com> 2.2-3
- Fixed BuildRequires to include SDL_mixer-devel
* Mon Feb 04 2008 Karel Volny <kvolny(a)redhat.com> 2.2-2
- Merged in ufoai-doc as a subpackage
- Added gtk-update-icon-cache to %%post and %%postun
* Tue Jan 22 2008 Karel Volny <kvolny(a)redhat.com> 2.2-1
- Version bump
- Added BuildRequires: curl-devel
- Changed language file handling
- Use bundled icons
- Added ufoded wrapper and menu entry
* Mon Jan 07 2008 Karel Volny <kvolny(a)redhat.com> 2.1.1-3
- Marked localisation files
- Some fixes according the comment #18 to bug #412001:
- Added BuildRequires: freealut-devel libXxf86vm-devel libXxf86dga-devel
- Improved .desktop file
- Added fix for mixed encoding within the file CONTRIBUTORS
* Thu Dec 06 2007 Karel Volny <kvolny(a)redhat.com> 2.1.1-2
- Split the game, data and additional music into separate packages
- Added wrapper script to use correct command line parameters and OpenGL Wrapper
- Added ufoai.desktop as a separate file
* Tue Dec 04 2007 Karel Volny <kvolny(a)redhat.com> 2.1.1-1
- Initial release for Fedora 8
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/ufoai/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:55:32 -0000 1.1
+++ .cvsignore 5 Aug 2008 17:05:34 -0000 1.2
@@ -0,0 +1 @@
+ufoai-2.2.1-source.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/free/rpms/ufoai/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:55:32 -0000 1.1
+++ sources 5 Aug 2008 17:05:34 -0000 1.2
@@ -0,0 +1 @@
+d3d1e45056fe87efbd9a0f000779ab17 ufoai-2.2.1-source.tar.bz2
16 years, 3 months
rpms/xrick/F-9 xrick-rpmoptflags-makefile.patch, NONE, 1.1 xrick.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/nonfree/rpms/xrick/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv29422
Modified Files:
.cvsignore sources
Added Files:
xrick-rpmoptflags-makefile.patch xrick.spec
Log Message:
initial import from livna
xrick-rpmoptflags-makefile.patch:
--- NEW FILE xrick-rpmoptflags-makefile.patch ---
diff -Naur xrick-021212-orig/Makefile xrick-021212/Makefile
--- xrick-021212-orig/Makefile 2002-12-24 17:58:26.000000000 +0100
+++ xrick-021212/Makefile 2003-05-13 17:53:14.000000000 +0200
@@ -71,7 +71,7 @@
all:
@echo "ROOTDIR=$(ROOTDIR)" > Makefile.global
@echo "XOBJ=$(XOBJ)" >> Makefile.global
- @echo "CFLAGS=-g -ansi -pedantic -Wall -W -O2 -I $(ROOTDIR)/include $(shell sdl-config --cflags)" >> Makefile.global
+ @echo "CFLAGS=$(RPM_OPT_FLAGS) -ansi -pedantic -Wall -W -I $(ROOTDIR)/include $(shell sdl-config --cflags)" >> Makefile.global
@echo "LDFLAGS=-lz $(shell sdl-config --libs)" >> Makefile.global
@echo "CC=gcc" >> Makefile.global
@echo "CPP=gcc -E" >> Makefile.global
--- NEW FILE xrick.spec ---
%define tarversion 021212
Summary: A clone of the game Rick Dangerous
Name: xrick
Version: 0.0
Release: 0.7.%{tarversion}%{?dist}
License: Distributable
Group: Amusements/Games
URL: http://www.bigorno.net/xrick/
Source0: http://www.bigorno.net/xrick/%{name}-%{tarversion}.tgz
Patch1: xrick-rpmoptflags-makefile.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: SDL-devel zlib-devel desktop-file-utils ImageMagick
Requires: hicolor-icon-theme
#---------------------------------------------------------------------
%description
xrick is a clone of Rick Dangerous. Written entirely in C, it relies
on the Simple DirectMedia Layer library and has been ported to Linux
(its primary target). Way before Lara Croft, back in the 1980's and
early 1990's, Rick Dangerous was the Indiana Jones of computer games,
running away from rolling rocks and avoiding traps in places from
South America to a futuristic missile base via Egypt and the
Schwarzendumpf castle.
#---------------------------------------------------------------------
%prep
%setup -q -n %{name}-%{tarversion}
%patch1 -p1
sed -i 's:data.zip:%{_datadir}/%{name}/data.zip:g' src/xrick.c
# make xrick manpage UTF8
gunzip xrick.6.gz
iconv -f ISO-8859-1 -t UTF8 xrick.6 > xrick.6.tmp
mv xrick.6.tmp xrick.6
#---------------------------------------------------------------------
%build
make %{?_smp_mflags}
convert src/xrickST.ico xrickST.png
#---------------------------------------------------------------------
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name}
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man6
install -m 0755 xrick $RPM_BUILD_ROOT/%{_bindir}
install -m 0644 data.zip $RPM_BUILD_ROOT/%{_datadir}/%{name}
install -m 0644 xrick.6 $RPM_BUILD_ROOT/%{_mandir}/man6
cat > %{name}.desktop << EOF
[Desktop Entry]
Encoding=UTF-8
Name=X Rick
Comment=A "Rick Dangerous" Clone.
Exec=%{name} -fullscreen
Icon=xrickST.png
Terminal=false
Type=Application
Categories=Game;ActionGame;
EOF
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
desktop-file-install --vendor rpmfusion \
--dir $RPM_BUILD_ROOT/%{_datadir}/applications \
%{name}.desktop
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
install -p -m 644 xrickST.png \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
#---------------------------------------------------------------------
%clean
rm -rf $RPM_BUILD_ROOT
#---------------------------------------------------------------------
%post
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
#---------------------------------------------------------------------
%files
%defattr(-,root,root,-)
%doc README
%{_bindir}/%{name}
%{_datadir}/applications/*%{name}.desktop
%{_datadir}/%{name}
%{_mandir}/man6/%{name}.6*
%{_datadir}/icons/hicolor/32x32/apps/xrickST.png
#---------------------------------------------------------------------
%changelog
* Mon Aug 04 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.0-0.7.021212
- rebuild
* Fri Sep 28 2007 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.0-0.6.021212
- install data files under /usr/share/xrick instead of /usr/share/games/xrick
- install icon into the fdo /usr/share/icons dir instead of /usr/share/pixmap
- make the manpage UTF-8
- start fullscreen
* Sat Mar 25 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
0.0-0.5.021212
- fix release
- remove epoch
* Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- add dist
* Tue Aug 5 2003 Dams <anvil[AT]livna.org> 0:0.0-0.fdr.4.021212
- using convert at build time to do ico->png conversion
* Thu Jul 17 2003 Dams <anvil[AT]livna.org> 0:0.0-0.fdr.3.021212
- Added icon for menu
* Wed Jun 18 2003 Dams <anvil[AT]livna.org> 0:0.0-0.fdr.2.0212120
- Desktop entry : oops !! Sorry.
* Tue Jun 17 2003 Dams <anvil[AT]livna.org> 0:0.0-0.fdr.1.0212120
- Modified Summary
- Package now own datadir/games/xrick directory
* Mon May 19 2003 Dams <anvil[AT]livna.org> 0:021212-0.fdr.4
- Added a desktop entry. BuildRequires desktop-file-utils.
- Modified the patch to keep ansi/pedantic and other gcc warning flags
* Tue May 13 2003 Dams <anvil[AT]livna.org> 0:021212-0.fdr.3
- Patch to accept RPM_OPT_FLAGS from Michael Schwendt
* Tue May 13 2003 Dams <anvil[AT]livna.org> 0:021212-0.fdr.2
- buildroot -> RPM_BUILD_ROOT
- Modified Source0
* Wed Apr 23 2003 Dams <anvil[AT]livna.org>
- Initial build.
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/xrick/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:41:29 -0000 1.1
+++ .cvsignore 5 Aug 2008 17:04:08 -0000 1.2
@@ -0,0 +1 @@
+xrick-021212.tgz
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/xrick/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:41:29 -0000 1.1
+++ sources 5 Aug 2008 17:04:08 -0000 1.2
@@ -0,0 +1 @@
+615190051481266710cb43ecd1fe930c xrick-021212.tgz
16 years, 3 months
rpms/xrick/F-8 xrick-rpmoptflags-makefile.patch, NONE, 1.1 xrick.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/nonfree/rpms/xrick/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv29016
Modified Files:
.cvsignore sources
Added Files:
xrick-rpmoptflags-makefile.patch xrick.spec
Log Message:
initial import from livna
xrick-rpmoptflags-makefile.patch:
--- NEW FILE xrick-rpmoptflags-makefile.patch ---
diff -Naur xrick-021212-orig/Makefile xrick-021212/Makefile
--- xrick-021212-orig/Makefile 2002-12-24 17:58:26.000000000 +0100
+++ xrick-021212/Makefile 2003-05-13 17:53:14.000000000 +0200
@@ -71,7 +71,7 @@
all:
@echo "ROOTDIR=$(ROOTDIR)" > Makefile.global
@echo "XOBJ=$(XOBJ)" >> Makefile.global
- @echo "CFLAGS=-g -ansi -pedantic -Wall -W -O2 -I $(ROOTDIR)/include $(shell sdl-config --cflags)" >> Makefile.global
+ @echo "CFLAGS=$(RPM_OPT_FLAGS) -ansi -pedantic -Wall -W -I $(ROOTDIR)/include $(shell sdl-config --cflags)" >> Makefile.global
@echo "LDFLAGS=-lz $(shell sdl-config --libs)" >> Makefile.global
@echo "CC=gcc" >> Makefile.global
@echo "CPP=gcc -E" >> Makefile.global
--- NEW FILE xrick.spec ---
%define tarversion 021212
Summary: A clone of the game Rick Dangerous
Name: xrick
Version: 0.0
Release: 0.7.%{tarversion}%{?dist}
License: Distributable
Group: Amusements/Games
URL: http://www.bigorno.net/xrick/
Source0: http://www.bigorno.net/xrick/%{name}-%{tarversion}.tgz
Patch1: xrick-rpmoptflags-makefile.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: SDL-devel zlib-devel desktop-file-utils ImageMagick
Requires: hicolor-icon-theme
#---------------------------------------------------------------------
%description
xrick is a clone of Rick Dangerous. Written entirely in C, it relies
on the Simple DirectMedia Layer library and has been ported to Linux
(its primary target). Way before Lara Croft, back in the 1980's and
early 1990's, Rick Dangerous was the Indiana Jones of computer games,
running away from rolling rocks and avoiding traps in places from
South America to a futuristic missile base via Egypt and the
Schwarzendumpf castle.
#---------------------------------------------------------------------
%prep
%setup -q -n %{name}-%{tarversion}
%patch1 -p1
sed -i 's:data.zip:%{_datadir}/%{name}/data.zip:g' src/xrick.c
# make xrick manpage UTF8
gunzip xrick.6.gz
iconv -f ISO-8859-1 -t UTF8 xrick.6 > xrick.6.tmp
mv xrick.6.tmp xrick.6
#---------------------------------------------------------------------
%build
make %{?_smp_mflags}
convert src/xrickST.ico xrickST.png
#---------------------------------------------------------------------
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name}
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man6
install -m 0755 xrick $RPM_BUILD_ROOT/%{_bindir}
install -m 0644 data.zip $RPM_BUILD_ROOT/%{_datadir}/%{name}
install -m 0644 xrick.6 $RPM_BUILD_ROOT/%{_mandir}/man6
cat > %{name}.desktop << EOF
[Desktop Entry]
Encoding=UTF-8
Name=X Rick
Comment=A "Rick Dangerous" Clone.
Exec=%{name} -fullscreen
Icon=xrickST.png
Terminal=false
Type=Application
Categories=Game;ActionGame;
EOF
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
desktop-file-install --vendor rpmfusion \
--dir $RPM_BUILD_ROOT/%{_datadir}/applications \
%{name}.desktop
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
install -p -m 644 xrickST.png \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
#---------------------------------------------------------------------
%clean
rm -rf $RPM_BUILD_ROOT
#---------------------------------------------------------------------
%post
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
#---------------------------------------------------------------------
%files
%defattr(-,root,root,-)
%doc README
%{_bindir}/%{name}
%{_datadir}/applications/*%{name}.desktop
%{_datadir}/%{name}
%{_mandir}/man6/%{name}.6*
%{_datadir}/icons/hicolor/32x32/apps/xrickST.png
#---------------------------------------------------------------------
%changelog
* Mon Aug 04 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.0-0.7.021212
- rebuild
* Fri Sep 28 2007 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.0-0.6.021212
- install data files under /usr/share/xrick instead of /usr/share/games/xrick
- install icon into the fdo /usr/share/icons dir instead of /usr/share/pixmap
- make the manpage UTF-8
- start fullscreen
* Sat Mar 25 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
0.0-0.5.021212
- fix release
- remove epoch
* Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- add dist
* Tue Aug 5 2003 Dams <anvil[AT]livna.org> 0:0.0-0.fdr.4.021212
- using convert at build time to do ico->png conversion
* Thu Jul 17 2003 Dams <anvil[AT]livna.org> 0:0.0-0.fdr.3.021212
- Added icon for menu
* Wed Jun 18 2003 Dams <anvil[AT]livna.org> 0:0.0-0.fdr.2.0212120
- Desktop entry : oops !! Sorry.
* Tue Jun 17 2003 Dams <anvil[AT]livna.org> 0:0.0-0.fdr.1.0212120
- Modified Summary
- Package now own datadir/games/xrick directory
* Mon May 19 2003 Dams <anvil[AT]livna.org> 0:021212-0.fdr.4
- Added a desktop entry. BuildRequires desktop-file-utils.
- Modified the patch to keep ansi/pedantic and other gcc warning flags
* Tue May 13 2003 Dams <anvil[AT]livna.org> 0:021212-0.fdr.3
- Patch to accept RPM_OPT_FLAGS from Michael Schwendt
* Tue May 13 2003 Dams <anvil[AT]livna.org> 0:021212-0.fdr.2
- buildroot -> RPM_BUILD_ROOT
- Modified Source0
* Wed Apr 23 2003 Dams <anvil[AT]livna.org>
- Initial build.
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/xrick/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:41:29 -0000 1.1
+++ .cvsignore 5 Aug 2008 17:03:32 -0000 1.2
@@ -0,0 +1 @@
+xrick-021212.tgz
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/xrick/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:41:29 -0000 1.1
+++ sources 5 Aug 2008 17:03:32 -0000 1.2
@@ -0,0 +1 @@
+615190051481266710cb43ecd1fe930c xrick-021212.tgz
16 years, 3 months