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