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

Revision 982, 5.0 KB checked in by daisuke, 14 years ago (diff)

libnl: rebuild with new toolchain

Line 
1Summary: Convenience library for kernel netlink sockets
2Summary(ja): Kernel の netlink ソケットを利用するための便利ライブラリ
3Group: Development/Libraries
4License: LGPLv2
5Name: libnl
6Version: 1.1
7Release: 2%{?_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* Wed May 05 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-2
80- rebuild with new toolchain
81
82* Wed Jul 30 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1
83- initial build for Vine Linux
84
85* Fri Jun 27 2008 Dan Williams <dcbw@redhat.com> - 1.1-5
86- Build documentation in -devel package (rh #452646)
87
88* Thu May 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1-4
89- fix license tag
90
91* Fri Feb 22 2008 Dan Williams <dcbw@redhat.com> - 1.1-3
92- Include limits.h to fix gcc 4.3 rebuild issues (rh #434055)
93
94* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1-2
95- Autorebuild for GCC 4.3
96
97* Wed Jan 23 2008 Dan Williams <dcbw@redhat.com> - 1.1-1
98- Update to version 1.1
99
100* Tue Dec 18 2007 Dan Williams <dcbw@redhat.com> - 1.0-0.15.pre8.git20071218
101- Handle removal of include/linux/ip_mp_alg.h in 2.6.24
102
103* Tue Dec 18 2007 Dan Williams <dcbw@redhat.com> - 1.0-0.14.pre8.git20071217
104- devel package should require kernel-headers
105
106* Mon Dec 17 2007 Dan Williams <dcbw@redhat.com> - 1.0-0.13.pre8.git20071217
107- Add dist tag to revision
108
109* Mon Dec 17 2007 Dan Williams <dcbw@redhat.com> - 1.0-0.12.pre8.git20071217
110- Update to -pre8 + fixes (rh #401761)
111
112* Mon Aug 14 2006 Peter Jones <pjones@redhat.com> - 1.0-0.10.pre5.4
113- Fix nl_recv() for ppc64
114
115* Mon Jul 31 2006 Jeremy Katz <katzj@redhat.com> - 1.0-0.10.pre5.3
116- unbreak the pkgconfig file
117
118* Wed Jul 26 2006 Matthias Clasen <mclasen@redhat.com> - 1.0-0.10.pre5.2
119- Fix the pkgconfig file on 64-bit systems (#197176)
120
121* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0-0.10.pre5.1
122- rebuild
123
124* Thu Jun 15 2006 Peter Jones <pjones@redhat.com> 1.0-0.10.pre5
125- Fix debuginfo generation.
126
127* Fri May 26 2006 Jason Vas Dias <jvdias@redhat.com> 1.0-0.9.pre5
128- Allow build to succeed with new gcc / glibc-kernheaders
129  (compile failed on __u64 redefinition on x86_64).
130- Add a static %{_libdir}/libnl.a library to libnl-devel for
131  programs that might need to do a static link to libnl.
132  Added after consultation with Christopher Aillon.
133
134* Tue Feb 12 2006 Christopher Aillon <caillon@redhat.com> 1.0-0.8.pre5
135- Rebuild
136
137* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0-0.7.pre5.1
138- rebuilt for new gcc4.1 snapshot and glibc changes
139
140* Mon Jan 16 2006 Christopher Aillon <caillon@redhat.com> 1.0-0.7.pre5
141- Add patch to not chown files to root.root during make install; it
142  happens normally.
143
144* Mon Jan  9 2006 Christopher Aillon <caillon@redhat.com> 1.0-0.6.pre5
145- Correctly install the pkgconfig file
146
147* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
148- rebuilt
149
150* Wed Nov  2 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.5.pre5
151- Fix 64bit LIBDIR issue; use $LIBDIR instead of $PREFIX/lib
152
153* Wed Nov  2 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.4.pre5
154- Update to 1.0-pre5
155
156* Tue Nov  1 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.3.pre4
157- Update to 1.0-pre4
158
159* Tue Nov  1 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.2.pre3
160- Minor specfile cleanup
161
162* Thu Oct 27 2005 Dan Williams <dcbw@redhat.com> 1.0-0.1.pre3
163- Split into main and devel packages
164
165* Thu Oct 27 2005 Dan Williams <dcbw@redhat.com> 1.0-0.0.pre3
166- initial build
Note: See TracBrowser for help on using the repository browser.