1 | Summary: Simple portable interface to lowlevel networking routines |
---|
2 | Name: libdnet |
---|
3 | |
---|
4 | Version: 1.12 |
---|
5 | Release: 9%{?_dist_release} |
---|
6 | |
---|
7 | License: BSD |
---|
8 | Group: System Environment/Libraries |
---|
9 | URL: http://code.google.com/p/%{name}/ |
---|
10 | |
---|
11 | Source: http://%{name}.googlecode.com/files/%{name}-%{version}.tgz |
---|
12 | Patch0: %{name}-shrext.patch |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
14 | |
---|
15 | %description |
---|
16 | libdnet provides a simplified, portable interface to several |
---|
17 | low-level networking routines, including network address |
---|
18 | manipulation, kernel arp(4) cache and route(4) table lookup and |
---|
19 | manipulation, network firewalling (IP filter, ipfw, ipchains, |
---|
20 | pf, ...), network interface lookup and manipulation, raw IP |
---|
21 | packet and Ethernet frame, and data transmission. |
---|
22 | |
---|
23 | %package devel |
---|
24 | Summary: Header files for libdnet library |
---|
25 | Group: Development/Libraries |
---|
26 | Requires: %{name} = %{version}-%{release} |
---|
27 | |
---|
28 | %description devel |
---|
29 | %{summary}. |
---|
30 | |
---|
31 | %package progs |
---|
32 | Summary: Sample applications to use with libdnet |
---|
33 | Group: Applications/Internet |
---|
34 | Requires: %{name} = %{version}-%{release} |
---|
35 | |
---|
36 | %description progs |
---|
37 | %{summary}. |
---|
38 | |
---|
39 | %prep |
---|
40 | %setup -q |
---|
41 | %patch0 -p1 |
---|
42 | |
---|
43 | %build |
---|
44 | %configure --disable-static |
---|
45 | %{__make} %{?_smp_mflags} |
---|
46 | |
---|
47 | %install |
---|
48 | %{__rm} -rf %{buildroot} |
---|
49 | %{__make} install DESTDIR=%{buildroot} |
---|
50 | |
---|
51 | %clean |
---|
52 | %{__rm} -rf %{buildroot} |
---|
53 | |
---|
54 | |
---|
55 | %post -p /sbin/ldconfig |
---|
56 | |
---|
57 | %postun -p /sbin/ldconfig |
---|
58 | |
---|
59 | |
---|
60 | %files |
---|
61 | %defattr(-,root,root,-) |
---|
62 | %doc LICENSE README THANKS TODO |
---|
63 | %{_libdir}/*.so.* |
---|
64 | |
---|
65 | %files devel |
---|
66 | %defattr(-,root,root,-) |
---|
67 | %{_bindir}/* |
---|
68 | %{_libdir}/*.so |
---|
69 | %exclude %{_libdir}/*.la |
---|
70 | %{_includedir}/* |
---|
71 | %{_mandir}/man3/*.3* |
---|
72 | |
---|
73 | %files progs |
---|
74 | %defattr(-,root,root,-) |
---|
75 | %{_sbindir}/* |
---|
76 | %{_mandir}/man8/*.8* |
---|
77 | |
---|
78 | %changelog |
---|
79 | * Wed Mar 14 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.12-9 |
---|
80 | - initial build for Vine Linux |
---|
81 | |
---|
82 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-8 |
---|
83 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
84 | |
---|
85 | * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-7 |
---|
86 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
87 | |
---|
88 | * Fri Feb 12 2010 Oliver Falk <oliver@linux-kernel.at> - 1.12-6 |
---|
89 | - Disable build of static libs |
---|
90 | |
---|
91 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-5 |
---|
92 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
93 | |
---|
94 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-4 |
---|
95 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
96 | |
---|
97 | * Wed Feb 13 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.12-3 |
---|
98 | - Bump-n-build for GCC 4.3 |
---|
99 | |
---|
100 | * Tue Aug 21 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.12-2 |
---|
101 | - Rebuild for BuildID |
---|
102 | - Changed license tag to be more conformant |
---|
103 | |
---|
104 | * Thu Feb 15 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.12-1 |
---|
105 | - New upstream version |
---|
106 | - New upstream web site (thanks JPO!) |
---|
107 | - Patch for inconsistent shrext variable |
---|
108 | - Minor edits for consistency |
---|
109 | |
---|
110 | * Wed Jan 24 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.10-5 |
---|
111 | - Converted spec to UTF-8 to fix BZ#222794 |
---|
112 | |
---|
113 | * Wed Oct 04 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.10-4 |
---|
114 | - Bump-n-build |
---|
115 | - Reverted to 1.10; 1.11 has some serious issues |
---|
116 | |
---|
117 | * Tue Sep 19 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> - 1.10-3 |
---|
118 | - Bump for FC6 rebuild |
---|
119 | |
---|
120 | * Thu Jul 14 2005 Oliver Falk <oliver@linux-kernel.at> - 1.10-2 |
---|
121 | - Integrate Josщ's patch after reviewing the pkg. |
---|
122 | |
---|
123 | * Fri Jul 08 2005 Oliver Falk <oliver@linux-kernel.at> - 1.10-1 |
---|
124 | - Build for FE |
---|