[8624] | 1 | Name: libmnl |
---|
[11068] | 2 | Version: 1.0.4 |
---|
[12121] | 3 | Release: 2%{?_dist_release} |
---|
[8624] | 4 | Summary: A minimalistic Netlink library |
---|
| 5 | |
---|
| 6 | Group: System Environment/Libraries |
---|
| 7 | License: LGPLv2+ |
---|
| 8 | URL: http://netfilter.org/projects/libmnl |
---|
| 9 | Source0: http://netfilter.org/projects/libmnl/files/%{name}-%{version}.tar.bz2 |
---|
| 10 | |
---|
| 11 | Vendor: Project Vine |
---|
| 12 | Distribution: Vine Linux |
---|
| 13 | Packager: tomop |
---|
| 14 | |
---|
| 15 | %description |
---|
| 16 | libmnl is a minimalistic user-space library oriented to Netlink developers. |
---|
| 17 | There are a lot of common tasks in parsing, validating, constructing of both |
---|
| 18 | the Netlink header and TLVs that are repetitive and easy to get wrong. |
---|
| 19 | This library aims to provide simple helpers that allows you to re-use code and |
---|
| 20 | to avoid re-inventing the wheel. |
---|
| 21 | |
---|
| 22 | |
---|
| 23 | %package devel |
---|
| 24 | Summary: Development files for %{name} |
---|
| 25 | Group: Development/Libraries |
---|
| 26 | Requires: %{name}%{_isa} = %{version}-%{release} |
---|
| 27 | |
---|
| 28 | %package static |
---|
| 29 | Summary: Static development files for %{name} |
---|
| 30 | Group: Development/Libraries |
---|
| 31 | Requires: %{name} = %{version}-%{release} |
---|
| 32 | |
---|
| 33 | %description devel |
---|
| 34 | The %{name}-devel package contains libraries and header files for |
---|
| 35 | developing applications that use %{name}. |
---|
| 36 | |
---|
| 37 | %description static |
---|
| 38 | The %{name}-static package contains static libraries for devleoping applications that use %{name}. |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | %prep |
---|
| 42 | %setup -q |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | %build |
---|
| 46 | %configure --enable-static |
---|
| 47 | make CFLAGS="%{optflags}" %{?_smp_mflags} |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | %install |
---|
| 51 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 52 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
| 53 | find examples '(' -name 'Makefile.am' -o -name 'Makefile.in' ')' -exec rm -f {} ';' |
---|
| 54 | find examples -type d -name '.deps' -prune -exec rm -rf {} ';' |
---|
| 55 | mv examples examples-%{_arch} |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | %post -p /sbin/ldconfig |
---|
| 59 | |
---|
| 60 | %postun -p /sbin/ldconfig |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | %files |
---|
[12121] | 64 | %license COPYING |
---|
| 65 | %doc README |
---|
[8624] | 66 | %{_libdir}/*.so.* |
---|
| 67 | |
---|
| 68 | %files devel |
---|
[12121] | 69 | %license COPYING |
---|
[8624] | 70 | %doc examples-%{_arch} |
---|
| 71 | %{_includedir}/* |
---|
| 72 | %{_libdir}/pkgconfig/*.pc |
---|
| 73 | %{_libdir}/*.so |
---|
| 74 | |
---|
| 75 | %files static |
---|
| 76 | %{_libdir}/*.a |
---|
| 77 | |
---|
| 78 | %changelog |
---|
[12121] | 79 | * Sun Aug 25 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.4-2 |
---|
| 80 | - rebuilt with current environment. |
---|
| 81 | |
---|
[11068] | 82 | * Mon May 8 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.4-1 |
---|
| 83 | - new upstream release. |
---|
| 84 | |
---|
[8624] | 85 | * Sun Jun 29 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.3-8 |
---|
| 86 | - initial build for Vine Linux. |
---|
| 87 | |
---|
| 88 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-7 |
---|
| 89 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
| 90 | |
---|
| 91 | * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-6 |
---|
| 92 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
| 93 | |
---|
| 94 | * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-5 |
---|
| 95 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
| 96 | |
---|
| 97 | * Sun Aug 12 2012 Hushan Jia <hushan.jia@gmail.com> - 1.0.3-4 |
---|
| 98 | - use %doc for each arch to avoid multilib conflict (rhbz 831413) |
---|
| 99 | |
---|
| 100 | * Sat Aug 04 2012 Philip Prindeville <philipp@fedoraproject.org> - 1.0.3-3 |
---|
| 101 | - Add .a to devel package (rhbz 845793) |
---|
| 102 | |
---|
| 103 | * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-2 |
---|
| 104 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
| 105 | |
---|
| 106 | * Mon Jun 11 2012 Hushan Jia <hushan.jia@gmail.com> 1.0.3-1 |
---|
| 107 | - Update to 1.0.3. |
---|
| 108 | |
---|
| 109 | * Sat Feb 04 2012 Hushan Jia <hushan.jia@gmail.com> 1.0.2-1 |
---|
| 110 | - Update to 1.0.2. |
---|
| 111 | |
---|
| 112 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-5 |
---|
| 113 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 114 | |
---|
| 115 | * Wed Aug 24 2011 Hushan Jia <hushan.jia@gmail.com> 1.0.1-4 |
---|
| 116 | - fix require of devel package |
---|
| 117 | - add example source files to docs |
---|
| 118 | |
---|
| 119 | * Wed Aug 24 2011 Hushan Jia <hushan.jia@gmail.com> 1.0.1-3 |
---|
| 120 | - remove unnecessary buildroot and defattr tags |
---|
| 121 | - remove unnecessary build requires |
---|
| 122 | |
---|
| 123 | * Sat Aug 20 2011 Hushan Jia <hushan.jia@gmail.com> 1.0.1-2 |
---|
| 124 | - use upstream released source tarball |
---|
| 125 | |
---|
| 126 | * Sat Aug 20 2011 Hushan Jia <hushan.jia@gmail.com> 1.0.1-1 |
---|
| 127 | - initial packaging |
---|
| 128 | |
---|