Browse Source

* fbset: rebuild; spec revamp

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@5927 ec354946-7b23-47d6-9f5a-488ba84defc7
shaolin 12 years ago
parent
commit
8a5752427c
1 changed files with 28 additions and 18 deletions
  1. 28 18
      f/fbset/fbset-vl.spec

+ 28 - 18
f/fbset/fbset-vl.spec

@@ -1,16 +1,21 @@
-Summary: Tools for managing a frame buffer's video mode properties.
-Summary(ja): フレームバッファのビデオモードを設定するツール
-Name: fbset
-Version: 2.1
-Release: 15%{?_dist_release}
-License: GPL
-Group: Applications/System
-URL: http://home.tvd.be/cr26864/Linux/fbdev/
-Source: http://www.cs.kuleuven.ac.be/~geert/bin/fbset-2.1.tar.gz
-Patch0: fbset-2.1-makefile.patch
-Patch1: fbset-2.1-fixmode.patch
-BuildRoot: %{_tmppath}/%{name}-root
-ExcludeArch: s390 s390x
+Summary:	Tools for managing a frame buffer's video mode properties.
+Summary(ja):	フレームバッファのビデオモードを設定するツール
+Name:		fbset
+Version:	2.1
+Release:	16%{?_dist_release}
+License:	GPL+
+Group:		Applications/System
+URL:		http://users.telenet.be/geertu/Linux/fbdev/
+Source:		http://users.telenet.be/geertu/Linux/fbdev/fbset-2.1.tar.gz
+BuildRequires:	bison, flex
+Patch0:		fbset-2.1-makefile.patch
+Patch1:		fbset-2.1-fixmode.patch
+Patch2:		fbset-2.1-manfix.patch
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+ExcludeArch:	s390 s390x
+
+Vendor:		Project Vine
+Distribution:	Vine Linux
 
 
 %description
@@ -33,30 +38,35 @@ fbset を使ってフレームバッファデバイスのビデオモードを
 %setup -q
 %patch0 -p1 -b .makefile
 %patch1 -p1 -b .fixmode
+%patch2 -p1 -b .man
 
 
 %build
-make
+make CFLAGS="%{optflags}"
 
 
 %install
-rm -rf ${RPM_BUILD_ROOT}
+rm -rf %{buildroot}
 
 %makeinstall
 
 
 %clean
-rm -rf ${RPM_BUILD_ROOT}
+rm -rf %{buildroot}
 
 
 %files
-%defattr(-,root,root)
+%defattr(-,root,root,-)
 %{_sbindir}/*
 %{_mandir}/man[58]/*
-%config	%{_sysconfdir}/fb.modes
+%config(noreplace) %{_sysconfdir}/fb.modes
 
 
 %changelog
+* Wed Mar 21 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.1-16
+- rebuild; spec revamp
+- import Patch2
+
 * Thu Sep 25 2008 Shu KONNO <owa@bg.wakwak.com> 2.1-15vl5
 - applied new versioning policy, spec in utf-8