source: projects/specs/trunk/lib/libm/libmnl/libmnl-vl.spec @ 12121

Revision 12121, 3.8 KB checked in by tomop, 5 years ago (diff)

Merge branch 'tomop'

Line 
1Name:           libmnl
2Version:        1.0.4
3Release:        2%{?_dist_release}
4Summary:        A minimalistic Netlink library
5
6Group:          System Environment/Libraries
7License:        LGPLv2+
8URL:            http://netfilter.org/projects/libmnl
9Source0:        http://netfilter.org/projects/libmnl/files/%{name}-%{version}.tar.bz2
10
11Vendor: Project Vine
12Distribution: Vine Linux
13Packager: tomop
14
15%description
16libmnl is a minimalistic user-space library oriented to Netlink developers.
17There are a lot of common tasks in parsing, validating, constructing of both
18the Netlink header and TLVs that are repetitive and easy to get wrong.
19This library aims to provide simple helpers that allows you to re-use code and
20to avoid re-inventing the wheel.
21
22
23%package        devel
24Summary:        Development files for %{name}
25Group:          Development/Libraries
26Requires:       %{name}%{_isa} = %{version}-%{release}
27
28%package        static
29Summary:        Static development files for %{name}
30Group:          Development/Libraries
31Requires: %{name} = %{version}-%{release}
32
33%description    devel
34The %{name}-devel package contains libraries and header files for
35developing applications that use %{name}.
36
37%description    static
38The %{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
47make CFLAGS="%{optflags}" %{?_smp_mflags}
48
49
50%install
51make install DESTDIR=$RPM_BUILD_ROOT
52find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
53find examples '(' -name 'Makefile.am' -o -name 'Makefile.in' ')' -exec rm -f {} ';'
54find examples -type d -name '.deps' -prune -exec rm -rf {} ';'
55mv examples examples-%{_arch}
56
57
58%post -p /sbin/ldconfig
59
60%postun -p /sbin/ldconfig
61
62
63%files
64%license COPYING
65%doc README
66%{_libdir}/*.so.*
67
68%files devel
69%license COPYING
70%doc examples-%{_arch}
71%{_includedir}/*
72%{_libdir}/pkgconfig/*.pc
73%{_libdir}/*.so
74
75%files static
76%{_libdir}/*.a
77
78%changelog
79* Sun Aug 25 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.4-2
80- rebuilt with current environment.
81
82* Mon May  8 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.4-1
83- new upstream release.
84
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
Note: See TracBrowser for help on using the repository browser.