Modify manpage path from /usr/share to /usr/man.

Fri, 21 Sep 2012 22:41:30 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 21 Sep 2012 22:41:30 +0200
changeset 701
86ba9e0b19e2
parent 700
2164082fa57f
child 702
005f3015911e

Modify manpage path from /usr/share to /usr/man.

sipcalc/sipcalc.spec file | annotate | diff | comparison | revisions
     1.1 --- a/sipcalc/sipcalc.spec	Fri Sep 21 22:40:46 2012 +0200
     1.2 +++ b/sipcalc/sipcalc.spec	Fri Sep 21 22:41:30 2012 +0200
     1.3 @@ -32,19 +32,15 @@
     1.4  Group:        Mapping
     1.5  License:      GPL
     1.6  Version:      1.1.5
     1.7 -Release:      20090721
     1.8 +Release:      20120800
     1.9  
    1.10  #   list of sources
    1.11  Source0:      http://www.routemeister.net/projects/sipcalc/files/sipcalc-%{version}.tar.gz
    1.12  Patch0:       sipcalc.patch
    1.13  
    1.14  #   build information
    1.15 -Prefix:       %{l_prefix}
    1.16 -BuildRoot:    %{l_buildroot}
    1.17 -BuildPreReq:  OpenPKG, openpkg >= 20040130, gcc, make
    1.18 -PreReq:       OpenPKG, openpkg >= 20040130
    1.19 -AutoReq:      no
    1.20 -AutoReqProv:  no
    1.21 +BuildPreReq:  OpenPKG, openpkg >= 20100101, gcc, make
    1.22 +PreReq:       OpenPKG, openpkg >= 20100101
    1.23  
    1.24  %description
    1.25      SipCalc is an IP subnet calculator.
    1.26 @@ -65,11 +61,11 @@
    1.27      CFLAGS="%{l_cflags -O}" \
    1.28      GREP="grep" \
    1.29      ./configure \
    1.30 -        --prefix=%{l_prefix}
    1.31 +        --prefix=%{l_prefix} \
    1.32 +        --mandir=%{l_prefix}/man
    1.33      %{l_make} %{l_mflags -O}
    1.34  
    1.35  %install
    1.36 -    rm -rf $RPM_BUILD_ROOT
    1.37      %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
    1.38      strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
    1.39      %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
    1.40 @@ -77,5 +73,4 @@
    1.41  %files -f files
    1.42  
    1.43  %clean
    1.44 -    rm -rf $RPM_BUILD_ROOT
    1.45  

mercurial