source: projects/specs/trunk/s/swfdec/swfdec-vl.spec @ 9087

Revision 9087, 8.8 KB checked in by inagaki, 9 years ago (diff)

2014-11-14 Ryoichi INAGAKI <ryo1@…>

  • eet, gmtk, libeina: updated
  • libgpod, swfdec: changed Group


Line 
1%define major_version   0.9
2%define liboil_version  0.3.1
3%define gtk2_version    2.16.0
4%define pango_version   1.24
5
6Summary:        Flash animation rendering library
7Summary(ja):    Flash アニメーションレンダリングライブラリ
8
9Name:           swfdec
10Version:        %{major_version}.2
11Release:        4%{?_dist_release}
12
13Group:          System Environment/Libraries
14License:        LGPLv2+
15URL:            http://swfdec.freedesktop.org/
16Source0:        http://swfdec.freedesktop.org/download/%{name}/%{major_version}/%{name}-%{version}.tar.gz
17
18BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
19BuildRequires:  alsa-lib-devel
20BuildRequires:  glib2-devel >= 2.16
21BuildRequires:  gstreamer-devel >= 0.10.11
22BuildRequires:  gstreamer-plugins-base-devel >= 0.10.15
23BuildRequires:  gtk2-devel >= %{gtk2_version}
24BuildRequires:  liboil-devel >= %{liboil_version}
25BuildRequires:  libsoup-devel >= 2.4.0
26BuildRequires:  pango-devel >= %{pango_version}
27
28Requires(pre):  /sbin/ldconfig
29Requires(post): /sbin/ldconfig
30
31%description
32swfdec is a library for rendering Adobe Flash animations. Currently it handles
33most Flash 3, 4 and many Flash 7 videos.
34
35
36%package        devel
37Summary:        Development files for %{name}
38Summary(ja):    %{name} の開発ファイル
39Group:          Development/Libraries
40Requires:       %{name} = %{version}-%{release}
41Requires:       liboil-devel
42Requires:       pango-devel
43Requires:       pkgconfig
44
45%description    devel
46%{name}-devel contains the files needed to build packages that depend on
47swfdec.
48
49
50%package        gtk
51Summary:        A library for easy embedding of Flash files in an application
52Summary(ja):    Flash ファイルをアプリケーションに容易に埋め込むためのライブラリ
53Group:          System Environment/Libraries
54Requires:       %{name} = %{version}-%{release}
55Requires(pre):  /sbin/ldconfig
56Requires(post): /sbin/ldconfig
57
58%description    gtk
59%{name}-gtk is a library for developers that allows one to easily embed
60Flash videos and animations into their appplications.
61
62
63%package        gtk-devel
64Summary:        Development files for swfdec-gtk
65Summary(ja):    swfdec-gtk の開発ファイル
66Group:          Development/Libraries
67Requires:       %{name}-gtk = %{version}-%{release}
68Requires:       %{name}-devel = %{version}-%{release}
69Requires:       gtk2-devel
70
71%description    gtk-devel
72%{name}-gtk is a library for developers that allows one to easily embed
73Flash videos and animations into their appplications. This package contains
74files necessary to build packages and appplications that use %{name}-gtk.
75
76
77%prep
78%setup -q
79               
80%build
81%configure --disable-static --with-audio=alsa
82
83# remove rpath from libtool
84sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
85sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
86
87make %{?_smp_mflags}
88
89
90%install
91rm -rf $RPM_BUILD_ROOT
92make DESTDIR=$RPM_BUILD_ROOT install INSTALL='install -p'
93find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
94
95
96%check
97# Disabling test since it will fail due to the gstreamer mp3 plugin
98# not being available in Fedora.
99#
100#export LD_LIBRARY_PATH=`pwd`/libswfdec/.libs:`pwd`/libswfdec-gtk/.libs
101#make check
102#unset LD_LIBRARY_PATH
103
104
105%clean
106rm -rf $RPM_BUILD_ROOT
107
108
109%post -p /sbin/ldconfig
110
111%postun -p /sbin/ldconfig
112
113%post gtk -p /sbin/ldconfig
114
115%postun gtk -p /sbin/ldconfig
116
117
118%files
119%defattr(-,root,root,-)
120%doc AUTHORS COPYING NEWS README
121%{_libdir}/libswfdec-%{major_version}.so.*
122
123%files  devel
124%defattr(-,root,root,-)
125%{_libdir}/pkgconfig/%{name}-%{major_version}.pc
126%{_libdir}/libswfdec-%{major_version}.so
127%dir %{_includedir}/%{name}-%{major_version}
128%{_includedir}/%{name}-%{major_version}/swfdec/
129%{_datadir}/gtk-doc/html/%{name}/
130
131%files  gtk
132%defattr(-,root,root,-)
133#%{_datadir}/icons/hicolor/*/apps/%{name}.png
134#%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
135%{_libdir}/libswfdec-gtk-%{major_version}.so.*
136
137%files  gtk-devel
138%defattr(-,root,root,-)
139%{_libdir}/libswfdec-gtk-%{major_version}.so
140%{_libdir}/pkgconfig/%{name}-gtk-%{major_version}.pc
141%{_includedir}/%{name}-%{major_version}/swfdec-gtk/
142
143
144%changelog
145* Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.2-4
146- moved gtk subpackage to System Environment/Libraries
147
148* Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.2-3
149- rebuild with VineSeed environment
150
151* Tue Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.2-2
152- rebuild with rpm-4.8.1
153
154* Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.2-1
155- new upstream release
156
157* Wed Dec 31 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.4-1
158- new upstream release
159
160* Sat Sep 27 2008 Daisuke SUZUKI <daisuke@linux.or.jp>  0.8.0-1
161- initial build for Vine Linux
162
163* Mon Sep  8 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.8.0-1
164- Update to 0.8.0.
165
166* Wed Jul 30 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.4-1
167- Update to 0.7.4.
168
169* Wed Jun 25 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.2-1
170- Update to 0.7.2
171
172* Wed Apr 23 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.6.6-1
173- Update to 0.6.6.
174- Drop memory-overwrite patch.  Fixed upstream.
175- Drop alsa patch. Fixed upstream.
176
177* Thu Apr 10 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.6.4-3
178- Add patch to fix memory overwrite error. (#441614)
179
180* Thu Apr 10 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.6.4-2
181- Build w/ alsa backend instead of pulse audio.
182- Add patch to fix alsa support. (#441617).
183- Drop unnecessary BR on js-devel and gnome-vfs2-devel.
184- Add BR on glib2-devel.
185
186* Wed Apr  9 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.6.4-1
187- Update to 0.6.4.
188
189* Sat Mar 29 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.6.2-1
190- Update to 0.6.2.
191
192* Wed Feb 20 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.6.0-1
193- Update to 0.6.0.
194- Bump minimum version of gstreamer needed.
195- Add BR for gstreamer-plugins-base-devel.
196
197* Thu Feb 14 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.5.90-3
198- Rebuild for new libsoup.
199
200* Fri Feb  8 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.5.90-2
201- Rebuild for gcc-4.3.
202
203* Tue Jan 29 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.5.90-1
204- Update to 0.5.90.
205- Bump BR minimum versions for libsoup & pango.
206
207* Wed Dec 19 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.5-2
208- Build w/ pulse audio support.
209
210* Mon Dec 17 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.5-1
211- Update to 0.5.5.
212
213* Fri Nov 16 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.4-2
214- Add requires for pango-devel to devel pkg.
215- Keep timestamp on installed files.
216
217* Thu Nov 15 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.4-1
218- Update to 0.5.4.
219- Use valid license tag.
220- Remove BR on ffmpeg & libmad, and only build gstreamer backend.
221
222* Fri Oct 12 2007  Peter Gordon <peter@thecodergeek.com> - 0.5.3-1
223- Update to new upstream release (0.5.3)
224
225* Wed Oct 10 2007  Peter Gordon <peter@thecodergeek.com> - 0.5.2-1
226- Update to new upstream release (0.5.2)
227
228* Wed Aug 15 2007  Peter Gordon <peter@thecodergeek.com> - 0.5.1-1
229- Update to new upstream release (0.5.1)
230
231* Thu Jul  5 2007 kwizart <kwizart at gmail.com> - 0.4.5-1
232- Update to 0.4.5 (bugfix)
233- Add BR ffmpeg-devel libmad-devel (enabled in configure)
234- Remove rpath (libtool method)
235
236* Sat Apr 28 2007 Peter Gordon <peter@thecodergeek.com> - 0.4.4-1
237- Update to new upstream release (0.4.4), which adds two new subpackages:
238  swfdec-gtk and swfdec-gtk-devel.
239
240* Sun Mar 25 2007 Peter Gordon <peter@thecodergeek.com> - 0.4.3-2
241- Add js-devel to the BuildRequires to fix compilation in Mock.
242  (Thanks to  Julian Sikorski; Livna bug #1453)
243
244* Sat Mar 24 2007 Peter Gordon <peter@thecodergeek.com> - 0.4.3-1
245- Update to new upstream release (0.4.3), with lots of spec cleanups
246- Spec file based heavily on Thomas Vander Stichele's 0.3.6 stuff.
247
248* Sun Dec 03 2006 Thomas Vander Stichele <thomas at apestaart dot org>
249- 0.3.6-0.gst.2
250- fix pre/post scripts
251
252* Sun Dec 03 2006 Thomas Vander Stichele <thomas at apestaart dot org>
253- 0.3.6-0.gst.1
254- new upstream
255- remove swf_play
256- add js-devel and gimp-devel buildrequires
257- add gimp plugin
258
259* Fri Jun 24 2005 Thomas Vander Stichele <thomas at apestaart dot org>
260- 0.3.5-0.gst.1
261- updated to new upstream
262
263* Tue May 17 2005 Thomas Vander Stichele <thomas at apestaart dot org>
264- 0.3.4-0.gst.1
265- updated to new upstream
266
267* Thu Mar 03 2005 Thomas Vander Stichele <thomas at apestaart dot org>
268- 0.3.2-0.lvn.1
269- updated to new liboil and upstream release
270
271* Thu Nov 11 2004 Thomas Vander Stichele <thomas at apestaart dot org>
272- new upstream release
273
274* Thu May 20 2004 Thomas Vander Stichele <thomas at apestaart dot org>
275- 0.2.2-0.lvn.2
276- require gcc-c++ for libtool
277- fix pre/post req
278- fix gtk loaders location
279- work around FC2 packaging bug for SDL-devel
280
281* Tue Mar 02 2004 Thomas Vander Stichele <thomas at apestaart dot org>
282- 0.2.2-0.lvn.1: updated for rpm.livna.us (without mozilla plugin)
283
284* Mon May 19 2003 Thomas Vander Stichele <thomas at apestaart dot org>
285- Updated for 0.2.2
286
287* Wed Feb 05 2003 Christian F.K. Schaller <Uraeus@linuxrising.org>
288- Update spec to handle pixbuf loader
289* Sat Oct 26 2002 Christian F.K. Schaller <Uraeus@linuxrising.org>
290- First attempt at spec
Note: See TracBrowser for help on using the repository browser.