/
libgsupplicant.spec
52 lines (41 loc) · 1.04 KB
/
libgsupplicant.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Name: libgsupplicant
Version: 1.0.12
Release: 0
Summary: Client library for wpa_supplicant
Group: Development/Libraries
License: BSD
URL: https://git.merproject.org/mer-core/libgsupplicant
Source: %{name}-%{version}.tar.bz2
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(libglibutil) >= 1.0.21
Requires: libglibutil >= 1.0.21
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
%description
Provides glib-based wpa_supplicant client API
%package devel
Summary: Development library for %{name}
Requires: %{name} = %{version}
Requires: pkgconfig
%description devel
This package contains the development library for %{name}.
%prep
%setup -q
%build
make KEEP_SYMBOLS=1 release pkgconfig
%install
rm -rf %{buildroot}
make install-dev DESTDIR=%{buildroot}
%check
make -C test test
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%{_libdir}/%{name}.so.*
%files devel
%defattr(-,root,root,-)
%{_libdir}/pkgconfig/*.pc
%{_libdir}/%{name}.so
%{_includedir}/gsupplicant/*.h