Browse Source

* jhead: updated to 2.95; spec revamp; add comprehensive description

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@5970 ec354946-7b23-47d6-9f5a-488ba84defc7
shaolin 12 years ago
parent
commit
81cce610ba
1 changed files with 50 additions and 19 deletions
  1. 50 19
      j/jhead/jhead-vl.spec

+ 50 - 19
j/jhead/jhead-vl.spec

@@ -1,42 +1,73 @@
-Summary: Exif Jpeg camera setting parser and thumbnail remover
-Name: jhead
-Version: 2.6
-Release: 1%{?_dist_release}
-Source: %{name}-%{version}.tar.gz
-License: Public Domain
-Group: Applications/Graphics
-Url: http://www.sentex.net/~mwandel/jhead/
-Buildroot: %{_tmppath}/%{name}-%{version}-root
-
-Vendor: Project Vine
-Distribution: Vine Linux
+Name:		jhead
+Summary:	EXIF JPEG header manipulation tool
+Summary(ja):	JPEG の EXIF ヘッダを操作するツール
+Version:	2.95
+Release:	1%{?_dist_release}
+License:	Public Domain
+URL:		http://www.sentex.net/~mwandel/jhead/
+Source:		http://www.sentex.net/~mwandel/jhead/%{name}-%{version}.tar.gz
+Group:		Applications/Graphics
+Buildroot:	%{_tmppath}/%{name}-%{version}-root
+Requires:	libjpeg-turbo-utils
+
+Vendor:		Project Vine
+Distribution:	Vine Linux
+
 
 %description
-Exif Jpeg camera setting parser and thumbnail remover
+Jhead displays and manipulates the non-image portions of EXIF formatted
+JPEG images, such as the images produced by most digital cameras.
+
+Jhead can extract various EXIF info from an JPEG file such as:
+time/date picture was taken; camera make/model; integral lowres thumbnail;
+shutter speed; F-stop number; flash used; distance camera was focused at;
+and many more. Jhead can also modify existing EXIF info on the JPEG file
+such as rotation tag, date/time offsets, jpeg comments etc.
+
+
+%description -l ja
+Jhead は、JPEG 画像ファイルの EXIF 情報を表示したり編集したりするツールです。
+ディジタルカメラで撮影された画像のほとんどは、EXIF 情報が付加されています。
+
+Jhead を使うと、撮影日時、カメラのメーカーやモデル名、埋め込みサムネール、
+シャッタースピード、F値、フラッシュ使用の有無、焦点距離、その他多くの
+EXIF 情報を JPEG ファイルから取り出し表示することが出来ます。
+また Jhead では、ローテーションタグや、日時オフセット、JPEG コメントなどを
+修正することも可能です。
+
 
 %prep
 %setup -q
 
+
 %build
-make 
+make %{?_smp_mflags} CFLAGS="%{optflags}"
+
 
 %install
 rm -rf %{buildroot}
 install -d %{buildroot}%{_bindir}
 install -d %{buildroot}%{_mandir}/man1
 install -m 755 jhead %{buildroot}%{_bindir}
-install -m 644 jhead.1.gz %{buildroot}%{_mandir}/man1/
+install -m 644 jhead.1 %{buildroot}%{_mandir}/man1/
+
 
 %clean
 rm -rf %{buildroot}
 
+
 %files
-%defattr(-,root,root)
-%doc readme.txt
-%{_bindir}/jhead
-%{_mandir}/man1/*
+%defattr(-,root,root,-)
+%doc readme.txt usage.html changes.txt
+%attr(0755,root,root) %{_bindir}/*
+%{_mandir}/man?/*
+
 
 %changelog 
+* Fri Mar 23 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.95-1
+- updated to 2.95 (the newest version so far)
+- spec revamp; add comprehensive description (English/Japanese)
+
 * Sun Sep 28 2008 Shu KONNO <owa@bg.wakwak.com> 2.6-1vl5
 - applied new versioning policy