/[packages]/cauldron/open/current/SPECS/open.spec
ViewVC logotype

Diff of /cauldron/open/current/SPECS/open.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 273157 by tv, Thu Mar 17 12:11:11 2011 UTC revision 273158 by colin, Sat Jul 21 17:42:31 2012 UTC
# Line 1  Line 1 
1  %define name    open  %define name    open
2  %define version 1.4  %define version 1.4
3  %define release %mkrel 21  %define release %mkrel 22
4  Summary:        A tool which will start a program on a virtual console  Summary:        A tool which will start a program on a virtual console
5  Name:           %{name}  Name:           %{name}
6  Version:        %{version}  Version:        %{version}
# Line 9  License:       GPL Line 9  License:       GPL
9  Group:          Terminals  Group:          Terminals
10  Source:         ftp://sunsite.unc.edu/pub/Linux/utils/console/%{name}-%{version}.tar.bz2  Source:         ftp://sunsite.unc.edu/pub/Linux/utils/console/%{name}-%{version}.tar.bz2
11  Patch0:         %{name}-1.4-includes.patch  Patch0:         %{name}-1.4-includes.patch
12  Buildroot:      %{_tmppath}/%{name}-%{version}-buildroot  BuildRoot:      %{_tmppath}/%{name}-%{version}-buildroot
13    Requires(pre):  filesystem >= 2.1.9-18
14    
15  %description  %description
16  The open command starts a specified command with the first available virtual  The open command starts a specified command with the first available virtual
# Line 29  rm -rf $RPM_BUILD_ROOT Line 30  rm -rf $RPM_BUILD_ROOT
30  mkdir -p $RPM_BUILD_ROOT/{%{_bindir},%{_mandir}/man1}  mkdir -p $RPM_BUILD_ROOT/{%{_bindir},%{_mandir}/man1}
31    
32  make BINDIR=$RPM_BUILD_ROOT%{_bindir} MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 install  make BINDIR=$RPM_BUILD_ROOT%{_bindir} MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 install
 mkdir -p $RPM_BUILD_ROOT/bin  
 mv $RPM_BUILD_ROOT%{_bindir}/open $RPM_BUILD_ROOT/bin  
 ln -s /bin/open $RPM_BUILD_ROOT%{_bindir}/open  
33    
34  %clean  %clean
35  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
36    
37  %files  %files
38  %defattr(-,root,root)  %defattr(-,root,root)
 /bin/open  
39  %{_bindir}/open  %{_bindir}/open
40  %{_bindir}/switchto  %{_bindir}/switchto
41  %{_mandir}/man1/open.*  %{_mandir}/man1/open.*

Legend:
Removed from v.273157  
changed lines
  Added in v.273158

  ViewVC Help
Powered by ViewVC 1.1.30