SPECS: ipodder.spec - rel 1; works
arekm
arekm at pld-linux.org
Wed Jul 27 21:24:10 CEST 2005
Author: arekm Date: Wed Jul 27 19:24:10 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- rel 1; works
---- Files affected:
SPECS:
ipodder.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SPECS/ipodder.spec
diff -u SPECS/ipodder.spec:1.3 SPECS/ipodder.spec:1.4
--- SPECS/ipodder.spec:1.3 Mon Jul 25 22:58:55 2005
+++ SPECS/ipodder.spec Wed Jul 27 21:24:05 2005
@@ -1,22 +1,19 @@
# $Revision$, $Date$
-# TODO: Name vs spec filename
+%define _name iPodder
Summary: IPodder - a Media Aggregator
Summary(pl): IPodder - agregator multimediów
-Name: iPodder
-Version: 2.0
-Release: 0.rc4.1
+Name: ipodder
+Version: 2.1
+Release: 1
License: GPL
Group: Applications/Sound
-Source0: http://dl.sourceforge.net/ipodder/%{name}-linux-%{version}-rc4.tar.bz2
-Source1: %{name}.sh
-Source10: %{name}-16.png
-Source11: %{name}-32.png
-Source12: %{name}-48.png
+Source0: http://dl.sourceforge.net/ipodder/%{_name}-linux-%{version}.tar.bz2
URL: http://ipodder.sourceforge.net/
Requires: python-libxml2
Requires: python-wxPython
Requires: python-xmms
-Requires: pythonlib
+Requires: python-modules
+BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -50,42 +47,33 @@
celu odtworzenia w dowolnej chwili.
%prep
-%setup -q -n %{name}-linux
+%setup -q -n %{_name}-linux
%build
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
-install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}
+
+install -D iPodder.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
-install %{SOURCE1} -D $RPM_BUILD_ROOT%{_bindir}/%{name}
cp -f -R * $RPM_BUILD_ROOT%{_datadir}/%{name}
chmod 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/ipodder/*.py
rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/*.linux
rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/LICENSE
-#menus
-#install -d $RPM_BUILD_ROOT/%{_menudir}
-#cat <<EOF >$RPM_BUILD_ROOT/%{_menudir}/%{name}
-#?package(%{name}):command="%{_bindir}/%{name}" \
-# icon=%{name}.png \
-# needs="x11" \
-# section="Multimedia/Sound" \
-# title="Ipodder"\
-# longtitle="%{summary}"
-#EOF
-
-#install %{SOURCE10} -D $RPM_BUILD_ROOT/%{_miconsdir}/%{name}.png
-install %{SOURCE11} -D $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
-#install %{SOURCE12} -D $RPM_BUILD_ROOT/%{_liconsdir}/%{name}.png
+cat << EOF > $RPM_BUILD_ROOT/%{_bindir}/%{name}
+#!/bin/sh
+cd %{_datadir}/%{name}
+%{_bindir}/python iPodderGui.py
+EOF
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc README.linux NOTES.linux LICENSE Changelog.linux TODO.linux
+%doc Changelog KNOWN-ISSUES NOTES README TODO
%attr(755,root,root) %{_bindir}/%{name}
%{_datadir}/%{name}
%{_pixmapsdir}/%{name}.png
@@ -96,6 +84,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2005/07/27 19:24:05 arekm
+- rel 1; works
+
Revision 1.3 2005/07/25 20:58:55 qboosh
- pl, some cleanups
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/ipodder.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list