libmbim/libmbim.spec

121 lines
3.2 KiB
RPMSpec
Raw Normal View History

2014-02-05 09:18:00 +00:00
2013-09-12 18:10:11 +00:00
%global _hardened_build 1
Name: libmbim
Summary: Support library for the Mobile Broadband Interface Model protocol
2016-03-21 13:21:13 +00:00
Version: 1.12.4
Release: 2%{?dist}
2013-09-12 18:10:11 +00:00
License: LGPLv2+
2014-02-05 09:18:00 +00:00
URL: http://freedesktop.org/software/libmbim
2013-09-12 18:10:11 +00:00
#
2014-02-05 09:18:00 +00:00
# Source from http://freedesktop.org/software/libmbim/
#
2016-03-21 13:21:13 +00:00
Source: http://freedesktop.org/software/libmbim/%{name}-%{version}.tar.xz
2013-09-12 18:10:11 +00:00
BuildRequires: glib2-devel
BuildRequires: pkgconfig
BuildRequires: automake autoconf intltool libtool
BuildRequires: python >= 2.7
BuildRequires: pkgconfig(gudev-1.0) >= 147
%description
This package contains the libraries that make it easier to use MBIM
functionality from applications that use glib.
%package devel
Summary: Header files for adding MBIM support to applications that use glib
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: glib2-devel%{?_isa}
%description devel
This package contains the header and pkg-config files for developing
applications using MBIM functionality from applications that use glib.
%package utils
Summary: Utilities to use the MBIM protocol from the command line
Requires: %{name}%{?_isa} = %{version}-%{release}
License: GPLv2+
%description utils
This package contains the utilities that make it easier to use MBIM
functionality from the command line.
%prep
# NOTE: the documentation is pre-generated and shipped in the dist tarball;
# it is not build during the RPM build but the pre-generated docs are simply
# installed as-is.
2016-03-21 13:21:13 +00:00
%setup -q
2013-09-12 18:10:11 +00:00
%build
%configure --disable-static
V=1 make %{?_smp_mflags}
%install
make install INSTALL="install -p" DESTDIR=$RPM_BUILD_ROOT
%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/*.la
%check
make check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc COPYING NEWS AUTHORS README
%{_libdir}/libmbim-glib.so.*
%files devel
%{_includedir}/libmbim-glib/
%{_libdir}/pkgconfig/mbim-glib.pc
%{_libdir}/libmbim-glib.so
2014-08-05 14:38:16 +00:00
%dir %{_datadir}/gtk-doc/html/libmbim-glib
%{_datadir}/gtk-doc/html/libmbim-glib/*
2013-09-12 18:10:11 +00:00
%files utils
%{_bindir}/mbimcli
%{_bindir}/mbim-network
2014-08-05 14:38:16 +00:00
%{_mandir}/man1/*
%{_libexecdir}/mbim-proxy
2013-09-12 18:10:11 +00:00
%changelog
2016-03-21 13:21:13 +00:00
* Mon Mar 21 2016 Lubomir Rintel <lkundrak@v3.sk> - 1.12.4-1
- Update to 1.12.2 release
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2015-08-18 13:29:28 +00:00
* Tue Aug 18 2015 Lubomir Rintel <lkundrak@v3.sk> - 1.12.2-1
- Update to 1.12.2 release
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-01-15 19:24:02 +00:00
* Thu Jan 15 2015 Dan Williams <dcbw@redhat.com> - 1.12.0-1
- Update to 1.12.0 release
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2014-08-05 14:38:16 +00:00
* Tue Aug 5 2014 Dan Williams <dcbw@redhat.com> - 1.10.0-1
- Update to 1.10.0 release
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-03-08 15:12:58 +00:00
* Sat Mar 8 2014 Dan Williams <dcbw@redhat.com> - 1.8.0-1
- Update to 1.8.0 release
2014-02-05 09:18:00 +00:00
* Sat Feb 1 2014 poma <poma@gmail.com> - 1.6.0-1
- Update to 1.6.0 release
2013-09-12 18:10:11 +00:00
* Thu Aug 15 2013 Dan Williams <dcbw@redhat.com> - 1.5.0-1.20130815git
- Initial Fedora release