diff --git a/.cvsignore b/.cvsignore index 4abfa7b..a3eb06c 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -dcraw-8.99.tar.gz +dcraw-9.01.tar.gz diff --git a/dcraw.spec b/dcraw.spec index 087712f..e63557e 100644 --- a/dcraw.spec +++ b/dcraw.spec @@ -1,6 +1,6 @@ Summary: Tool for decoding raw image data from digital cameras Name: dcraw -Version: 8.99 +Version: 9.01 Release: 1%{?dist} Group: Applications/Multimedia License: GPLv2+ @@ -43,11 +43,14 @@ done install -d -m 0755 %{buildroot}%{_bindir} %{buildroot}%{_mandir}/man1 install -m 0644 dcraw.1 %{buildroot}%{_mandir}/man1/dcraw.1 # localized manpages +rm -f %{name}-man-files +touch %{name}-man-files for manpage in dcraw_*.1; do lang="${manpage%.1}" lang="${lang#dcraw_}" install -d -m 0755 "%{buildroot}%{_mandir}/${lang}/man1" install -m 0644 "${manpage}" "%{buildroot}%{_mandir}/${lang}/man1/dcraw.1" + echo "%%lang($lang) %%{_mandir}/${lang}/man1/*" >> %{name}-man-files done %find_lang %{name} @@ -55,13 +58,16 @@ done %clean rm -rf %buildroot -%files -f %{name}.lang +%files -f %{name}.lang -f %{name}-man-files %defattr(-, root, root) %{_bindir}/dcraw %{_mandir}/man1/* -%{_mandir}/*/man1/* %changelog +* Wed Jun 02 2010 Nils Philippsen - 9.01-1 +- version 9.01 +- color man page files with %%lang() + * Fri Feb 12 2010 Nils Philippsen - 8.99-1 - version 8.99 diff --git a/sources b/sources index c98efeb..67064ac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b6469a5ac64ac6e974022b00f09fb465 dcraw-8.99.tar.gz +87fe9393f8d9d65971169920f8b78cda dcraw-9.01.tar.gz