Browse Source

[VineLinux:1133] shutter の manpage が gzip フォーマットになっていない
に対する暫定対処。


git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3852 ec354946-7b23-47d6-9f5a-488ba84defc7

yasumichi 13 years ago
parent
commit
b1fce1c3b4
1 changed files with 14 additions and 2 deletions
  1. 14 2
      s/shutter/shutter-vl.spec

+ 14 - 2
s/shutter/shutter-vl.spec

@@ -1,7 +1,7 @@
 Summary:	Feature-rich screenshot application. 
 Summary(ja): 	機能の豊富なスクリーンショットツール
 Name:		shutter
-Version:	0.87
+Version:	0.87.2
 Release: 	1%{?_dist_release}
 Source0:	http://shutter-project.org/wp-content/uploads/releases/tars/%{name}-%{version}.tar.gz
 #Source1:	shutter-0.86.4-ja.po
@@ -22,6 +22,8 @@ Requires(postun):desktop-file-utils
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
 BuildArch:	noarch
 
+Vendor:		Project Vine
+Distribution:	Vine Linux
 Packager:	kazutaka
 
 %description
@@ -44,7 +46,12 @@ Shutter は機能の豊富なスクリーンショットツールです。指定
 %setup -q
 
 %build
-
+# shutter.1.gz isn't gzipped (fixed [VineLinux:1133])
+if [ -f share/man/man1/shutter.1.gz ];then
+	if ! gzip -t share/man/man1/shutter.1.gz 2> /dev/null ; then
+		%{__mv} share/man/man1/shutter.1{.gz,}
+	fi
+fi
 
 %install
 %{__rm} -rf ${RPM_BUILD_ROOT}
@@ -115,6 +122,11 @@ fi
 
 
 %changelog
+* Wed May 11 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.87.2-1
+- new upstream release
+- fixed [VineLinux:1133]
+- add Vendor, Distribution tags.
+
 * Sat Feb 12 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.87-1
 - new upstream release
 - add Requires: perl(Gtk2::Unique), perl(Image::ExifTool)