]> git.pld-linux.org Git - packages/codeina.git/commitdiff
- initial draft release, installs and works but doesn't offer any codecs master
authoremes <emes@pld-linux.org>
Fri, 16 Oct 2009 04:11:03 +0000 (04:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    codeina-no_python_2.5.patch -> 1.1
    codeina-python_prefix.patch -> 1.1
    codeina.spec -> 1.1

codeina-no_python_2.5.patch [new file with mode: 0644]
codeina-python_prefix.patch [new file with mode: 0644]
codeina.spec [new file with mode: 0644]

diff --git a/codeina-no_python_2.5.patch b/codeina-no_python_2.5.patch
new file mode 100644 (file)
index 0000000..dc2130b
--- /dev/null
@@ -0,0 +1,10 @@
+diff -urwa codeina-0.10.6/bin/codeina.bin codeina-0.10.6.new/bin/codeina.bin
+--- codeina-0.10.6/bin/codeina.bin     2009-08-26 17:43:04.000000000 +0200
++++ codeina-0.10.6.new/bin/codeina.bin 2009-10-15 18:59:04.174154336 +0200
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python2.5
++#!/usr/bin/env python
+ # -*- Mode: Python -*-
+ # -*- coding: utf-8 -*-
+ # vi:si:et:sw=4:sts=4:ts=4
+Only in codeina-0.10.6.new/bin: codeina.bin~
diff --git a/codeina-python_prefix.patch b/codeina-python_prefix.patch
new file mode 100644 (file)
index 0000000..d09a89b
--- /dev/null
@@ -0,0 +1,22 @@
+diff -urwa codeina-0.10.6/configure codeina-0.10.6.new/configure
+--- codeina-0.10.6/configure   2009-08-26 17:56:23.000000000 +0200
++++ codeina-0.10.6.new/configure       2009-10-16 05:57:59.073527221 +0200
+@@ -2734,7 +2734,7 @@
+-  pythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
++  pythondir="${libdir}/python"$PYTHON_VERSION/site-packages
+@@ -2742,7 +2742,7 @@
+-  pyexecdir=$PYTHON_EXEC_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
++  pyexecdir="${libdir}/python"$PYTHON_VERSION/site-packages
+Only in codeina-0.10.6.new/: configure~
diff --git a/codeina.spec b/codeina.spec
new file mode 100644 (file)
index 0000000..4aa996f
--- /dev/null
@@ -0,0 +1,66 @@
+Summary:       Codec search and installation helper
+Summary(pl.UTF-8):     Pomocnik do szukania i instalcji kodeków
+Name:          codeina
+Version:       0.10.6
+Release:       0.1
+License:       GPL
+Group:         Applications/Multimedia
+Source0:       http://core.fluendo.com/gstreamer/src/codeina/%{name}-%{version}.tar.bz2
+# Source0-md5: 8084a95721d3be28e81e240543789e80
+Patch0:                %{name}-no_python_2.5.patch
+Patch1:                %{name}-python_prefix.patch
+URL:           https://core.fluendo.com/gstreamer/trac/wiki/codeina
+BuildRequires: python-PyYAML
+BuildRequires: python-gnome-extras-mozilla
+BuildRequires: python-pynotify
+Requires:      python >= 2.5
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Codeina installs missing codecs on your machine. Codeina is run by other
+applications, such as Totem or Rhythmbox, when no plugin has been found to
+decode a given file. Based on the characteristics of these files, Codeina
+searches a plugin amongst the available ones, and propose the matching
+packages for installation.
+
+%description -l pl.UTF-8
+Codeina instaluje brakujące kodeki w Twoim systemie. Uruchamiana jest przez
+inne aplikacje, takie jak Totem lub Rhythmbox, gdy nie mogą one znaleźć
+kodeka niezbędnego do odtworzenia pliku multimedialnego. Na podstawie opisu
+pliku Codeina szuka pasujących wtyczek w Internecie i proponuje instalację
+pasujących pakietów.
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+
+%build
+PYNOTIFY_LIBS=" " PYNOTIFY_CFLAGS=" " %configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING NEWS README
+%attr(755,root,root) %dir %{_sysconfdir}/%{name}
+%attr(755,root,root) %dir %{_sysconfdir}/%{name}/providers
+%attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*.xml
+%attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/providers/*
+%{_sysconfdir}/xdg/autostart/%{name}-update.desktop
+%attr(755,root,root) %{_bindir}/%{name}
+%attr(755,root,root) %{_bindir}/%{name}.bin
+%{_datadir}/%{name}
+%{py_sitedir}/%{name}
+%{_desktopdir}/%{name}.desktop
This page took 0.066124 seconds and 4 git commands to generate.