]> git.pld-linux.org Git - packages/amaroc.git/blobdiff - amaroc.spec
- correct changelog
[packages/amaroc.git] / amaroc.spec
index df097dd57c4660d3a3a42548e968829ff0faac52..afd09603fc1a5b90d8c95a4c07753379ec5d4748 100644 (file)
@@ -1,42 +1,50 @@
 Summary:       amaroc - ncurses frontend for Amarok
-Summary(de):   amaroc - ncurses Frontend für Amarok
-Summary(pl):   amaroc - frontend ncurses dla Amaroka
+Summary(de.UTF-8):     amaroc - ncurses Frontend für Amarok
+Summary(pl.UTF-8):     amaroc - frontend ncurses dla Amaroka
 Name:          amaroc
-Version:       0.1
-Release:       0.1
+Version:       0.3
+Release:       4
 License:       GPL v2
 Group:         Applications
-Source0:       http://synan.rilinux.hr/%{name}-%{version}.tar.bz2
-# Source0-md5: b20c221d7cecaf877c6b96b1be60f86c
+Source0:       http://dl.sourceforge.net/amaroc/%{name}-%{version}.tar.bz2
+# Source0-md5: 38308e04b2bd0f7df94d19f2455b70df
+Patch0:                %{name}-curses.patch
+Patch1:                %{name}-keys.patch
+URL:           http://sourceforge.net/projects/amaroc/
+BuildRequires: sed >= 4.0
 Requires:      amarok
-Requires:      ncurses
 Requires:      python
+Requires:      python-modules
+BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Amaroc is an ncurses frontend for Amarok. It uses DCOP calls and its
 purpose is to ease control of Amarok over a network.
 
-%description -l de
-Amaroc ist ein ncurses Frontend für Amarok. Es benutzt DCOP Aufruffe
-und es vereinfacht die Nutzung von Amarok übers Netzwerk.
+%description -l de.UTF-8
+Amaroc ist ein ncurses Frontend für Amarok. Es benutzt DCOP Aufrufe
+und es vereinfacht die Nutzung von Amarok übers Netzwerk.
 
-%description -l pl
-Amaroc jest frontendem ncurses dla Amaroka. U¿ywa wezwañ DCOPu i
-u³atwia u¿ywanie Amaroka poprzez sieæ.
+%description -l pl.UTF-8
+Amaroc jest frontendem ncurses dla Amaroka. Używa wywołan DCOP i
+ułatwia używanie Amaroka przez sieć.
 
 %prep
-%setup -q -n %{name}
+%setup -q
+%patch0 -p0
+%patch1 -p0
+%{__sed} -i -e '1s,^#!.*python,#!%{__python},' amaroc.py
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_bindir}
-install amaroc.py $RPM_BUILD_ROOT%{_bindir}
+install amaroc.py $RPM_BUILD_ROOT%{_bindir}/amaroc
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README
-%attr(755,root,root) %{_bindir}/amaroc.py
+%doc CHANGELOG README
+%attr(755,root,root) %{_bindir}/amaroc
This page took 0.180372 seconds and 4 git commands to generate.