]>
Commit | Line | Data |
---|---|---|
728c5de0 | 1 | Summary: Codec search and installation helper |
2 | Summary(pl.UTF-8): Pomocnik do szukania i instalcji kodeków | |
3 | Name: codeina | |
4 | Version: 0.10.6 | |
5 | Release: 0.1 | |
6 | License: GPL | |
7 | Group: Applications/Multimedia | |
8 | Source0: http://core.fluendo.com/gstreamer/src/codeina/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 8084a95721d3be28e81e240543789e80 | |
10 | Patch0: %{name}-no_python_2.5.patch | |
11 | Patch1: %{name}-python_prefix.patch | |
12 | URL: https://core.fluendo.com/gstreamer/trac/wiki/codeina | |
13 | BuildRequires: python-PyYAML | |
14 | BuildRequires: python-gnome-extras-mozilla | |
15 | BuildRequires: python-pynotify | |
16 | Requires: python >= 2.5 | |
17 | BuildArch: noarch | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | Codeina installs missing codecs on your machine. Codeina is run by other | |
22 | applications, such as Totem or Rhythmbox, when no plugin has been found to | |
23 | decode a given file. Based on the characteristics of these files, Codeina | |
24 | searches a plugin amongst the available ones, and propose the matching | |
25 | packages for installation. | |
26 | ||
27 | %description -l pl.UTF-8 | |
28 | Codeina instaluje brakujące kodeki w Twoim systemie. Uruchamiana jest przez | |
29 | inne aplikacje, takie jak Totem lub Rhythmbox, gdy nie mogą one znaleźć | |
30 | kodeka niezbędnego do odtworzenia pliku multimedialnego. Na podstawie opisu | |
31 | pliku Codeina szuka pasujących wtyczek w Internecie i proponuje instalację | |
32 | pasujących pakietów. | |
33 | ||
34 | %prep | |
35 | %setup -q | |
36 | %patch0 -p1 | |
37 | %patch1 -p1 | |
38 | ||
39 | %build | |
40 | PYNOTIFY_LIBS=" " PYNOTIFY_CFLAGS=" " %configure | |
41 | %{__make} | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %{__make} install \ | |
47 | DESTDIR=$RPM_BUILD_ROOT | |
48 | ||
49 | %find_lang %{name} | |
50 | ||
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %files -f %{name}.lang | |
55 | %defattr(644,root,root,755) | |
56 | %doc AUTHORS COPYING NEWS README | |
57 | %attr(755,root,root) %dir %{_sysconfdir}/%{name} | |
58 | %attr(755,root,root) %dir %{_sysconfdir}/%{name}/providers | |
59 | %attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*.xml | |
60 | %attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/providers/* | |
61 | %{_sysconfdir}/xdg/autostart/%{name}-update.desktop | |
62 | %attr(755,root,root) %{_bindir}/%{name} | |
63 | %attr(755,root,root) %{_bindir}/%{name}.bin | |
64 | %{_datadir}/%{name} | |
65 | %{py_sitedir}/%{name} | |
66 | %{_desktopdir}/%{name}.desktop |