]> git.pld-linux.org Git - packages/nautilus-ideviceinfo.git/commitdiff
- added plist patch (adjust for libplist 2.2); release 11 auto/th/nautilus-ideviceinfo-0.1.0-11
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 20 Sep 2020 07:32:26 +0000 (09:32 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 20 Sep 2020 07:32:26 +0000 (09:32 +0200)
nautilus-ideviceinfo-plist.patch [new file with mode: 0644]
nautilus-ideviceinfo.spec

diff --git a/nautilus-ideviceinfo-plist.patch b/nautilus-ideviceinfo-plist.patch
new file mode 100644 (file)
index 0000000..473526b
--- /dev/null
@@ -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)
index 8f9a170437fffadd8a7bb6e41381d10e25fccd9d..5de3c20a120233137e81888bf073d4742d1a0bbc 100644 (file)
@@ -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
This page took 0.036503 seconds and 4 git commands to generate.