source: projects/specs/branches/6/lib/libn/libnet/libnet-vl.spec @ 3792

Revision 3792, 3.9 KB checked in by Takemikaduchi, 13 years ago (diff)

revert spec file

Line 
1Summary:        C library for portable packet creation and injection
2Name:           libnet
3Version:        1.1.2.1
4Release:        2%{?_dist_release}
5License:        BSD
6Group:          System Environment/Libraries
7URL:            http://www.packetfactory.net/libnet/
8Source0:        http://www.packetfactory.net/libnet/dist/libnet-%{version}.tar.gz
9BuildRoot:      %{_tmppath}/%{name}-%{version}-root
10
11%description
12Libnet is an API to help with the construction and handling of network packets.
13It provides a portable framework for low-level network packet writing and
14handling (use libnet in conjunction with libpcap and you can write some really
15cool stuff).  Libnet includes packet creation at the IP layer and at the link
16layer as well as a host of supplementary and complementary functionality.
17Libnet is very handy with which to write network tools and network test code.
18See the manpage and sample test code for more detailed information.
19
20%package devel
21Summary:        Development files for libnet
22Group:          Development/Libraries
23Provides:       %{name} = %{version}-%{release}
24
25%description devel
26Libnet is an API to help with the construction and handling of network packets.
27It provides a portable framework for low-level network packet writing and
28handling (use libnet in conjunction with libpcap and you can write some really
29cool stuff).  Libnet includes packet creation at the IP layer and at the link
30layer as well as a host of supplementary and complementary functionality.
31Libnet is very handy with which to write network tools and network test code.
32See the manpage and sample test code for more detailed information.
33
34
35%prep
36%setup -q -n libnet
37sed -i -e 's/\r$//' doc/CHANGELOG doc/CONTRIB
38find . -depth -type d -name CVS -exec rm -rf {} ';'
39rm -rf sample/win32
40rm -f sample/.\#* sample/.*.swp
41
42%build
43%configure
44make %{?_smp_mflags}
45
46%install
47rm -rf %{buildroot}
48make DESTDIR=%{buildroot} install
49
50install -D --mode=0755 libnet-config %{buildroot}%{_bindir}/libnet-config
51
52install -d --mode=0755 %{buildroot}%{_mandir}/man3
53install -D --mode=0644 doc/man/man3/libnet*.3 %{buildroot}%{_mandir}/man3/
54
55make -C sample clean
56
57%clean
58rm -rf %{buildroot}
59
60%files devel
61%defattr(-,root,root,-)
62%doc README VERSION
63%doc doc/BUGS doc/CHANGELOG doc/CONTRIB doc/COPYING doc/DESIGN_NOTES
64%doc doc/MIGRATION doc/PACKET_BUILDING doc/PORTED doc/RAWSOCKET_NON_SEQUITUR
65%doc doc/TODO doc/html/ sample/
66
67%{_bindir}/libnet-config
68%{_includedir}/libnet/
69%{_includedir}/libnet.h
70%{_libdir}/libnet.a
71%{_mandir}/man3/libnet*
72
73%changelog
74* Sat Apr 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.2.1-2
75- rebuilt with current VineSeed
76
77* Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 1.1.2.1-1vl5
78- applied new versioning policy
79
80* Mon Oct 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.2.1-0vl1
81- initial build for Vine Linux based on FE package.
82
83* Tue Aug 29 2006 Patrice Dumas <dumas@centre-cired.fr> - 1.1.2.1-9
84- rebuild for FC6
85
86* Fri Feb 17 2006 Patrice Dumas <dumas@centre-cired.fr> - 1.1.2.1-8
87- rebuild for fc5
88
89* Thu Dec 22 2005 Patrice Dumas <dumas@centre-cired.fr> - 1.1.2.1-7
90- rebuild
91
92* Mon Sep 12 2005 Patrice Dumas <dumas@centre-cired.fr> 1.1.2.1-6
93- bump release and add dist tag
94
95* Tue Aug 30 2005 Paul Howarth <paul@city-fan.org> 1.1.2.1-5
96- spec file cleanup
97
98* Fri Aug 26 2005 Patrice Dumas <dumas@centre-cired.fr> 1.1.2.1-4
99- use pushd and popd (from Oliver Falk)
100
101* Mon Aug 22 2005 Patrice Dumas <dumas@centre-cired.fr> 1.1.2.1-3
102- Correct dos end of lines
103- add in devel: Provides: %%{name} = %%{version}-%%{release}
104
105* Fri Aug 12 2005 Patrice Dumas <dumas@centre-cired.fr> 1.1.2.1-2
106- put everything in a devel subpackage
107- add smpflags
108- clean in sample
109
110* Fri Aug 12 2005 Patrice Dumas <dumas@centre-cired.fr> 1.1.2.1-1
111- rebuild changing only name
112
113* Wed Jun 02 2004 Marcin Garski <garski@poczta.onet.pl> 1.1.2.1-2.fc2
114- Rebuild for Fedora Core 2
115
116* Sat May 08 2004 Marcin Garski <garski@poczta.onet.pl> 1.1.2.1-1
117- Initial specfile
Note: See TracBrowser for help on using the repository browser.