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

Revision 8624, 3.6 KB checked in by tomop, 10 years ago (diff)

ulogd-2.0.4-1

Line 
1Name:           libmnl
2Version:        1.0.3
3Release:        8%{?_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%doc COPYING README
65%{_libdir}/*.so.*
66
67%files devel
68%doc COPYING
69%doc examples-%{_arch}
70%{_includedir}/*
71%{_libdir}/pkgconfig/*.pc
72%{_libdir}/*.so
73
74%files static
75%{_libdir}/*.a
76
77%changelog
78* Sun Jun 29 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.3-8
79- new upstream release.
80- initial build for Vine Linux.
81
82* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-7
83- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
84
85* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-6
86- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
87
88* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-5
89- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
90
91* Sun Aug 12 2012 Hushan Jia <hushan.jia@gmail.com> - 1.0.3-4
92- use %doc for each arch to avoid multilib conflict (rhbz 831413)
93
94* Sat Aug 04 2012 Philip Prindeville <philipp@fedoraproject.org> - 1.0.3-3
95- Add .a to devel package (rhbz 845793)
96
97* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-2
98- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
99
100* Mon Jun 11 2012 Hushan Jia <hushan.jia@gmail.com> 1.0.3-1
101- Update to 1.0.3.
102
103* Sat Feb 04 2012 Hushan Jia <hushan.jia@gmail.com> 1.0.2-1
104- Update to 1.0.2.
105
106* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-5
107- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
108
109* Wed Aug 24 2011 Hushan Jia <hushan.jia@gmail.com> 1.0.1-4
110- fix require of devel package
111- add example source files to docs
112
113* Wed Aug 24 2011 Hushan Jia <hushan.jia@gmail.com> 1.0.1-3
114- remove unnecessary buildroot and defattr tags
115- remove unnecessary build requires
116
117* Sat Aug 20 2011 Hushan Jia <hushan.jia@gmail.com> 1.0.1-2
118- use upstream released source tarball
119
120* Sat Aug 20 2011 Hushan Jia <hushan.jia@gmail.com> 1.0.1-1
121- initial packaging
122
Note: See TracBrowser for help on using the repository browser.