[packages/nautilus-ideviceinfo] - added plist patch (adjust for libplist 2.2); release 11

qboosh qboosh at pld-linux.org
Sun Sep 20 09:29:37 CEST 2020


commit c1f0c4b75d1d290a62ff81b77206e81a2f56f68c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Sep 20 09:32:26 2020 +0200

    - added plist patch (adjust for libplist 2.2); release 11

 nautilus-ideviceinfo-plist.patch | 11 +++++++++++
 nautilus-ideviceinfo.spec        | 26 +++++++++++++++++++-------
 2 files changed, 30 insertions(+), 7 deletions(-)
---
diff --git a/nautilus-ideviceinfo.spec b/nautilus-ideviceinfo.spec
index 8f9a170..5de3c20 100644
--- a/nautilus-ideviceinfo.spec
+++ b/nautilus-ideviceinfo.spec
@@ -1,15 +1,18 @@
 # TODO
 # - add mate (caja) package: https://bitbucket.org/ubuntu-mate/caja-ideviceinfo (separate .spec)
 Summary:	Nautilus Property Page for iPhone/iPod Touch/iPad devices
+Summary(pl.UTF-8):	Strona właściwości Nautilusa dla urządzeń iPhone/iPod Touch/iPad
 Name:		nautilus-ideviceinfo
 Version:	0.1.0
-Release:	10
+Release:	11
 License:	GPL v2+
 Group:		X11/Applications
+#Source0Download: https://gitlab.gnome.org/GNOME/nautilus-ideviceinfo/-/tags
 Source0:	http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2
 # Source0-md5:	cf31bc0ffec70b33c87483f379bbdcf5
 Patch0:		%{name}-gtk3.patch
 Patch1:		%{name}-mobile-broadband-db-path.patch
+Patch2:		%{name}-plist.patch
 URL:		https://git.gnome.org/browse/nautilus-ideviceinfo
 BuildRequires:	autoconf >= 2.61
 BuildRequires:	automake
@@ -19,7 +22,7 @@ BuildRequires:	gtk+3-devel >= 3.0.0
 BuildRequires:	intltool
 BuildRequires:	libgpod-devel >= 0.7.90
 BuildRequires:	libimobiledevice-devel >= 0.9.7
-BuildRequires:	libplist-devel >= 0.15
+BuildRequires:	libplist-devel >= 2.2
 BuildRequires:	libtool
 BuildRequires:	libxml2-devel >= 2.6.30
 BuildRequires:	mobile-broadband-provider-info-devel >= 20100510-2
@@ -32,15 +35,23 @@ Requires:	usbmuxd
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Nautilus-iDeviceInfo is a nautilus extension showing extended device
-information in the nautilus properties dialog. It shows details like
+Nautilus-iDeviceInfo is a Nautilus extension showing extended device
+information in the Nautilus properties dialog. It shows details like
 serial number, software version, baseband/modem firmware version, and
 storage usage (with nice eye candy).
 
+%description -l pl.UTF-8
+Nautilus-iDeviceInfo to rozszerzenie Nautilusa pokazujące rozszerzone
+informacje o urządzeniu w oknie właściwości Nautilusa. Pokazuje
+szczegóły, takie jak numer seryjny, wersję oprogramowania, wersję
+firmware'u urządzenia/modemu oraz wykorzystanie miejsca na karcie (z
+ładnym widokiem).
+
 %prep
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__intltoolize}
@@ -56,10 +67,11 @@ storage usage (with nice eye candy).
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-rm $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/*.la
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/*.la
 
 %find_lang %{name}
 
@@ -69,5 +81,5 @@ rm -rf $RPM_BUILD_ROOT
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS NEWS README
-%attr(755,root,root) %{_libdir}/nautilus/extensions-3.0/*.so
-%{_libdir}/nautilus/extensions-3.0/*.ui
+%attr(755,root,root) %{_libdir}/nautilus/extensions-3.0/libnautilus-ideviceinfo.so
+%{_libdir}/nautilus/extensions-3.0/nautilus-ideviceinfo.ui
diff --git a/nautilus-ideviceinfo-plist.patch b/nautilus-ideviceinfo-plist.patch
new file mode 100644
index 0000000..473526b
--- /dev/null
+++ b/nautilus-ideviceinfo-plist.patch
@@ -0,0 +1,11 @@
+--- nautilus-ideviceinfo-0.1.0/configure.ac.orig	2020-09-20 08:58:18.273850680 +0200
++++ nautilus-ideviceinfo-0.1.0/configure.ac	2020-09-20 09:04:10.115277924 +0200
+@@ -25,7 +25,7 @@
+ # Checks for libraries.
+ PKG_CHECK_MODULES(WIDGET, libimobiledevice-1.0 >= $LIBIMOBILE_REQS
+ 		          glib-2.0 >= $GLIB2_REQS
+-			  libplist >= $LIBPLIST_REQS
++			  libplist-2.0 >= $LIBPLIST_REQS
+ 			  gtk+-3.0 >= $GTK3_REQS)
+ PKG_CHECK_MODULES(libnautilusextension, libnautilus-extension >= $NAUTILUS_REQS)
+ PKG_CHECK_MODULES(libgpod, libgpod-1.0 >= $LIBGPOD_REQS, enable_libgpod=yes, enable_libgpod=no)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nautilus-ideviceinfo.git/commitdiff/c1f0c4b75d1d290a62ff81b77206e81a2f56f68c



More information about the pld-cvs-commit mailing list