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