Update to 1.4.4 release
Tag translations correctly with %find_lang. Re-run intltoolize to regenerate po/Makefile.in.in after autoreconf. The first intltoolize run makes sure that appropriate intltool.m4 is in place before autoreconf. In case autoconf generates configure withouth the new intltool.m4 DATADIRNAME is not substituted into po/Makefile.in and translations are not installed.
This commit is contained in:
parent
1221c04f1b
commit
306812e9c2
1
.gitignore
vendored
1
.gitignore
vendored
@ -31,3 +31,4 @@ ModemManager-0.4.git20100720.tar.bz2
|
|||||||
/ModemManager-1.3.0.git20140805.3dd6f931.tar.xz
|
/ModemManager-1.3.0.git20140805.3dd6f931.tar.xz
|
||||||
/ModemManager-1.4.0.tar.xz
|
/ModemManager-1.4.0.tar.xz
|
||||||
/ModemManager-1.4.2.tar.xz
|
/ModemManager-1.4.2.tar.xz
|
||||||
|
/ModemManager-1.4.4.tar.xz
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Summary: Mobile broadband modem management service
|
Summary: Mobile broadband modem management service
|
||||||
Name: ModemManager
|
Name: ModemManager
|
||||||
Version: 1.4.2
|
Version: 1.4.4
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
#
|
#
|
||||||
# Source from http://freedesktop.org/software/ModemManager/
|
# Source from http://freedesktop.org/software/ModemManager/
|
||||||
@ -27,7 +27,7 @@ BuildRequires: libgudev1-devel >= 143
|
|||||||
BuildRequires: automake autoconf intltool libtool
|
BuildRequires: automake autoconf intltool libtool
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: libxslt gtk-doc
|
BuildRequires: libxslt gtk-doc
|
||||||
BuildRequires: libqmi-devel >= 1.10
|
BuildRequires: libqmi-devel >= 1.12.4
|
||||||
BuildRequires: libmbim-devel >= 1.10
|
BuildRequires: libmbim-devel >= 1.10
|
||||||
BuildRequires: gobject-introspection-devel >= 1.38
|
BuildRequires: gobject-introspection-devel >= 1.38
|
||||||
BuildRequires: vala-tools vala-devel
|
BuildRequires: vala-tools vala-devel
|
||||||
@ -86,6 +86,7 @@ Vala bindings for ModemManager
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
intltoolize --force
|
||||||
autoreconf -i --force
|
autoreconf -i --force
|
||||||
intltoolize --force
|
intltoolize --force
|
||||||
%configure \
|
%configure \
|
||||||
@ -110,6 +111,8 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
|
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
|
||||||
|
|
||||||
|
%find_lang %{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
%systemd_post ModemManager.service
|
%systemd_post ModemManager.service
|
||||||
@ -131,7 +134,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
%post glib -p /sbin/ldconfig
|
%post glib -p /sbin/ldconfig
|
||||||
%postun glib -p /sbin/ldconfig
|
%postun glib -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files -f %{name}.lang
|
||||||
%doc COPYING README
|
%doc COPYING README
|
||||||
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.ModemManager1.conf
|
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.ModemManager1.conf
|
||||||
%{_datadir}/dbus-1/system-services/org.freedesktop.ModemManager1.service
|
%{_datadir}/dbus-1/system-services/org.freedesktop.ModemManager1.service
|
||||||
@ -144,7 +147,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
%{systemd_dir}/ModemManager.service
|
%{systemd_dir}/ModemManager.service
|
||||||
%{_datadir}/icons/hicolor/22x22/apps/*.png
|
%{_datadir}/icons/hicolor/22x22/apps/*.png
|
||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
%{_datadir}/locale/*/LC_MESSAGES/ModemManager.mo
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/ModemManager/*.h
|
%{_includedir}/ModemManager/*.h
|
||||||
@ -169,6 +171,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
%{_datadir}/vala/vapi/libmm-glib.*
|
%{_datadir}/vala/vapi/libmm-glib.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 11 2015 Lubomir Rintel <lkundrak@v3.sk> - 1.4.4-1
|
||||||
|
- Update to 1.4.4 release
|
||||||
|
|
||||||
* Thu Jan 15 2015 Dan Williams <dcbw@redhat.com> - 1.4.2-1
|
* Thu Jan 15 2015 Dan Williams <dcbw@redhat.com> - 1.4.2-1
|
||||||
- Update to 1.4.2 release
|
- Update to 1.4.2 release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user