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

Revision 10955, 4.6 KB checked in by tomop, 7 years ago (diff)

commitを間違ったのでrevert

Line 
1Summary: SDL MPEG Library
2Summary(ja): SDL MPEG ライブラリ
3Name: smpeg
4Version: 0.4.4
5Release: 2%{?_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%exclude %{_libdir}/*.la
110%{_libdir}/lib*.so
111%{_datadir}/aclocal/*.m4
112
113%changelog
114* Thu Feb  9 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.4.4-2
115- rebuild
116
117* Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 0.4.4-1vl5
118- applied new versioning policy, spec in utf-8
119
120* Sat Oct 27 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.4-0vl8
121- added Patch4-7 from DAG package
122  (http://dag.wieers.com/rpm/packages/smpeg/)
123- rebuild with new toolchains
124
125* Mon Oct 11 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 0.4.4-0vl7
126- rebuild without alsa
127
128* Sun May 09 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 0.4.4-0vl6
129- rebuild
130
131* Tue Dec  2 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.4-0vl5
132- rebuild with new toolchains
133- use legacy autoconf-2.13 and automake-1.4
134- s/Copyright/License/
135- Patch2 and 3 from http://dag.wieers.com/packages/smpeg/
136
137* Tue Mar 26 2002 Shoji Matsumoto <shom@vinelinux.org> 0.4.4-0vl4
138- add patch1 (gtv no audio patch)
139
140* Tue Aug 28 2001 Jun Nishii <jun@vinelinux.org> 0.4.4-0vl1
141- ver.up
142
143* Fri Aug 17 2001 Shoji Matsumoto <shom@vinelinux.org>
144- 0.4.2-0vl3
145- rebuild on Seed (SDL-1.2)
146
147* Wed Feb 21 2001 Jun Nishii <jun@vinelinux.org>
148- 0.4.2-0vl2
149- rebuild on Seed
150
151* Wed Dec 20 2000 Jun Nishii <jun@vinelinux.org>
152- 0.4.2-0vl1
153
154* Tue Oct 2 2000 Than Ngo <than@redhat.com>
155- update to 0.4.1
156- clean up specfile
157
158* Mon Aug 07 2000 Than Ngo <than@redhat.de>
159- add swedish translation (Bug #15336)
160
161* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
162- automatic rebuild
163
164* Fri Jun 16 2000 Preston Brown <pbrown@redhat.com>
165- better .desktop entry
166
167* Thu Jun 15 2000 Preston Brown <pbrown@redhat.com>
168- fix up for Winston, use FHS paths
169
170* Fri Mar  3 2000 Sam Lantinga <hercules@lokigames.com>
171- Split package into development and runtime packages
Note: See TracBrowser for help on using the repository browser.