| 1 |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
| 2 |
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
| 3 |
|
| 4 |
%define gecko_ver 1.9.1.5
|
| 5 |
|
| 6 |
Name: Miro
|
| 7 |
Version: 2.5.3
|
| 8 |
Release: 2%{?dist}
|
| 9 |
Summary: Miro - Internet TV Player
|
| 10 |
|
| 11 |
Group: Applications/Multimedia
|
| 12 |
License: GPLv2+
|
| 13 |
URL: http://www.getmiro.com/
|
| 14 |
Source0: http://ftp.osuosl.org/pub/pculture.org/miro/src/miro-%{version}.tar.gz
|
| 15 |
Patch0: %{name}-2.5.2-fhs.patch
|
| 16 |
Patch1: %{name}-2.0-videodir.patch
|
| 17 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
| 18 |
|
| 19 |
BuildRequires: python-devel xine-lib-devel Pyrex
|
| 20 |
BuildRequires: boost-devel pygtk2-devel libXv-devel openssl-devel
|
| 21 |
BuildRequires: gecko-devel-unstable = %{gecko_ver} gettext gtk2-devel
|
| 22 |
%if 0%{?fedora} >= 11
|
| 23 |
BuildRequires: rb_libtorrent-devel rb_libtorrent-python
|
| 24 |
%endif
|
| 25 |
|
| 26 |
Requires: gecko-libs = %{gecko_ver}
|
| 27 |
Requires: gnome-python2-gtkmozembed
|
| 28 |
Requires: gnome-python2-gconf
|
| 29 |
Requires: dbus-python
|
| 30 |
%if 0%{?fedora} >= 11
|
| 31 |
Requires: rb_libtorrent-python
|
| 32 |
%endif
|
| 33 |
Requires: gstreamer-python
|
| 34 |
Provides: Democracy = %{version}-%{release}
|
| 35 |
Obsoletes: Democracy < 1.0
|
| 36 |
|
| 37 |
%description
|
| 38 |
Miro is a free application that turns your computer into an
|
| 39 |
internet TV video player. This release is still a beta version, which means
|
| 40 |
that there are some bugs, but we're moving quickly to fix them and will be
|
| 41 |
releasing bug fixes on a regular basis.
|
| 42 |
|
| 43 |
%prep
|
| 44 |
%setup -q -n miro-%{version}
|
| 45 |
# Intentionally not using -b .<descr> :
|
| 46 |
# Otherwise, the unpatched files get re-added into Miro
|
| 47 |
# (and '.' breaks Python imports)
|
| 48 |
%patch0 -p1
|
| 49 |
%patch1 -p1
|
| 50 |
|
| 51 |
|
| 52 |
%build
|
| 53 |
cd platform/gtk-x11 && CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
|
| 54 |
|
| 55 |
|
| 56 |
%install
|
| 57 |
rm -rf %{buildroot}
|
| 58 |
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}-%{version}
|
| 59 |
# fix EOL
|
| 60 |
sed -ie 's|\r$||g' CREDITS
|
| 61 |
# remove shebangs from scripts
|
| 62 |
cd platform/gtk-x11 && \
|
| 63 |
find build/lib* -name '*.py' -exec sed -i "1{/^#!/d}" {} \; && \
|
| 64 |
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
| 65 |
%find_lang miro
|
| 66 |
|
| 67 |
|
| 68 |
%clean
|
| 69 |
rm -rf %{buildroot}
|
| 70 |
|
| 71 |
%post
|
| 72 |
update-desktop-database %{_datadir}/applications &> /dev/null ||:
|
| 73 |
|
| 74 |
%postun
|
| 75 |
update-desktop-database %{_datadir}/applications &> /dev/null ||:
|
| 76 |
|
| 77 |
|
| 78 |
%files -f platform/gtk-x11/miro.lang
|
| 79 |
%defattr(-,root,root,-)
|
| 80 |
%{_bindir}/*
|
| 81 |
%{_libexecdir}/xine_extractor
|
| 82 |
%exclude %{_datadir}/miro/resources/testdata
|
| 83 |
%{_datadir}/miro
|
| 84 |
%{_datadir}/icons/hicolor/*/apps/*
|
| 85 |
%{_datadir}/pixmaps/*
|
| 86 |
%{_datadir}/applications/*.desktop
|
| 87 |
%{_mandir}/man1/*
|
| 88 |
%{_datadir}/mime/packages/*.xml
|
| 89 |
%if 0%{?fedora} >= 9
|
| 90 |
%{python_sitearch}/*egg-info
|
| 91 |
%endif
|
| 92 |
%{python_sitearch}/miro/
|
| 93 |
%doc README license.txt CREDITS
|
| 94 |
|
| 95 |
|
| 96 |
%changelog
|
| 97 |
* Thu Nov 05 2009 Jan Horak <jhorak@redhat.com> - 2.5.3-2
|
| 98 |
- Rebuild against newer gecko
|
| 99 |
|
| 100 |
* Wed Oct 28 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 2.5.3-1
|
| 101 |
- Update to 2.5.3
|
| 102 |
- Tarball renamed: Miro -> miro
|
| 103 |
|
| 104 |
* Tue Oct 27 2009 Jan Horak <jhorak@redhat.com> - 2.5.2-5
|
| 105 |
- Rebuild against newer gecko
|
| 106 |
|
| 107 |
* Fri Sep 11 2009 Jan Horak <jhorak@redhat.com> - 2.5.2-4
|
| 108 |
- Rebuild against newer gecko
|
| 109 |
|
| 110 |
* Thu Aug 06 2009 Jan Horak <jhorak@redhat.com> - 2.5.2-3
|
| 111 |
- Rebuild against newer gecko
|
| 112 |
|
| 113 |
* Tue Aug 04 2009 Jan Horak <jhorak@redhat.com> - 2.5.2-2
|
| 114 |
- Rebuild against newer gecko
|
| 115 |
|
| 116 |
* Tue Aug 4 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 2.5.2-1
|
| 117 |
- Update to latest upstream (2.5.2)
|
| 118 |
- Drop xine hack patch, now upstream
|
| 119 |
- Rebase remaining patches to 2.5.2 where necessary
|
| 120 |
- Include new icons in files list
|
| 121 |
|
| 122 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.5-3
|
| 123 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
| 124 |
|
| 125 |
* Sun Jul 19 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 2.0.5-2
|
| 126 |
- Rebuild against newer gecko
|
| 127 |
|
| 128 |
* Wed Jul 1 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 2.0.5-1
|
| 129 |
- Update to latest upstream (2.0.5), fixes #507642
|
| 130 |
|
| 131 |
* Sat Jun 13 2009 Alex Lancaster <alexlan[AT}fedoraproject org> - 2.0.4-1
|
| 132 |
- Update to upstream 2.0.4
|
| 133 |
|
| 134 |
* Sat Jun 13 2009 Alex Lancaster <alexlan[AT}fedoraproject org> - 2.0.3-3
|
| 135 |
- Rebuild against newer Python boost
|
| 136 |
|
| 137 |
* Mon Apr 27 2009 Christopher Aillon <caillon@redhat.com> - 2.0.3-2
|
| 138 |
- Rebuild against newer gecko
|
| 139 |
|
| 140 |
* Mon Mar 16 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 2.0.3-1
|
| 141 |
- Update to upstream 2.0.3
|
| 142 |
- Add patch to disable xine-hack, hopefully fixes #480527
|
| 143 |
- Use internal 0.14 version of rb_libtorrent for < F-11 (#489755)
|
| 144 |
|
| 145 |
* Mon Mar 9 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 2.0.2-1
|
| 146 |
- Update to upstream 2.0.2
|
| 147 |
- Add Requires: gstreamer-python (#489134)
|
| 148 |
- Drop patch for libtorrent 0.13, applied upstream
|
| 149 |
|
| 150 |
* Fri Feb 27 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 2.0-5
|
| 151 |
- Combine the fhs patches into one, and fix the path to
|
| 152 |
/usr/libexec/xine_extractor (#487442)
|
| 153 |
|
| 154 |
* Fri Feb 27 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 2.0-4
|
| 155 |
- Add another upstream patch to fix patch on x86_64 (#487442)
|
| 156 |
|
| 157 |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-3
|
| 158 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
| 159 |
|
| 160 |
* Mon Feb 16 2009 Michel Salim <salimma@fedoraproject.org> - 2.0-2
|
| 161 |
- Use system libtorrent >= 0.13
|
| 162 |
- Do not ship testdata
|
| 163 |
- Switch default download directory to ~/Videos/Miro
|
| 164 |
|
| 165 |
* Tue Feb 10 2009 Michel Salim <salimma@fedoraproject.org> - 2.0-1
|
| 166 |
- Update to 2.0
|
| 167 |
|
| 168 |
* Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 1.2.8-5
|
| 169 |
- rebuild with new openssl
|
| 170 |
|
| 171 |
* Tue Dec 23 2008 Caolán McNamara <caolanm@redhat.com> - 1.2.8-4
|
| 172 |
- Rebuild against newer gecko 1.9.1
|
| 173 |
|
| 174 |
* Thu Dec 18 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.2.8-3
|
| 175 |
- Enable patch for new boost 1.37 for F-11+
|
| 176 |
|
| 177 |
* Thu Dec 18 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.2.8-2
|
| 178 |
- Rebuild against new boost
|
| 179 |
|
| 180 |
* Wed Dec 3 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.2.8-1
|
| 181 |
- Update to latest upstream (1.2.8)
|
| 182 |
- Rebuild for Python 2.6
|
| 183 |
|
| 184 |
* Wed Nov 12 2008 Christopher Aillon <caillon@redhat.com> - 1.2.7-2
|
| 185 |
- Rebuild against newer gecko 1.9.0.4
|
| 186 |
|
| 187 |
* Sun Sep 28 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.2.7-1
|
| 188 |
- Update to 1.2.7
|
| 189 |
- Rebuild against gecko-libs 1.9.0.2 (#464205)
|
| 190 |
|
| 191 |
* Fri Aug 22 2008 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.6-3
|
| 192 |
- Do not create backup files when patching; the backup files get re-added during the build process
|
| 193 |
|
| 194 |
* Fri Aug 22 2008 Michel Salim <salimma@fedoraproject.org> - 1.2.6-2
|
| 195 |
- Unapply boost patch; boost-1.36 has been backed out for F10
|
| 196 |
|
| 197 |
* Fri Aug 22 2008 Michel Salim <salimma@fedoraproject.org> - 1.2.6-1
|
| 198 |
- Update to 1.2.6
|
| 199 |
- Patch for boost API change
|
| 200 |
|
| 201 |
* Tue Aug 12 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.2.4-4
|
| 202 |
- Rebuild for new boost (fixes broken deps).
|
| 203 |
|
| 204 |
* Sat Jul 19 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.2.4-3
|
| 205 |
- Rebuild for xulrunner-1.9.0.1
|
| 206 |
- Unfortunately we probably need to make this an exact match because
|
| 207 |
Miro uses the unstable API, so a rebuild may need to be done on every
|
| 208 |
package update to be sure that it will work with new xulrunner updates
|
| 209 |
|
| 210 |
* Wed Jun 18 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.2.4-2
|
| 211 |
- Rebuild for xulrunner-1.9 final.
|
| 212 |
|
| 213 |
* Sun Jun 15 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.2.4-1
|
| 214 |
- Update to latest upstream (1.2.4)
|
| 215 |
|
| 216 |
* Mon Apr 28 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.2.3-2
|
| 217 |
- Update and re-enable xulrunner patch from Martin Stransky (#393521)
|
| 218 |
|
| 219 |
* Mon Apr 28 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.2.3-1
|
| 220 |
- Update to official 1.2.3 upstream release (includes the previous
|
| 221 |
xulrunner fixes in test release).
|
| 222 |
|
| 223 |
* Sat Mar 29 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.2.2-0.1.test
|
| 224 |
- Update to test snapshot which is supposed to fix xulrunner 1.9 support
|
| 225 |
(http://bugzilla.pculture.org/show_bug.cgi?id=9692)
|
| 226 |
- Drop xulrunner patch.
|
| 227 |
|
| 228 |
* Fri Mar 28 2008 Christopher Aillon <caillon@redhat.com> - 1.2-2
|
| 229 |
- Prune spurious (Build)Requires
|
| 230 |
|
| 231 |
* Mon Mar 24 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.2-1
|
| 232 |
- Update to latest upstream (1.2)
|
| 233 |
- Remove much of xulrunner patch, keep modifications to setup.py to look
|
| 234 |
for libxul rather than xulrunner-xpcom
|
| 235 |
|
| 236 |
* Tue Mar 11 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.1.2-4
|
| 237 |
- Update GCC 4.3 patch by Christopher Aillon (#434480)
|
| 238 |
|
| 239 |
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.2-3
|
| 240 |
- Autorebuild for GCC 4.3
|
| 241 |
|
| 242 |
* Fri Feb 15 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.1.2-2
|
| 243 |
- Patch to build against GCC 4.3.0
|
| 244 |
|
| 245 |
* Fri Feb 15 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.1.2-1
|
| 246 |
- Update to 1.1.2
|
| 247 |
|
| 248 |
* Sat Feb 9 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.1-3
|
| 249 |
- rebuilt for GCC 4.3 as requested by Fedora Release Engineering
|
| 250 |
|
| 251 |
* Fri Jan 25 2008 Michel Salim <michel.sylvan@gmail.com> - 1.1-2
|
| 252 |
- Fix charset mismatch in download window
|
| 253 |
- Remove shebangs from scripts
|
| 254 |
- Sanitize end-of-line markers
|
| 255 |
|
| 256 |
* Thu Jan 17 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.1-1
|
| 257 |
- Update to upstream 1.1 release
|
| 258 |
- BuildRequires: gecko-devel-unstable, openssl-devel
|
| 259 |
|
| 260 |
* Tue Jan 8 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.0-5
|
| 261 |
- Update xulrunner patch to use upstream .pc files
|
| 262 |
|
| 263 |
* Sun Dec 23 2007 Alex Lancaster <alexlan[AT]fedoraproject org> 1.0-4
|
| 264 |
- Add support for python eggs for F9+
|
| 265 |
|
| 266 |
* Sun Dec 23 2007 Alex Lancaster <alexlan[AT]fedoraproject org> 1.0-3
|
| 267 |
- Re-enable gecko-libs 1.9, as 1.8.1.10 has now gone away as a BR.
|
| 268 |
- Add first-cut patch from Martin Stransky from #393521 that attempts to
|
| 269 |
patch Miro to work against xulrunner. Likely incomplete.
|
| 270 |
|
| 271 |
* Tue Dec 4 2007 Alex Lancaster <alexlan[AT]fedoraproject org> 1.0-2
|
| 272 |
- Back to building against 1.8.1.10 (firefox) until #393521 is fixed.
|
| 273 |
|
| 274 |
* Fri Nov 16 2007 Alex Lancaster <alexlan[AT]fedoraproject org> 1.0-1
|
| 275 |
- Update to latest upstream (1.0).
|
| 276 |
|
| 277 |
* Wed Nov 14 2007 Alex Lancaster <alexlan[AT]fedoraproject org> 0.9.9.9-2
|
| 278 |
- Build against gecko-libs 1.9 (new xulrunner)
|
| 279 |
|
| 280 |
* Fri Nov 09 2007 Alex Lancaster <alexlan[AT]fedoraproject org> 0.9.9.9-1
|
| 281 |
- Update to latest upstream (0.9.9.9)
|
| 282 |
- Build against gecko-libs 1.8.1.9 (firefox 2.0.0.9)
|
| 283 |
- Include xine_extractor in package (thanks to Jason Farrell)
|
| 284 |
- Drop Miro-setup.py.patch
|
| 285 |
|
| 286 |
* Thu Nov 01 2007 Alex Lancaster <alexlan[AT]fedoraproject org> 0.9.9.1-6
|
| 287 |
- Update patch with workaround suggested on:
|
| 288 |
http://bugzilla.pculture.org/show_bug.cgi?id=8579
|
| 289 |
|
| 290 |
* Wed Oct 31 2007 Alex Lancaster <alexlan[AT]fedoraproject org> 0.9.9.1-5
|
| 291 |
- Add setup.py patch to ignore call to svn.
|
| 292 |
|
| 293 |
* Tue Oct 30 2007 Alex Lancaster <alexlan[AT]fedoraproject org> 0.9.9.1-3
|
| 294 |
- Add BuildRequires: libXv-devel
|
| 295 |
- Drop dbus patch
|
| 296 |
|
| 297 |
* Sun Oct 28 2007 Alex Lancaster <alexlan[AT]fedoraproject org> 0.9.9.1-1
|
| 298 |
- Update to latest upstream (0.9.9.1)
|
| 299 |
|
| 300 |
* Fri Oct 26 2007 Alex Lancaster <alexlan[AT]fedoraproject org> 0.9.8.1-8
|
| 301 |
- Replace Requires and BuildRequires for firefox with gecko to
|
| 302 |
smooth eventual xulrunner transition
|
| 303 |
|
| 304 |
* Thu Oct 25 2007 Alex Lancaster <alexlan[AT]fedoraproject org> 0.9.8.1-7
|
| 305 |
- Rebuild for new Firefox (2.0.0.8)
|
| 306 |
- License: GPLv2+ to conform with Fedora licensing guidelines
|
| 307 |
|
| 308 |
* Thu Sep 20 2007 Thorsten Scherf <tscherf@redhat.com> 0.9.8.1-3
|
| 309 |
- new Firefox dep
|
| 310 |
|
| 311 |
* Wed Aug 15 2007 Thorsten Scherf <tscherf@redhat.com> 0.9.8.1-2
|
| 312 |
- made Democracy obsolte with this release
|
| 313 |
|
| 314 |
* Tue Aug 14 2007 Thorsten Scherf <tscherf@redhat.com> 0.9.8.1-1
|
| 315 |
- new upstream version and new naming
|
| 316 |
- fix to solve the python/dbus problem
|
| 317 |
|
| 318 |
* Fri Jun 22 2007 Thorsten Scherf <tscherf@redhat.com> 0.9.6-2
|
| 319 |
- new upstream version
|
| 320 |
|
| 321 |
* Fri Jun 22 2007 Thorsten Scherf <tscherf@redhat.com> 0.9.6-1
|
| 322 |
- new upstream version
|
| 323 |
|