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