source: projects/specs/trunk/lib/libn/libnl/libnl-vl.spec @ 8067

Revision 8067, 5.2 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

Line 
1Summary: Convenience library for kernel netlink sockets
2Summary(ja): Kernel の netlink ソケットを利用するための便利ライブラリ
3Group: Development/Libraries
4License: LGPLv2
5Name: libnl
6Version: 1.1
7Release: 4%{?_dist_release}
8URL: http://people.suug.ch/~tgr/libnl/
9Source: http://people.suug.ch/~tgr/libnl/files/libnl-%{version}.tar.gz
10BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
11BuildRequires: doxygen
12Patch1: libnl-1.0-pre5-static.patch
13Patch2: libnl-1.0-pre5-debuginfo.patch
14Patch3: libnl-1.0-pre8-use-vasprintf-retval.patch
15Patch4: libnl-1.0-pre8-more-build-output.patch
16Patch5: libnl-1.1-include-limits-h.patch
17Patch6: libnl-1.1-doc-inlinesrc.patch
18
19Vendor: Project Vine
20Distribution: Vine Linux
21Packager: daisuke
22
23%description
24This package contains a convenience library to simplify
25using the Linux kernel's netlink sockets interface for
26network manipulation
27
28%package devel
29Summary: Libraries and headers for using libnl
30Summary(ja): Libraries and headers for using libnl
31Group: Development/Libraries
32Requires: %{name} = %{version}-%{release}
33Requires: kernel-headers
34
35%description devel
36This package contains various headers for using libnl
37
38%prep
39%setup -q -n %{name}-%{version}
40%patch1 -p1 -b .build-static
41%patch2 -p1 -b .debuginfo
42%patch3 -p1 -b .use-vasprintf-retval
43%patch4 -p1 -b .more-build-output
44%patch5 -p1 -b .limits
45%patch6 -p1 -b .doc-inlinesrc
46
47# a quick hack to make doxygen stripping builddir from html outputs.
48sed -i.org -e "s,^STRIP_FROM_PATH.*,STRIP_FROM_PATH = `pwd`," doc/Doxyfile.in
49
50%build
51%configure
52make
53make gendoc
54
55%install
56%{__rm} -rf $RPM_BUILD_ROOT
57make install DESTDIR=$RPM_BUILD_ROOT
58
59%clean
60%{__rm} -rf $RPM_BUILD_ROOT
61
62%post -p /sbin/ldconfig
63%postun -p /sbin/ldconfig
64
65%files
66%defattr(-,root,root)
67%{_libdir}/%{name}.so.*
68%doc COPYING
69
70%files devel
71%defattr(-,root,root,0755)
72%{_includedir}/netlink/
73%doc doc/html
74%{_libdir}/%{name}.so
75%{_libdir}/%{name}.a
76%{_libdir}/pkgconfig/%{name}-1.pc
77
78%changelog
79* Sat Dec 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1-4
80- rebuild with VineSeed environment
81
82* Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 1.1-3
83- rebuilt with rpm-4.8.1 for pkg-config
84
85* Wed May 05 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-2
86- rebuild with new toolchain
87
88* Wed Jul 30 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1
89- initial build for Vine Linux
90
91* Fri Jun 27 2008 Dan Williams <dcbw@redhat.com> - 1.1-5
92- Build documentation in -devel package (rh #452646)
93
94* Thu May 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1-4
95- fix license tag
96
97* Fri Feb 22 2008 Dan Williams <dcbw@redhat.com> - 1.1-3
98- Include limits.h to fix gcc 4.3 rebuild issues (rh #434055)
99
100* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1-2
101- Autorebuild for GCC 4.3
102
103* Wed Jan 23 2008 Dan Williams <dcbw@redhat.com> - 1.1-1
104- Update to version 1.1
105
106* Tue Dec 18 2007 Dan Williams <dcbw@redhat.com> - 1.0-0.15.pre8.git20071218
107- Handle removal of include/linux/ip_mp_alg.h in 2.6.24
108
109* Tue Dec 18 2007 Dan Williams <dcbw@redhat.com> - 1.0-0.14.pre8.git20071217
110- devel package should require kernel-headers
111
112* Mon Dec 17 2007 Dan Williams <dcbw@redhat.com> - 1.0-0.13.pre8.git20071217
113- Add dist tag to revision
114
115* Mon Dec 17 2007 Dan Williams <dcbw@redhat.com> - 1.0-0.12.pre8.git20071217
116- Update to -pre8 + fixes (rh #401761)
117
118* Mon Aug 14 2006 Peter Jones <pjones@redhat.com> - 1.0-0.10.pre5.4
119- Fix nl_recv() for ppc64
120
121* Mon Jul 31 2006 Jeremy Katz <katzj@redhat.com> - 1.0-0.10.pre5.3
122- unbreak the pkgconfig file
123
124* Wed Jul 26 2006 Matthias Clasen <mclasen@redhat.com> - 1.0-0.10.pre5.2
125- Fix the pkgconfig file on 64-bit systems (#197176)
126
127* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0-0.10.pre5.1
128- rebuild
129
130* Thu Jun 15 2006 Peter Jones <pjones@redhat.com> 1.0-0.10.pre5
131- Fix debuginfo generation.
132
133* Fri May 26 2006 Jason Vas Dias <jvdias@redhat.com> 1.0-0.9.pre5
134- Allow build to succeed with new gcc / glibc-kernheaders
135  (compile failed on __u64 redefinition on x86_64).
136- Add a static %{_libdir}/libnl.a library to libnl-devel for
137  programs that might need to do a static link to libnl.
138  Added after consultation with Christopher Aillon.
139
140* Sun Feb 12 2006 Christopher Aillon <caillon@redhat.com> 1.0-0.8.pre5
141- Rebuild
142
143* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0-0.7.pre5.1
144- rebuilt for new gcc4.1 snapshot and glibc changes
145
146* Mon Jan 16 2006 Christopher Aillon <caillon@redhat.com> 1.0-0.7.pre5
147- Add patch to not chown files to root.root during make install; it
148  happens normally.
149
150* Mon Jan  9 2006 Christopher Aillon <caillon@redhat.com> 1.0-0.6.pre5
151- Correctly install the pkgconfig file
152
153* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
154- rebuilt
155
156* Wed Nov  2 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.5.pre5
157- Fix 64bit LIBDIR issue; use $LIBDIR instead of $PREFIX/lib
158
159* Wed Nov  2 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.4.pre5
160- Update to 1.0-pre5
161
162* Tue Nov  1 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.3.pre4
163- Update to 1.0-pre4
164
165* Tue Nov  1 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.2.pre3
166- Minor specfile cleanup
167
168* Thu Oct 27 2005 Dan Williams <dcbw@redhat.com> 1.0-0.1.pre3
169- Split into main and devel packages
170
171* Thu Oct 27 2005 Dan Williams <dcbw@redhat.com> 1.0-0.0.pre3
172- initial build
Note: See TracBrowser for help on using the repository browser.