Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
pdi2iso
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Added
pdi2iso.spec
@@ -0,0 +1,50 @@ +Name: pdi2iso +Version: 0.1 +Release: 1 +License: GPL +Group: Multimedia +Summary: Instant Copy image to ISO converter +URL: http://developer.berlios.de/projects/pdi2iso/ +Source0: %{name}-%{version}-src.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Packager: Carsten Schoene <cs@linux-administrator.com> +Vendor: linux-administrator.com +BuildRequires: bzip2 glibc-devel libgcc gcc gcc-c++ +%description +pdi2iso is a very simple utility to convert an instant copy bin image to the standard ISO-9660 format. + + +%prep +%setup -n %{name}-%{version}-src + +%build +%__make + +%install +install -d $RPM_BUILD_ROOT/usr/bin +install -d $RPM_BUILD_ROOT/usr/share/doc/packages/%{name} +install -m 755 %{name} $RPM_BUILD_ROOT/usr/bin +install -m 644 gpl.txt CHANGELOG $RPM_BUILD_ROOT/usr/share/doc/packages/%{name} + +cd $RPM_BUILD_ROOT +find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.%{name} +find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} +find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} + +%clean +rm -rf $RPM_BUILD_ROOT/* +rm -rf $RPM_BUILD_DIR/%{name}* +rm -rf ../file.list.%{name} + + +%files -f ../file.list.%{name} + +%changelog +* Mon Oct 24 2005 Carsten Schoene <cs@linux-administrator.com> +- rebuild for SuSE 10.0 + +* Sat Apr 09 2005 Carsten Schoene <cs@linux-administrator.com> +- rebuild for SuSE9.3 + +* Tue Jan 25 2005 Carsten Schoene <cs@linux-administrator.com> +- Initial Package, Version 0.1 for SuSE 9.2