1 |
slords |
1.2 |
# $Id$ |
2 |
|
|
|
3 |
slords |
1.1 |
Group: Networking/Daemons |
4 |
|
|
Name: diald |
5 |
|
|
Version: 1.0 |
6 |
|
|
Release: 3%{?dist} |
7 |
|
|
License: GNU General Public License |
8 |
|
|
|
9 |
|
|
Summary: On demand link manager |
10 |
|
|
#URL: |
11 |
|
|
|
12 |
|
|
BuildRoot: /tmp/diald-root-%{version}-%{release}-%(id -u -n) |
13 |
|
|
Source: diald-%{version}.tar.gz |
14 |
|
|
Source1: diald.init |
15 |
|
|
Patch0: diald-%{version}.time.h.patch |
16 |
|
|
Patch1: diald-%{version}.proxy_slip.patch |
17 |
|
|
Patch2: diald-%{version}.buffer.patch |
18 |
|
|
Patch3: diald-%{version}.ticks.patch |
19 |
|
|
Patch4: diald-%{version}.install.patch |
20 |
|
|
|
21 |
|
|
%changelog |
22 |
|
|
* Mon May 14 2007 Shad L. Lords <slords@mail.com> 1.0-3 |
23 |
|
|
- Fix Makefile to not set ownerships |
24 |
|
|
|
25 |
|
|
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
26 |
|
|
- Clean up spec so package can be built by koji/plague |
27 |
|
|
|
28 |
|
|
* Wed Mar 21 2007 Shad L. Lords <slords@mail.com> 1.0-2 |
29 |
|
|
- Update time references to build on el5. |
30 |
|
|
|
31 |
|
|
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
32 |
|
|
- Update to new release naming. No functional changes. |
33 |
|
|
- Make Packager generic |
34 |
|
|
|
35 |
|
|
* Tue Oct 04 2005 Charlie Brady <charlieb@e-smith.com> 1.0-1cb4 |
36 |
|
|
- Add RedHat init script |
37 |
|
|
- Add defattr, to hush complaints about missing uid at install time. |
38 |
|
|
|
39 |
|
|
* Tue Oct 04 2005 Charlie Brady <charlieb@e-smith.com> 1.0-1cb3 |
40 |
|
|
- Include buffer.c rewrite from sourceforge. |
41 |
|
|
|
42 |
|
|
* Tue Oct 04 2005 Charlie Brady <charlieb@e-smith.com> 1.0-1cb2 |
43 |
|
|
- Add proxy_slip patch from sourceforge. |
44 |
|
|
|
45 |
|
|
* Tue Oct 04 2005 Charlie Brady <charlieb@e-smith.com> 1.0-1cb1 |
46 |
|
|
- s/Copyright/License/ |
47 |
|
|
- Include compressed manpages in file list. |
48 |
|
|
- Fix time.h include for linux 2.6. |
49 |
|
|
|
50 |
|
|
%description |
51 |
|
|
On demand link manager. |
52 |
|
|
|
53 |
|
|
%prep |
54 |
|
|
%setup |
55 |
|
|
%patch0 -p1 |
56 |
|
|
%patch1 -p1 |
57 |
|
|
%patch2 -p1 |
58 |
|
|
%patch3 -p1 |
59 |
|
|
%patch4 -p1 |
60 |
|
|
|
61 |
|
|
%build |
62 |
|
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ |
63 |
|
|
--mandir=%{_mandir} |
64 |
|
|
make |
65 |
|
|
|
66 |
|
|
%install |
67 |
|
|
rm -rf "$RPM_BUILD_ROOT" |
68 |
|
|
make install DESTDIR="$RPM_BUILD_ROOT" |
69 |
|
|
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d |
70 |
|
|
cp %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/diald |
71 |
|
|
|
72 |
|
|
%clean |
73 |
|
|
rm -rf "$RPM_BUILD_ROOT" |
74 |
|
|
|
75 |
|
|
|
76 |
|
|
%files |
77 |
|
|
%defattr(-,root,root) |
78 |
|
|
%doc BUGS CHANGES LICENSE NOTES TODO TODO.budget doc/diald-faq.txt |
79 |
|
|
%doc README README.ethertap README.masq README.pam |
80 |
|
|
%doc %{_mandir}/man1/dctrl.1* |
81 |
|
|
%doc %{_mandir}/man5/diald-examples.5* |
82 |
|
|
%doc %{_mandir}/man5/diald-control.5* |
83 |
|
|
%doc %{_mandir}/man5/diald-monitor.5* |
84 |
|
|
%doc %{_mandir}/man8/diald.8* |
85 |
|
|
%attr (0644, root, root) /etc/pam.d/diald |
86 |
|
|
%attr (0755, root, root) /usr/sbin/diald |
87 |
|
|
%attr (0755, root, root) /etc/rc.d/init.d/diald |
88 |
|
|
%attr (0755, root, root) /usr/bin/dctrl |
89 |
|
|
%attr (0644, root, root) /usr/lib/diald/*.gif |
90 |
|
|
%attr (0644, root, root) /usr/lib/diald/diald.defs |
91 |
|
|
%attr (0644, root, root) /usr/lib/diald/standard.filter |
92 |
|
|
%attr (0644, root, root) /usr/lib/diald/connect |