[521] | 1 | Summary: Programs to integrate Flash into the GNOME desktop |
---|
| 2 | Summary(ja): Flash を GNOME デスクトップに統合するためのプログラム |
---|
| 3 | |
---|
| 4 | Name: swfdec-gnome |
---|
[2041] | 5 | Version: 2.30.1 |
---|
[521] | 6 | Release: 1%{?_dist_release} |
---|
| 7 | |
---|
| 8 | Group: Applications/Internet |
---|
| 9 | License: GPLv2+ |
---|
| 10 | URL: http://swfdec.freedesktop.org/ |
---|
[2041] | 11 | Source0: http://swfdec.freedesktop.org/download/%{name}/2.30/%{name}-%{version}.tar.bz2 |
---|
[521] | 12 | Patch1: swfdec-gnome-2.26.0-swfdec-0.9.patch |
---|
| 13 | |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 15 | |
---|
| 16 | BuildRequires: gtk2-devel >= 2.14.0 |
---|
| 17 | BuildRequires: swfdec-gtk-devel >= 0.9.2 |
---|
| 18 | BuildRequires: GConf2 |
---|
| 19 | BuildRequires: desktop-file-utils |
---|
| 20 | BuildRequires: gettext |
---|
| 21 | BuildRequires: perl(XML::Parser) |
---|
| 22 | |
---|
| 23 | Requires(pre): GConf2 |
---|
| 24 | Requires(post): GConf2 |
---|
| 25 | Requires(preun): GConf2 |
---|
| 26 | |
---|
| 27 | %description |
---|
| 28 | This package contains programs to integrate Flash functionality into the GNOME |
---|
| 29 | desktop. It's main application is swfdec-player, a stand-alone viewer for |
---|
| 30 | Flash files. It also contains swfdec-thumbnailer, a program that provides |
---|
| 31 | screenshots for files to display in the Nautilus file manager |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | %prep |
---|
| 35 | %setup -q |
---|
| 36 | %patch1 -p1 |
---|
| 37 | |
---|
| 38 | %build |
---|
| 39 | %configure |
---|
| 40 | make %{?_smp_mflags} |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | %install |
---|
| 44 | rm -rf $RPM_BUILD_ROOT |
---|
| 45 | make DESTDIR=$RPM_BUILD_ROOT install INSTALL='install -p' |
---|
| 46 | %find_lang %{name} |
---|
| 47 | |
---|
| 48 | desktop-file-install --vendor "fedora" --delete-original \ |
---|
| 49 | --dir $RPM_BUILD_ROOT%{_datadir}/applications \ |
---|
| 50 | $RPM_BUILD_ROOT%{_datadir}/applications/swfdec-player.desktop |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | %clean |
---|
| 54 | rm -rf $RPM_BUILD_ROOT |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %pre |
---|
| 58 | if [ "$1" -gt 1 ]; then |
---|
| 59 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 60 | gconftool-2 --makefile-uninstall-rule \ |
---|
| 61 | %{_sysconfdir}/gconf/schemas/swfdec-thumbnailer.schemas >/dev/null || : |
---|
| 62 | fi |
---|
| 63 | |
---|
| 64 | |
---|
| 65 | %post |
---|
| 66 | update-desktop-database &> /dev/null || : |
---|
| 67 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 68 | gconftool-2 --makefile-install-rule \ |
---|
| 69 | %{_sysconfdir}/gconf/schemas/swfdec-thumbnailer.schemas > /dev/null || : |
---|
| 70 | touch --no-create %{_datadir}/icons/hicolor || : |
---|
| 71 | if [ -x %{_bindir}/gtk-update-icon-cache ]; then |
---|
| 72 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
| 73 | fi |
---|
| 74 | |
---|
| 75 | |
---|
| 76 | %postun |
---|
| 77 | update-desktop-database &> /dev/null || : |
---|
| 78 | touch --no-create %{_datadir}/icons/hicolor || : |
---|
| 79 | if [ -x %{_bindir}/gtk-update-icon-cache ]; then |
---|
| 80 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
| 81 | fi |
---|
| 82 | |
---|
| 83 | |
---|
| 84 | %preun |
---|
| 85 | if [ "$1" -eq 0 ]; then |
---|
| 86 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 87 | gconftool-2 --makefile-uninstall-rule \ |
---|
| 88 | %{_sysconfdir}/gconf/schemas/swfdec-thumbnailer.schemas > /dev/null || : |
---|
| 89 | fi |
---|
| 90 | |
---|
| 91 | |
---|
| 92 | %files -f %{name}.lang |
---|
| 93 | %defattr(-,root,root,-) |
---|
| 94 | %doc COPYING AUTHORS NEWS README |
---|
| 95 | %{_bindir}/swfdec-player |
---|
| 96 | %{_bindir}/swfdec-thumbnailer |
---|
| 97 | %{_sysconfdir}/gconf/schemas/swfdec-thumbnailer.schemas |
---|
| 98 | %{_datadir}/applications/fedora-swfdec-player.desktop |
---|
| 99 | %{_datadir}/%{name}/ |
---|
| 100 | %{_mandir}/man1/swfdec*.1.gz |
---|
| 101 | %{_datadir}/icons/hicolor/*/apps/%{name}.png |
---|
| 102 | %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg |
---|
| 103 | |
---|
| 104 | %changelog |
---|
[2041] | 105 | * Tue Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1 |
---|
| 106 | - new upstream release |
---|
| 107 | |
---|
| 108 | * Wed Apr 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
| 109 | - new upstream release |
---|
| 110 | |
---|
[521] | 111 | * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1 |
---|
| 112 | - new upstream release |
---|
| 113 | - add patch1 to build with swfdec-0.9 |
---|
| 114 | |
---|
| 115 | * Sat Sep 27 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1 |
---|
| 116 | - initial build for Vine Linux |
---|
| 117 | |
---|
| 118 | * Mon Sep 8 2008 Brian Pepple <bpepple@fedoraproject.org> - 2.23.4-1 |
---|
| 119 | - Update to 2.23.4. |
---|
| 120 | |
---|
| 121 | * Wed Jul 30 2008 Brian Pepple <bpepple@fedoraproject.org> - 2.23.2-1 |
---|
| 122 | - Update to 2.23.2. |
---|
| 123 | - Drop configure patch. Fixed upstream. |
---|
| 124 | |
---|
| 125 | * Wed Jul 09 2008 Nikolay Vladimirov <nikolay@vladimiroff.com> - 2.22.2-1 |
---|
| 126 | - Update to 2.22.2 |
---|
| 127 | - Add patch to build with swfdec-0.7.* |
---|
| 128 | |
---|
| 129 | * Fri Jun 27 2008 Brian Pepple <bpepple@fedoraproject.org> - 2.22.0-2 |
---|
| 130 | - Rebuild for new swfdec. |
---|
| 131 | |
---|
| 132 | * Sat Mar 15 2008 Matthias Clasen <mclasen@redhat.com> - 2.22.0-1 |
---|
| 133 | - Update to 2.22.0 |
---|
| 134 | |
---|
| 135 | * Sun Feb 24 2008 Brian Pepple <bpepple@fedoraproject.org> - 2.21.91-1 |
---|
| 136 | - Update to 2.21.91. |
---|
| 137 | |
---|
| 138 | * Wed Feb 20 2008 Brian Pepple <bpepple@fedoraproject.org> - 2.21.90-3 |
---|
| 139 | - Rebuild for new swfdec. |
---|
| 140 | |
---|
| 141 | * Fri Feb 8 2008 Brian Pepple <bpepple@fedoraproject.org> - 2.21.90-2 |
---|
| 142 | - Rebuild for gcc-4.3. |
---|
| 143 | |
---|
| 144 | * Tue Jan 29 2008 Brian Pepple <bpepple@fedoraproject.org> - 2.21.90-1 |
---|
| 145 | - Update to 2.21.90. |
---|
| 146 | - Add man pages. |
---|
| 147 | - Update version of swfdec needed. |
---|
| 148 | |
---|
| 149 | * Wed Dec 19 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.5-2 |
---|
| 150 | - Rebuild for pulse audio enable swfdec. |
---|
| 151 | |
---|
| 152 | * Mon Dec 17 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.5-1 |
---|
| 153 | - Update to 0.5.5. |
---|
| 154 | |
---|
| 155 | * Tue Nov 20 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.4-2 |
---|
| 156 | - Add scriptlet to update desktop-database. |
---|
| 157 | - Add vendor to desktop file, even though it's not really necessary. |
---|
| 158 | |
---|
| 159 | * Thu Nov 15 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.4-1 |
---|
| 160 | - Intial Fedora spec. |
---|
| 161 | |
---|