source: projects/specs/trunk/s/smpeg/smpeg-vl.spec @ 521

Revision 521, 4.5 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary: SDL MPEG Library
2Summary(ja): SDL MPEG ライブラリ
3Name: smpeg
4Version: 0.4.4
5Release: 1%{?_dist_release}
6License: LGPL
7Group: System Environment/Libraries
8Source0: %{name}-%{version}.tar.gz
9Patch0: smpeg-0.4.0-broken.patch
10Patch1: smpeg-0.4.4-gtvaudio.patch
11Patch2: smpeg-0.4.4-gcc32.patch
12Patch3: smpeg-0.4.4-fixes.patch
13Patch4: smpeg-0.4.4-PIC.patch
14Patch5: smpeg-0.4.4-gnu-stack.patch
15Patch6: smpeg-0.4.4-m4.patch
16Patch7: smpeg-0.4.4-gcc41.patch
17URL: http://www.lokigames.com/development/smpeg.php3
18
19BuildRequires: SDL-devel gtk+-devel
20BuildRequires: automake14 automake
21BuildRoot: %{_tmppath}/%{name}-%{version}-root
22
23Vendor: Project Vine
24Distribution: Vine Linux
25
26%description
27SMPEG is based on UC Berkeley's mpeg_play software MPEG decoder
28and SPLAY, an mpeg audio decoder created by Woo-jae Jung. We have
29completed the initial work to wed these two projects in order to
30create a general purpose MPEG video/audio player for the Linux OS.
31
32%description -l ja
33SMPEG は UC Berkeley の MPEGデコーダ mpeg_play と,Woo-jae Jungによる
34MPEGオーディオデコーダ splay を元に開発されています.Linux OS 用の
35汎用 MPEG video/audio プレーヤをつくるため,両者の統合を完了したところです.
36
37%package devel
38Summary: Libraries, includes and more to develop SMPEG applications.
39Summary(ja): SMPEG アプリケーションを開発するためのライブラリやへッダファイル
40Group: Development/Libraries
41Requires: %{name}
42
43%description devel
44SMPEG is based on UC Berkeley's mpeg_play software MPEG decoder
45and SPLAY, an mpeg audio decoder created by Woo-jae Jung. We have
46completed the initial work to wed these two projects in order to
47create a general purpose MPEG video/audio player for the Linux OS.
48
49This is the libraries, include files and other resources you can use
50to develop SMPEG applications.
51
52%prep
53%setup -q
54%patch0 -p1 -b .broken
55%patch1 -p1
56%patch2 -p0 -b .gcc32
57%patch3 -p0 -b .fixes
58%patch4 -p0 -b .PIC
59%patch5 -p1 -b .gnu-stack
60%patch6 -p1 -b .m4
61%patch7 -p1 -b .gcc41
62
63%build
64# for automake...
65touch NEWS AUTHORS ChangeLog
66
67automake -a || automake-1.4 -a
68autoconf -f
69%configure --disable-debug --disable-opengl-player
70make
71
72%install
73rm -rf $RPM_BUILD_ROOT
74%makeinstall
75
76mkdir -p %{buildroot}/etc/X11/applnk/Multimedia
77cat > %{buildroot}/etc/X11/applnk/Multimedia/gtv.desktop <<EOF
78[Desktop Entry]
79Name=GTV MPEG Player
80Name[ja]=GTV MPEG プレーヤ
81Type=Application
82Comment=Simple player for MPEG Movies
83Comment[ja]=MPEG ムービー プレーヤ
84Exec=gtv
85MimeType=video/mpeg
86EOF
87
88%clean
89rm -rf $RPM_BUILD_ROOT
90
91%post -p /sbin/ldconfig
92
93%postun -p /sbin/ldconfig
94
95%files
96%defattr(-, root, root)
97%doc CHANGES COPYING README
98%config(missingok) /etc/X11/applnk/Multimedia/gtv.desktop
99%{_libdir}/lib*.so.*
100%{_bindir}/plaympeg
101%{_bindir}/gtv
102%{_mandir}/*
103
104%files devel
105%defattr(-, root, root)
106%{_bindir}/smpeg-config
107%{_includedir}/*
108%{_libdir}/lib*.a
109%{_libdir}/lib*.so
110%{_datadir}/aclocal/*.m4
111
112%changelog
113* Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 0.4.4-1vl5
114- applied new versioning policy, spec in utf-8
115
116* Sat Oct 27 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.4-0vl8
117- added Patch4-7 from DAG package
118  (http://dag.wieers.com/rpm/packages/smpeg/)
119- rebuild with new toolchains
120
121* Mon Oct 11 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 0.4.4-0vl7
122- rebuild without alsa
123
124* Sun May 09 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 0.4.4-0vl6
125- rebuild
126
127* Tue Dec  2 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.4-0vl5
128- rebuild with new toolchains
129- use legacy autoconf-2.13 and automake-1.4
130- s/Copyright/License/
131- Patch2 and 3 from http://dag.wieers.com/packages/smpeg/
132
133* Tue Mar 26 2002 Shoji Matsumoto <shom@vinelinux.org> 0.4.4-0vl4
134- add patch1 (gtv no audio patch)
135
136* Tue Aug 28 2001 Jun Nishii <jun@vinelinux.org> 0.4.4-0vl1
137- ver.up
138
139* Fri Aug 17 2001 Shoji Matsumoto <shom@vinelinux.org>
140- 0.4.2-0vl3
141- rebuild on Seed (SDL-1.2)
142
143* Wed Feb 21 2001 Jun Nishii <jun@vinelinux.org>
144- 0.4.2-0vl2
145- rebuild on Seed
146
147* Wed Dec 20 2000 Jun Nishii <jun@vinelinux.org>
148- 0.4.2-0vl1
149
150* Tue Oct 2 2000 Than Ngo <than@redhat.com>
151- update to 0.4.1
152- clean up specfile
153
154* Mon Aug 07 2000 Than Ngo <than@redhat.de>
155- add swedish translation (Bug #15336)
156
157* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
158- automatic rebuild
159
160* Fri Jun 16 2000 Preston Brown <pbrown@redhat.com>
161- better .desktop entry
162
163* Thu Jun 15 2000 Preston Brown <pbrown@redhat.com>
164- fix up for Winston, use FHS paths
165
166* Fri Mar  3 2000 Sam Lantinga <hercules@lokigames.com>
167- Split package into development and runtime packages
Note: See TracBrowser for help on using the repository browser.