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