fixes .spec

This commit is contained in:
Emmanuel Bretelle 2008-07-08 19:55:31 +01:00
parent a78b1c90d0
commit e4d3aabbf8
1 changed files with 14 additions and 3 deletions

View File

@ -30,7 +30,7 @@ for different tasks.
%install %install
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__python setup.py install --root=%{buildroot} --record=FILELIST.tmp %__python setup.py install --root=%{buildroot} --record=FILELIST.tmp
grep -v man/man1 FILELIST.tmp > FILELIST grep -v man/man FILELIST.tmp > FILELIST
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -38,10 +38,21 @@ grep -v man/man1 FILELIST.tmp > FILELIST
%files -f FILELIST %files -f FILELIST
%defattr(-,root,root) %defattr(-,root,root)
%doc README COPYING ChangeLog %doc README COPYING ChangeLog
%{_mandir}/man1/terminator.* %doc %{_mandir}/man1/terminator.*
%doc %{_mandir}/man5/terminator_config.*
%post
touch --no-create %{_datadir}/icons/hicolor ||:
gtk-update-icon-cache -q %{_datadir}/icons/hicolor &> /dev/null ||:
update-desktop-database &> /dev/null ||:
%postun
touch --no-create %{_datadir}/icons/hicolor ||:
gtk-update-icon-cache -q %{_datadir}/icons/hicolor &> /dev/null ||:
update-desktop-database &> /dev/null ||:
%changelog %changelog
* Fri Jul 04 2008 - chantra AatT rpm-based DdOoTt org 0.9.fc9.rb * Fri Jul 08 2008 - chantra AatT rpm-based DdOoTt org 0.9.fc9.rb
- New upstream release - New upstream release
* Sat May 17 2008 - chantra AatT rpm-based DdOoTt org 0.8.1.fc9.rb * Sat May 17 2008 - chantra AatT rpm-based DdOoTt org 0.8.1.fc9.rb
- Initial release for Fedora 9. - Initial release for Fedora 9.