import mobile-broadband-provider-info-20190618-2.el8

This commit is contained in:
CentOS Sources 2020-04-28 05:40:35 -04:00 committed by Andrew Lukoshko
parent 277a068680
commit 3b311ba1c9
3 changed files with 24 additions and 22 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/mobile-broadband-provider-info-20170310.tar.xz
SOURCES/mobile-broadband-provider-info-20190618.tar.xz

View File

@ -1 +1 @@
09e12b2d858ed10b4ef7b4a145ba99e03632bef0 SOURCES/mobile-broadband-provider-info-20170310.tar.xz
897255b8b726834b2af77f9919abaccb6fbdc2bd SOURCES/mobile-broadband-provider-info-20190618.tar.xz

View File

@ -1,27 +1,20 @@
%define upstream_version 20170310
Summary: Mobile broadband provider database
Name: mobile-broadband-provider-info
Version: 1.%{upstream_version}
Release: 1%{?dist}
URL: http://live.gnome.org/NetworkManager/MobileBroadband/ServiceProviders
Version: 20190618
Release: 2%{?dist}
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,38 @@ 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
* Wed Oct 16 2019 Lubomir Rintel <lkundrak@v3.sk> - 20190618-1
- 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