File: libradsec.spec.in

package info (click to toggle)
libradsec 0.0.5-3
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 2,576 kB
  • ctags: 1,457
  • sloc: sh: 11,411; ansic: 10,493; perl: 270; makefile: 172
file content (77 lines) | stat: -rw-r--r-- 1,409 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
Name: @PACKAGE@
Version:	@PACKAGE_VERSION@
Release:	1%{?dist}
Summary:	RADIUS over TLS library

Group:		System Environment/Libraries
License:	BSD
URL:		http://software.uninett.no/radsecproxy/?page=documentation
Source0:	%{name}-%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root



BuildRequires: openssl-devel
BuildRequires: libconfuse-devel
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: libevent-devel >= 2.0



%description
	Libradsec is a RADIUS over TLS library.


%package	devel
Summary:	Development files for %{name}
Group:		Development/Libraries
Requires:	%{name} = %{version}-%{release}

%description	devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.


%prep
%setup -q


%build
	export CPPFLAGS='-I%{_includedir}'
	export LDFLAGS='-L%{_libdir}'
%configure --disable-static --enable-tls --enable-tls-psk
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'


%clean
rm -rf $RPM_BUILD_ROOT


%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%doc README
%{_libdir}/*.so.*

%files devel
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/*.so


%changelog
* Tue Sep 27 2011  <hartmans@moonbuildcentos.dev.ja.net> - %{version}-1
- initial version