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

Revision 12531, 5.9 KB checked in by tomop, 3 years ago (diff)

updated 10 packages

file-5.39-1

jansson-2.13.1-1

lz4-1.9.3-1

libarchive-3.5.1-1

libcap-ng-0.8.2-1

libevent-2.1.12-1

libnet-1.2-1

nss-3.61-1

openssl-1.1.1j-1

zstd-1.4.8-1

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