diff --git a/.gitignore b/.gitignore index 2bea937..9bf58e9 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/mobile-broadband-provider-info-20170310.tar.xz +SOURCES/mobile-broadband-provider-info-20190618.tar.xz diff --git a/.mobile-broadband-provider-info.metadata b/.mobile-broadband-provider-info.metadata index afa3b28..af341a8 100644 --- a/.mobile-broadband-provider-info.metadata +++ b/.mobile-broadband-provider-info.metadata @@ -1 +1 @@ -09e12b2d858ed10b4ef7b4a145ba99e03632bef0 SOURCES/mobile-broadband-provider-info-20170310.tar.xz +897255b8b726834b2af77f9919abaccb6fbdc2bd SOURCES/mobile-broadband-provider-info-20190618.tar.xz diff --git a/SPECS/mobile-broadband-provider-info.spec b/SPECS/mobile-broadband-provider-info.spec index ff3e29a..347efaa 100644 --- a/SPECS/mobile-broadband-provider-info.spec +++ b/SPECS/mobile-broadband-provider-info.spec @@ -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 - 20190618-1 +- Update to latest upstream release + * Tue Apr 10 2018 Peter Robinson 1.20170310-1 - Update to latest upstream snapshot 20170310 - Spec cleanups, use %%license