source: projects/specs/trunk/lib/libn/libnet/libnet-vl.spec @ 12309

Revision 12309, 5.9 KB checked in by tomop, 4 years ago (diff)

updated 10 packages

PyYAML-5.1.2-1

lz4-1.9.2-1

libnet-1.1.6-2

libyaml-0.2.2-1

mecab-naist-jdic-0.6.3b.20111013-2

mecab-0.996-3

perl-HTTP-Cookies-6.04-8

perl-LWP-Protocol-https-6.07-10

perl-Mozilla-CA-20180117-7

swig-4.0.1-1

Line 
1Summary:        C library for portable packet creation and injection
2Name:           libnet
3Version:        1.1.6
4Release:        2%{?_dist_release}
5License:        BSD
6Group:          System Environment/Libraries
7URL:            http://www.sourceforge.net/projects/libnet-dev/
8Source0:        http://downloads.sourceforge.net/libnet-dev/%{name}-%{version}.tar.gz
9
10BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
11
12Vendor:         Project Vine
13Distribution:   Vine Linux
14
15%description
16Libnet is an API to help with the construction and handling of network
17packets. It provides a portable framework for low-level network packet
18writing and handling (use libnet in conjunction with libpcap and you can
19write some really cool stuff). Libnet includes packet creation at the IP
20layer and at the link layer as well as a host of supplementary and
21complementary functionality.
22
23%package devel
24Summary:        Development files for the libnet library
25Summary(ja):    libnet ライブラリの開発用ファイル
26Group:          Development/Libraries
27Requires:       %{name} = %{version}-%{release}
28
29%description devel
30The libnet-devel package includes header files and libraries necessary
31for developing programs which use the libnet library. Libnet is very handy
32with which to write network tools and network test code. See the manpage
33and sample test code for more detailed information.
34
35%prep
36%setup -q
37autoreconf -ivf
38
39# Keep the sample directory untouched by make
40rm -rf __dist_sample
41mkdir -p __dist_sample
42cp -a sample __dist_sample
43
44%build
45%configure
46make %{?_smp_mflags}
47
48%install
49rm -rf $RPM_BUILD_ROOT
50make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install
51
52rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.{a,la}
53
54# Prepare samples directory and perform some fixes
55rm -rf __dist_sample/sample/win32
56rm -f __dist_sample/sample/Makefile.{am,in}
57sed -e 's@#include "../include/libnet.h"@#include <libnet.h>@' \
58  __dist_sample/sample/libnet_test.h > __dist_sample/sample/libnet_test.h.new
59touch -c -r __dist_sample/sample/libnet_test.h{,.new}
60mv -f __dist_sample/sample/libnet_test.h{.new,}
61
62# Remove makefile relics from documentation
63rm -f doc/html/Makefile*
64
65%clean
66rm -rf $RPM_BUILD_ROOT
67
68%post -p /sbin/ldconfig
69
70%postun -p /sbin/ldconfig
71
72%files
73%defattr(-,root,root,-)
74%doc README doc/CHANGELOG doc/CONTRIB doc/COPYING
75%{_libdir}/%{name}.so.*
76
77%files devel
78%defattr(-,root,root,-)
79%doc doc/CHANGELOG doc/CONTRIB doc/COPYING doc/DESIGN_NOTES doc/MIGRATION doc/PACKET_BUILDING
80%doc doc/RAWSOCKET_NON_SEQUITUR doc/TODO doc/html/ __dist_sample/sample/
81%{_bindir}/%{name}-config
82%{_libdir}/%{name}.so
83%{_includedir}/libnet.h
84%{_includedir}/%{name}/
85%{_mandir}/man3/%{name}*.3*
86
87%changelog
88* Wed Oct 30 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.1.6-2
89- rebuilt with current environment.
90
91* Thu Feb 26 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.1.6-1
92- updated to 1.1.6
93
94* Thu Mar 15 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1.5-1
95- updated to 1.1.5; spec revamped
96
97  - Sat Apr 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.2.1-2
98  - rebuilt with current VineSeed
99 
100  - Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 1.1.2.1-1vl5
101  - applied new versioning policy
102 
103  - Mon Oct 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.2.1-0vl1
104  - initial build for Vine Linux based on FE package.
105
106* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.5-3
107- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
108
109* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.5-2
110- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
111
112* Tue Dec 28 2010 Robert Scheck <robert@fedoraproject.org> 1.1.5-1
113- Upgrade to 1.1.5
114
115* Fri Jul 09 2010 Robert Scheck <robert@fedoraproject.org> 1.1.4-4
116- Added patch for capability support rather UID check (#589770)
117
118* Fri Aug 21 2009 Robert Scheck <robert@fedoraproject.org> 1.1.4-3
119- Move libnet.so.* to /lib[64] to avoid static linking (#518150)
120
121* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-2
122- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
123
124* Thu Jun 11 2009 Robert Scheck <robert@fedoraproject.org> 1.1.4-1
125- Upgrade to 1.1.4
126
127* Sat Jun 06 2009 Robert Scheck <robert@fedoraproject.org> 1.1.3-2
128- Added upstream patch to solve HAVE_CONFIG_H (#501633, #502400)
129
130* Sat May 16 2009 Robert Scheck <robert@fedoraproject.org> 1.1.3-1
131- Upgrade to 1.1.3
132
133* Sun Apr 19 2009 Robert Scheck <robert@fedoraproject.org> 1.1.2.1-14
134- Enabled a shared library and made lots of spec file cleanups
135
136* Mon Feb 23 2009 Robert Scheck <robert@fedoraproject.org> 1.1.2.1-13
137- Rebuild against gcc 4.4 and rpm 4.6
138
139* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.2.1-12
140- Autorebuild for GCC 4.3
141
142* Wed Aug  1 2007 Patrice Dumas <pertusus@free.fr> 1.1.2.1-11
143- build with -fPIC (#250296)
144
145* Fri Jan 12 2007 Patrice Dumas <pertusus@free.fr> 1.1.2.1-10
146- add debian patch to correct bad checksums
147
148* Tue Aug 29 2006 Patrice Dumas <pertusus@free.fr> 1.1.2.1-9
149- rebuild for FC6
150
151* Fri Feb 17 2006 Patrice Dumas <pertusus@free.fr> 1.1.2.1-8
152- rebuild for fc5
153
154* Thu Dec 22 2005 Patrice Dumas <pertusus@free.fr> 1.1.2.1-7
155- rebuild
156
157* Mon Sep 12 2005 Patrice Dumas <pertusus@free.fr> 1.1.2.1-6
158- bump release and add dist tag
159
160* Tue Aug 30 2005 Paul Howarth <paul@city-fan.org> 1.1.2.1-5
161- spec file cleanup
162
163* Fri Aug 26 2005 Patrice Dumas <pertusus@free.fr> 1.1.2.1-4
164- use pushd and popd (from Oliver Falk)
165
166* Mon Aug 22 2005 Patrice Dumas <pertusus@free.fr> 1.1.2.1-3
167- Correct dos end of lines
168- add in devel: Provides: %%{name} = %%{version}-%%{release}
169
170* Fri Aug 12 2005 Patrice Dumas <pertusus@free.fr> 1.1.2.1-2
171- put everything in a devel subpackage
172- add smpflags
173- clean in sample
174
175* Fri Aug 12 2005 Patrice Dumas <pertusus@free.fr> 1.1.2.1-1
176- rebuild changing only name
177
178* Wed Jun 02 2004 Marcin Garski <garski@poczta.onet.pl> 1.1.2.1-2.fc2
179- Rebuild for Fedora Core 2
180
181* Sat May 08 2004 Marcin Garski <garski@poczta.onet.pl> 1.1.2.1-1
182- Initial specfile
Note: See TracBrowser for help on using the repository browser.