SPECS: ipodder.spec - adapterized

glen glen at pld-linux.org
Mon Jul 25 00:15:43 CEST 2005


Author: glen                         Date: Sun Jul 24 22:15:43 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- adapterized

---- Files affected:
SPECS:
   ipodder.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/ipodder.spec
diff -u SPECS/ipodder.spec:1.1 SPECS/ipodder.spec:1.2
--- SPECS/ipodder.spec:1.1	Sun Jul 24 23:28:26 2005
+++ SPECS/ipodder.spec	Mon Jul 25 00:15:38 2005
@@ -4,8 +4,6 @@
 %define release 0.rc4.1%{_my_ext}
 %define __libtoolize /bin/true
 %define __cputoolize /bin/true
-
-
 Name:		%{name}
 Version:	%{version}
 Release:	%{release}
@@ -24,9 +22,6 @@
 Requires:	wxPythonGTK
 Requires:	pyxmms pythonlib libxml2-python
 
-
-
-
 %description
 iPodder is technically a "Media Aggregator," a program that allows you
 to select and download audio files from anywhere on the Internet to
@@ -43,27 +38,23 @@
 play anytime you want.
 
 %prep
-rm -rf %buildroot
-
 %setup -q -n %{name}-linux
-%build
-
 
+%build
 
 %install
-
 rm -rf $RPM_BUILD_ROOT
-install -d %buildroot/%_bindir
-install -d %buildroot/%_datadir/%{name}
-install %{SOURCE1} -D %buildroot/%_bindir/%{name}
-cp -f -R * %buildroot/%_datadir/%{name}
-chmod 755 %buildroot/%_datadir/%{name}/ipodder/*.py
-rm -f %buildroot/%_datadir/%{name}/*.linux
-rm -f %buildroot/%_datadir/%{name}/LICENSE
+install -d $RPM_BUILD_ROOT/%{_bindir}
+install -d $RPM_BUILD_ROOT/%{_datadir}/%{name}
+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 %buildroot/%{_menudir}
-cat <<EOF >%buildroot/%{_menudir}/%{name}
+install -d $RPM_BUILD_ROOT/%{_menudir}
+cat <<EOF >$RPM_BUILD_ROOT/%{_menudir}/%{name}
 ?package(%{name}):command="%{_bindir}/%{name}" \
                   icon=%{name}.png \
                   needs="x11" \
@@ -72,20 +63,20 @@
                   longtitle="%{summary}"
 EOF
 
-install %{SOURCE10} -D %buildroot/%{_miconsdir}/%{name}.png
-install %{SOURCE11} -D %buildroot/%{_iconsdir}/%{name}.png
-install %{SOURCE12} -D %buildroot/%{_liconsdir}/%{name}.png
+install %{SOURCE10} -D $RPM_BUILD_ROOT/%{_miconsdir}/%{name}.png
+install %{SOURCE11} -D $RPM_BUILD_ROOT/%{_iconsdir}/%{name}.png
+install %{SOURCE12} -D $RPM_BUILD_ROOT/%{_liconsdir}/%{name}.png
 
 %clean
-rm -rf %buildroot
+rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc README.linux NOTES.linux LICENSE Changelog.linux TODO.linux
 %attr(755,root,root) %{_bindir}/%{name}
-%_datadir/%{name}/*
+%{_datadir}/%{name}/*
 %_menudir/%{name}
-%_iconsdir/%{name}.png
+%{_iconsdir}/%{name}.png
 %_liconsdir/%{name}.png
 %_miconsdir/%{name}.png
 
@@ -95,17 +86,17 @@
 %postun
 %{clean_menus}
 
-
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
-
 $Log$
+Revision 1.2  2005/07/24 22:15:38  glen
+- adapterized
+
 Revision 1.1  2005/07/24 21:28:26  arekm
 - so raw
 
 * Mon Jul 18 2005 Scott Grayban <sgrayban at borgnet.us> RC4
- - First release from iPodder coders
-
+- First release from iPodder coders
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ipodder.spec?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list