1 | %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()") |
---|
2 | |
---|
3 | Summary: Bad Plugins for the Moovida Media Center |
---|
4 | Summary(ja): Moovida メディアセンター用 Bad プラグイン |
---|
5 | Name: moovida-plugins-bad |
---|
6 | Version: 1.0.9 |
---|
7 | Release: 1%{?_dist_release} |
---|
8 | Source0: http://www.moovida.com/media/public/%{name}-%{version}.tar.gz |
---|
9 | #Source1: elisa-plugin-database.po |
---|
10 | #Source2: elisa-plugin-favorites.po |
---|
11 | #Source3: elisa-plugin-poblesec.po |
---|
12 | #Source4: elisa-plugin-dvd.po |
---|
13 | Source101: elisa-plugin-database-ja.po |
---|
14 | Source102: elisa-plugin-dvd-ja.po |
---|
15 | Source103: elisa-plugin-poblesec-ja.po |
---|
16 | |
---|
17 | License: GPLv3 |
---|
18 | Group: Applications/Multimedia |
---|
19 | URL: http://www.moovida.com/ |
---|
20 | |
---|
21 | Requires: python |
---|
22 | Requires: moovida = %{version} |
---|
23 | BuildRequires: python, python-devel |
---|
24 | BuildRequires: moovida-base = %{version} |
---|
25 | BuildRequires: gettext |
---|
26 | |
---|
27 | # Plugin requirements, in order, only once each |
---|
28 | # amazon, amp, avahi |
---|
29 | Requires: dbus-python, avahi-tools |
---|
30 | # coherence |
---|
31 | Requires: python-Coherence |
---|
32 | # daap |
---|
33 | Requires: python-twisted-web2 |
---|
34 | ## drop python-storm-sqlite dependency for Vine Linux. Is this still required? |
---|
35 | # database |
---|
36 | # Requires: python-storm-sqlite |
---|
37 | ## drop ipython dependency for Vine Linux. Is this still required? |
---|
38 | # favorites |
---|
39 | # Requires: ipython |
---|
40 | # filtered_shares, gstreamer |
---|
41 | Requires: gstreamer-python, gstreamer-plugins-good, python-imaging |
---|
42 | ## drop python-gpod dependency. python binding is not included in libgpod yet. |
---|
43 | # ipod |
---|
44 | # Requires: python-gpod |
---|
45 | # pigment |
---|
46 | Requires: pigment-python, pygtk2 |
---|
47 | # poblesec (gst.element_factory_make('libvisual_jess')) |
---|
48 | ## dropped libvisual dependency for Vine Linux. Is this really usefull? |
---|
49 | # Requires: libvisual-plugins |
---|
50 | Requires: pygtk2, dbus-python |
---|
51 | # yesfm |
---|
52 | Requires: python-simplejson |
---|
53 | |
---|
54 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
55 | BuildArch: noarch |
---|
56 | Obsoletes: elisa-plugins-bad |
---|
57 | |
---|
58 | Packager: kazutaka |
---|
59 | |
---|
60 | %description |
---|
61 | This package contains the bad set of plugins for the Moovida |
---|
62 | Media Center, plugins which are not considered feature complete |
---|
63 | or polished enough to be in the good set of plugins, but do |
---|
64 | not present any licensing issues. |
---|
65 | |
---|
66 | |
---|
67 | %description -l ja |
---|
68 | このパッケージは Moovida メディアセンター用のプラグインのセットを |
---|
69 | 含んでいます。ここに含まれるプラグインはすべての機能を備えていないか、 |
---|
70 | Good プラグインに入れられるほど洗練されていませんが、特許等の問題は |
---|
71 | 抱えていません。 |
---|
72 | |
---|
73 | |
---|
74 | %prep |
---|
75 | %setup -q -n elisa-plugins-bad-%{version} |
---|
76 | |
---|
77 | %build |
---|
78 | %{__python} setup.py build |
---|
79 | |
---|
80 | |
---|
81 | %install |
---|
82 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
83 | %{__python} setup.py install \ |
---|
84 | --single-version-externally-managed \ |
---|
85 | --root ${RPM_BUILD_ROOT} |
---|
86 | |
---|
87 | # remove Windows only plugins |
---|
88 | %{__rm} -rf ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/elisa_updater/ \ |
---|
89 | ${RPM_BUILD_ROOT}%{python_sitelib}/elisa_plugin_elisa_updater* \ |
---|
90 | ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/smbwin32/ \ |
---|
91 | ${RPM_BUILD_ROOT}%{python_sitelib}/elisa_plugin_smb_win32* \ |
---|
92 | ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/winremote/ \ |
---|
93 | ${RPM_BUILD_ROOT}%{python_sitelib}/elisa_plugin_winremote* \ |
---|
94 | ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/wmd/ \ |
---|
95 | ${RPM_BUILD_ROOT}%{python_sitelib}/elisa_plugin_wmd* |
---|
96 | |
---|
97 | # install japanese message catalog |
---|
98 | %{__mkdir_p} ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/database/i18n/ja/LC_MESSAGES |
---|
99 | %{__mkdir_p} ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/dvd/i18n/ja/LC_MESSAGES |
---|
100 | %{__mkdir_p} ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/poblesec/i18n/ja/LC_MESSAGES |
---|
101 | |
---|
102 | %{__cp} %{SOURCE101} ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/database/i18n/ja.po |
---|
103 | %{__cp} %{SOURCE102} ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/dvd/i18n/ja.po |
---|
104 | %{__cp} %{SOURCE103} ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/poblesec/i18n/ja.po |
---|
105 | |
---|
106 | msgfmt %{SOURCE101} -o ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/database/i18n/ja/LC_MESSAGES/elisa-plugin-database.mo |
---|
107 | msgfmt %{SOURCE102} -o ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/dvd/i18n/ja/LC_MESSAGES/elisa-plugin-dvd.mo |
---|
108 | msgfmt %{SOURCE103} -o ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/poblesec/i18n/ja/LC_MESSAGES/elisa-plugin-poblesec.mo |
---|
109 | |
---|
110 | |
---|
111 | %clean |
---|
112 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
113 | |
---|
114 | |
---|
115 | %files |
---|
116 | %defattr(-,root,root) |
---|
117 | %{python_sitelib}/elisa/plugins/amazon/ |
---|
118 | %{python_sitelib}/elisa/plugins/amp/ |
---|
119 | %{python_sitelib}/elisa/plugins/avahi/ |
---|
120 | %{python_sitelib}/elisa/plugins/coherence/ |
---|
121 | %{python_sitelib}/elisa/plugins/daap/ |
---|
122 | %{python_sitelib}/elisa/plugins/database/ |
---|
123 | %{python_sitelib}/elisa/plugins/discogs/ |
---|
124 | %{python_sitelib}/elisa/plugins/dvd/ |
---|
125 | #%{python_sitelib}/elisa/plugins/favorites/ |
---|
126 | %{python_sitelib}/elisa/plugins/filtered_shares/ |
---|
127 | %{python_sitelib}/elisa/plugins/gstreamer/ |
---|
128 | %{python_sitelib}/elisa/plugins/http_client/ |
---|
129 | %{python_sitelib}/elisa/plugins/ipod/ |
---|
130 | %{python_sitelib}/elisa/plugins/lastfm/ |
---|
131 | %{python_sitelib}/elisa/plugins/osso/ |
---|
132 | %{python_sitelib}/elisa/plugins/pigment/ |
---|
133 | %{python_sitelib}/elisa/plugins/poblesec/ |
---|
134 | %{python_sitelib}/elisa/plugins/rss/ |
---|
135 | %{python_sitelib}/elisa/plugins/search/ |
---|
136 | #%{python_sitelib}/elisa/plugins/shelf/ |
---|
137 | %{python_sitelib}/elisa/plugins/themoviedb/ |
---|
138 | %{python_sitelib}/elisa/plugins/thetvdb/ |
---|
139 | #%{python_sitelib}/elisa/plugins/yesfm/ |
---|
140 | %{python_sitelib}/elisa_plugin_* |
---|
141 | |
---|
142 | |
---|
143 | |
---|
144 | %changelog |
---|
145 | * Sat Dec 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.9-1 |
---|
146 | - new upstream release |
---|
147 | |
---|
148 | * Sun Nov 22 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.8-1 |
---|
149 | - new upstream release |
---|
150 | - drop old translations |
---|
151 | - add new translations as Source101,102 and 103 (export from launchpad) |
---|
152 | |
---|
153 | * Thu Sep 24 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.7-2 |
---|
154 | - update Source1&3: fix wrong translations |
---|
155 | |
---|
156 | * Fri Sep 18 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.7-1 |
---|
157 | - new upstream release |
---|
158 | - update japanese translation (Source3) |
---|
159 | - drop obsolete plugin 'favorites' & its translation (Source2) |
---|
160 | - add new translation for dvd plugin (Source4) |
---|
161 | |
---|
162 | * Mon Aug 10 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.6-1 |
---|
163 | - new upstream release |
---|
164 | |
---|
165 | * Sat Jun 20 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.3-1 |
---|
166 | - new upstream release with new name |
---|
167 | - add Obsoletes: elisa-plugins-bad |
---|
168 | |
---|
169 | * Fri May 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.37-1 |
---|
170 | - new upstream release |
---|
171 | |
---|
172 | * Thu Apr 23 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.36-1 |
---|
173 | - new upstream release |
---|
174 | |
---|
175 | * Thu Apr 09 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.35-1 |
---|
176 | - new upstream release |
---|
177 | |
---|
178 | * Wed Apr 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.34-1 |
---|
179 | - new upstream release |
---|
180 | |
---|
181 | * Tue Mar 17 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.32-1 |
---|
182 | - new upstream release |
---|
183 | |
---|
184 | * Fri Mar 13 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.31-1 |
---|
185 | - new upstream release |
---|
186 | |
---|
187 | * Sun Mar 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.29-1 |
---|
188 | - new upstream release |
---|
189 | |
---|
190 | * Fri Feb 20 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.28-1 |
---|
191 | - new upstream release |
---|
192 | - update translation of Source1 (elisa-plugin-database.po) |
---|
193 | |
---|
194 | * Fri Feb 06 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.26-1 |
---|
195 | - new upstream release |
---|
196 | - update source3 (poblesec japanese translation catalog) |
---|
197 | |
---|
198 | * Tue Jan 27 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.25-1 |
---|
199 | - new upstream release |
---|
200 | |
---|
201 | * Wed Jan 21 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.24.1-1 |
---|
202 | - new upstream release |
---|
203 | |
---|
204 | * Sun Jan 11 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.22-3 |
---|
205 | - fix poblesec japanese message catalog installtion (wrong file name) |
---|
206 | - drop patch1 (fixed in upstream) |
---|
207 | |
---|
208 | * Tue Dec 30 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.22-2 |
---|
209 | - add japanese message catalogs as Source1 to Source3 |
---|
210 | - add patch1 to fix strftime error on utf-8 environment |
---|
211 | |
---|
212 | * Wed Dec 24 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.22-1 |
---|
213 | - new upstream release |
---|
214 | |
---|
215 | * Thu Dec 04 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.20-1 |
---|
216 | - new upstream release |
---|
217 | |
---|
218 | * Sun Nov 16 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.17-1 |
---|
219 | - initial build for Vine Linux |
---|
220 | |
---|