Changes of Revision 4
[-] | Changed | php5-paradox.spec |
x 1
2 install -m 755 modules/paradox.so $RPM_BUILD_ROOT%{_libdir}/php5/extensions/ 3 install -d 755 $RPM_BUILD_ROOT/etc/php5/conf.d 4 echo "extension=paradox.so" > $RPM_BUILD_ROOT/etc/php5/conf.d/paradox.ini 5 -cd $RPM_BUILD_ROOT 6 -find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.%{name} 7 -find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} 8 -find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} 9 10 %clean 11 rm -rf $RPM_BUILD_ROOT/* 12 rm -rf $RPM_BUILD_DIR/%{name}* 13 -rm -rf ../file.list.%{name} 14 15 -%files -f ../file.list.%{name} 16 +%files 17 +%defattr(-,root,root) 18 %doc CREDITS 19 +%{_libdir}/php5/extensions/paradox.so 20 +%config /etc/php5/conf.d/paradox.ini 21 22 %changelog 23 * Mon Jan 16 2008 Carsten Schoene <cs@linux-administrator.com> 24 |