[2041] | 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 |
---|
[521] | 5 | |
---|
[2041] | 6 | Summary: Flash animation rendering library |
---|
| 7 | Summary(ja): Flash アニメーションレンダリングライブラリ |
---|
[521] | 8 | |
---|
[2041] | 9 | Name: swfdec |
---|
| 10 | Version: %{major_version}.2 |
---|
[9087] | 11 | Release: 4%{?_dist_release} |
---|
[912] | 12 | |
---|
[2041] | 13 | Group: System Environment/Libraries |
---|
| 14 | License: LGPLv2+ |
---|
| 15 | URL: http://swfdec.freedesktop.org/ |
---|
| 16 | Source0: http://swfdec.freedesktop.org/download/%{name}/%{major_version}/%{name}-%{version}.tar.gz |
---|
[521] | 17 | |
---|
[9087] | 18 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
[2041] | 19 | BuildRequires: alsa-lib-devel |
---|
| 20 | BuildRequires: glib2-devel >= 2.16 |
---|
| 21 | BuildRequires: gstreamer-devel >= 0.10.11 |
---|
| 22 | BuildRequires: gstreamer-plugins-base-devel >= 0.10.15 |
---|
| 23 | BuildRequires: gtk2-devel >= %{gtk2_version} |
---|
| 24 | BuildRequires: liboil-devel >= %{liboil_version} |
---|
| 25 | BuildRequires: libsoup-devel >= 2.4.0 |
---|
| 26 | BuildRequires: pango-devel >= %{pango_version} |
---|
[521] | 27 | |
---|
[2041] | 28 | Requires(pre): /sbin/ldconfig |
---|
| 29 | Requires(post): /sbin/ldconfig |
---|
[521] | 30 | |
---|
| 31 | %description |
---|
[2041] | 32 | swfdec is a library for rendering Adobe Flash animations. Currently it handles |
---|
| 33 | most Flash 3, 4 and many Flash 7 videos. |
---|
[521] | 34 | |
---|
| 35 | |
---|
[2041] | 36 | %package devel |
---|
| 37 | Summary: Development files for %{name} |
---|
| 38 | Summary(ja): %{name} の開発ファイル |
---|
| 39 | Group: Development/Libraries |
---|
| 40 | Requires: %{name} = %{version}-%{release} |
---|
| 41 | Requires: liboil-devel |
---|
| 42 | Requires: pango-devel |
---|
| 43 | Requires: pkgconfig |
---|
| 44 | |
---|
| 45 | %description devel |
---|
| 46 | %{name}-devel contains the files needed to build packages that depend on |
---|
| 47 | swfdec. |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | %package gtk |
---|
| 51 | Summary: A library for easy embedding of Flash files in an application |
---|
[9087] | 52 | Summary(ja): Flash ファイルをアプリケーションに容易に埋め込むためのライブラリ |
---|
| 53 | Group: System Environment/Libraries |
---|
[2041] | 54 | Requires: %{name} = %{version}-%{release} |
---|
| 55 | Requires(pre): /sbin/ldconfig |
---|
| 56 | Requires(post): /sbin/ldconfig |
---|
| 57 | |
---|
| 58 | %description gtk |
---|
| 59 | %{name}-gtk is a library for developers that allows one to easily embed |
---|
| 60 | Flash videos and animations into their appplications. |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | %package gtk-devel |
---|
| 64 | Summary: Development files for swfdec-gtk |
---|
| 65 | Summary(ja): swfdec-gtk の開発ファイル |
---|
| 66 | Group: Development/Libraries |
---|
| 67 | Requires: %{name}-gtk = %{version}-%{release} |
---|
| 68 | Requires: %{name}-devel = %{version}-%{release} |
---|
| 69 | Requires: gtk2-devel |
---|
| 70 | |
---|
| 71 | %description gtk-devel |
---|
| 72 | %{name}-gtk is a library for developers that allows one to easily embed |
---|
| 73 | Flash videos and animations into their appplications. This package contains |
---|
| 74 | files necessary to build packages and appplications that use %{name}-gtk. |
---|
| 75 | |
---|
| 76 | |
---|
[521] | 77 | %prep |
---|
| 78 | %setup -q |
---|
[2041] | 79 | |
---|
[521] | 80 | %build |
---|
[2041] | 81 | %configure --disable-static --with-audio=alsa |
---|
| 82 | |
---|
| 83 | # remove rpath from libtool |
---|
| 84 | sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
---|
| 85 | sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
---|
| 86 | |
---|
[521] | 87 | make %{?_smp_mflags} |
---|
| 88 | |
---|
| 89 | |
---|
| 90 | %install |
---|
| 91 | rm -rf $RPM_BUILD_ROOT |
---|
| 92 | make DESTDIR=$RPM_BUILD_ROOT install INSTALL='install -p' |
---|
[2041] | 93 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
[521] | 94 | |
---|
| 95 | |
---|
[2041] | 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 |
---|
[521] | 103 | |
---|
[2041] | 104 | |
---|
[521] | 105 | %clean |
---|
| 106 | rm -rf $RPM_BUILD_ROOT |
---|
| 107 | |
---|
| 108 | |
---|
[2041] | 109 | %post -p /sbin/ldconfig |
---|
[521] | 110 | |
---|
[9087] | 111 | %postun -p /sbin/ldconfig |
---|
[521] | 112 | |
---|
[2041] | 113 | %post gtk -p /sbin/ldconfig |
---|
[521] | 114 | |
---|
[2041] | 115 | %postun gtk -p /sbin/ldconfig |
---|
[521] | 116 | |
---|
| 117 | |
---|
[2041] | 118 | %files |
---|
[521] | 119 | %defattr(-,root,root,-) |
---|
[2041] | 120 | %doc AUTHORS COPYING NEWS README |
---|
| 121 | %{_libdir}/libswfdec-%{major_version}.so.* |
---|
[521] | 122 | |
---|
[2041] | 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/ |
---|
[9087] | 129 | %{_datadir}/gtk-doc/html/%{name}/ |
---|
[2041] | 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 | |
---|
[521] | 144 | %changelog |
---|
[9087] | 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 | |
---|
[8119] | 148 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.2-3 |
---|
| 149 | - rebuild with VineSeed environment |
---|
| 150 | |
---|
[2041] | 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 |
---|
[521] | 155 | - new upstream release |
---|
| 156 | |
---|
[2041] | 157 | * Wed Dec 31 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.4-1 |
---|
[521] | 158 | - new upstream release |
---|
| 159 | |
---|
[2041] | 160 | * Sat Sep 27 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.0-1 |
---|
[521] | 161 | - initial build for Vine Linux |
---|
| 162 | |
---|
[2041] | 163 | * Mon Sep 8 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.8.0-1 |
---|
| 164 | - Update to 0.8.0. |
---|
[521] | 165 | |
---|
[2041] | 166 | * Wed Jul 30 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.4-1 |
---|
| 167 | - Update to 0.7.4. |
---|
[521] | 168 | |
---|
[2041] | 169 | * Wed Jun 25 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.2-1 |
---|
| 170 | - Update to 0.7.2 |
---|
[521] | 171 | |
---|
[2041] | 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. |
---|
[521] | 176 | |
---|
[2041] | 177 | * Thu Apr 10 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.6.4-3 |
---|
| 178 | - Add patch to fix memory overwrite error. (#441614) |
---|
[521] | 179 | |
---|
[2041] | 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. |
---|
[521] | 185 | |
---|
[2041] | 186 | * Wed Apr 9 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.6.4-1 |
---|
| 187 | - Update to 0.6.4. |
---|
[521] | 188 | |
---|
[2041] | 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 |
---|
[521] | 201 | - Rebuild for gcc-4.3. |
---|
| 202 | |
---|
[2041] | 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. |
---|
[521] | 206 | |
---|
| 207 | * Wed Dec 19 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.5-2 |
---|
[2041] | 208 | - Build w/ pulse audio support. |
---|
[521] | 209 | |
---|
| 210 | * Mon Dec 17 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.5-1 |
---|
| 211 | - Update to 0.5.5. |
---|
| 212 | |
---|
[2041] | 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. |
---|
[521] | 216 | |
---|
| 217 | * Thu Nov 15 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.4-1 |
---|
[2041] | 218 | - Update to 0.5.4. |
---|
| 219 | - Use valid license tag. |
---|
| 220 | - Remove BR on ffmpeg & libmad, and only build gstreamer backend. |
---|
[521] | 221 | |
---|
[2041] | 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 |
---|