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

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

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

revision 390676 by pterjan, Thu Jan 17 21:30:27 2013 UTC revision 390677 by buchan, Mon Jan 21 23:20:42 2013 UTC
# Line 1  Line 1 
1    # autoreconf -fi gives errors
2    %define __libtoolize /bin/true
3    # libtacacs doesnt link due to undefined references
4    %define _disable_ld_no_undefined 1
5    %define libname %mklibname tacacs 1
6    %define libdevel %mklibname -d tacacs
7    
8  Name:           tac_plus  Name:           tac_plus
9  Version:        4.0.4.14  Version:        4.0.4.26
10  Release:        %mkrel 6  Release:        %mkrel 1
11  License:        BSD  License:        BSD
12  Group:          System/Servers  Group:          System/Servers
13  Summary:        TACACS+ server based on Cisco engineering release  Summary:        TACACS+ server based on Cisco engineering release
# Line 10  Source1:       tac_plus.conf Line 17  Source1:       tac_plus.conf
17  Source2:        tac_plus.pamd  Source2:        tac_plus.pamd
18  Source3:        tac_plus.init  Source3:        tac_plus.init
19  Source4:        tac_plus.sysconfig  Source4:        tac_plus.sysconfig
20    BuildRequires:  flex bison
21  Requires(pre):  rpm-helper  Requires(pre):  rpm-helper
22  Requires(post): rpm-helper  Requires(post): rpm-helper
23  BuildRoot:      %{_tmppath}/%{name}-%{version}-root  BuildRoot:      %{_tmppath}/%{name}-%{version}-root
# Line 39  which was the addition of a host clause Line 47  which was the addition of a host clause
47  added; ported from Devrim Seral's implementation. See the documentation for  added; ported from Devrim Seral's implementation. See the documentation for
48  further information.  further information.
49    
50    %package -n %libname
51    Summary: Tacacs library from tac_plus
52    Group: System/Libraries
53    
54    %description -n %libname
55    A shared library for TACACS+ from tac_plus.
56    
57    %package -n %libdevel
58    Summary: Tacacs development libarary from tac_plus
59    Group: Development/Other
60    
61    %description -n %libdevel
62    Development library for TACACS+ from tac_plus.
63    
64  %prep  %prep
65  %setup -q -n tacacs+-F%{version}  %setup -q -n tacacs+-F%{version}
# Line 58  install -m 755 %{SOURCE3} %{buildroot}/% Line 79  install -m 755 %{SOURCE3} %{buildroot}/%
79  install -m 644 %{SOURCE4} %{buildroot}/%{_sysconfdir}/sysconfig/%{name}  install -m 644 %{SOURCE4} %{buildroot}/%{_sysconfdir}/sysconfig/%{name}
80  mv %{buildroot}/%{_datadir}/{tacacs+,tac_plus}  mv %{buildroot}/%{_datadir}/{tacacs+,tac_plus}
81    
82    rm -f %{buildroot}/%{_libdir}/libtacacs.{a,la}
83    
84  %clean  %clean
85  rm -Rf %{buildroot}  rm -Rf %{buildroot}
86    
# Line 77  rm -Rf %{buildroot} Line 100  rm -Rf %{buildroot}
100  %doc %{_mandir}/man5/tac_plus.conf.5.*  %doc %{_mandir}/man5/tac_plus.conf.5.*
101  %doc %{_mandir}/man8/tac_plus.8.*  %doc %{_mandir}/man8/tac_plus.8.*
102  %doc %{_mandir}/man8/tac_pwd.8.*  %doc %{_mandir}/man8/tac_pwd.8.*
103  %doc %{_mandir}/man3/regexp.3.*  #doc %{_mandir}/man3/regexp.3.*
104  %doc users_guide  %doc users_guide
105  %{_datadir}/%{name}  %{_datadir}/%{name}
106    
107    %files -n %libname
108    %defattr(-,root,root)
109    %{_libdir}/libtacacs.so.1*
110    
111    %files -n %libdevel
112    %defattr(-,root,root)
113    %{_libdir}/libtacacs.so
114    %{_includedir}/tacacs.h

Legend:
Removed from v.390676  
changed lines
  Added in v.390677

  ViewVC Help
Powered by ViewVC 1.1.28