|
|
|
@ -1,27 +1,20 @@
|
|
|
|
|
%define upstream_version 20170310
|
|
|
|
|
|
|
|
|
|
Summary: Mobile broadband provider database
|
|
|
|
|
Name: mobile-broadband-provider-info
|
|
|
|
|
Version: 1.%{upstream_version}
|
|
|
|
|
Version: 20210805
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
URL: http://live.gnome.org/NetworkManager/MobileBroadband/ServiceProviders
|
|
|
|
|
URL: https://wiki.gnome.org/Projects/NetworkManager/MobileBroadband/ServiceProviders
|
|
|
|
|
License: Public Domain
|
|
|
|
|
#
|
|
|
|
|
# Source from git://git.gnome.org/mobile-broadband-provider-info
|
|
|
|
|
# tarball built with:
|
|
|
|
|
# ./autogen.sh --prefix=/usr
|
|
|
|
|
# make distcheck
|
|
|
|
|
#
|
|
|
|
|
# Upstream release:
|
|
|
|
|
Source http://ftp.gnome.org/pub/gnome/sources/mobile-broadband-provider-info/%{upstream_version}/mobile-broadband-provider-info-%{upstream_version}.tar.xz
|
|
|
|
|
Source: https://download.gnome.org/sources/%{name}/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: libxml2
|
|
|
|
|
BuildRequires: /usr/bin/xmllint
|
|
|
|
|
BuildRequires: /usr/bin/xsltproc
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The mobile-broadband-provider-info package contains listings of mobile
|
|
|
|
|
broadband (3G) providers and associated network and plan information.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
@ -30,29 +23,41 @@ Requires: %{name} = %{version}-%{release}
|
|
|
|
|
The %{name}-devel package contains files necessary for
|
|
|
|
|
developing developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{name}-%{upstream_version}
|
|
|
|
|
%autosetup
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make check
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING
|
|
|
|
|
%{_datadir}/%{name}
|
|
|
|
|
%doc README
|
|
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
|
%attr(0644,root,root) %{_datadir}/%{name}/*
|
|
|
|
|
%license COPYING
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_datadir}/pkgconfig/%{name}.pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Aug 5 2021 Beniamino Galvani <bgalvani@redhat.com> - 20210805-1
|
|
|
|
|
- Update to latest upstream release
|
|
|
|
|
|
|
|
|
|
* Wed Oct 16 2019 Lubomir Rintel <lkundrak@v3.sk> - 20190618-2
|
|
|
|
|
- Update to latest upstream release
|
|
|
|
|
|
|
|
|
|
* Tue Apr 10 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.20170310-1
|
|
|
|
|
- Update to latest upstream snapshot 20170310
|
|
|
|
|
- Spec cleanups, use %%license
|
|
|
|
|