[packages/unetbootin] - cleanup, dependencies, pl

qboosh qboosh at pld-linux.org
Sun Mar 17 13:11:44 CET 2024


commit e3f7902f1fa2a6914178a47ffde9f3dddcf9247e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Mar 17 12:17:52 2024 +0100

    - cleanup, dependencies, pl

 unetbootin.spec | 27 ++++++++++++++++++++++-----
 1 file changed, 22 insertions(+), 5 deletions(-)
---
diff --git a/unetbootin.spec b/unetbootin.spec
index 7ef192f..694b3bf 100644
--- a/unetbootin.spec
+++ b/unetbootin.spec
@@ -1,17 +1,25 @@
 Summary:	Create bootable Live USB drives for a variety of Linux distributions
+Summary(pl.UTF-8):	Tworzenie rozruchowych urządzeń Live USB dla różnych dystrybucji Linuksa
 Name:		unetbootin
 Version:	657
 Release:	1
 License:	GPL v2+
 Group:		Base
-URL:		https://unetbootin.github.io/
 Source0:	https://github.com/unetbootin/unetbootin/releases/download/%{version}/%{name}-source-%{version}.tar.gz
 # Source0-md5:	50ad69c1d703e635d30c3aa4305093f7
 Patch0:		usb.patch
+URL:		https://unetbootin.github.io/
+BuildRequires:	QtCore-devel >= 4
+BuildRequires:	QtGui-devel >= 4
+BuildRequires:	QtNetwork-devel >= 4
 BuildRequires:	desktop-file-utils
-BuildRequires:	qt4-build
+BuildRequires:	libstdc++-devel
+BuildRequires:	qt4-build >= 4
+BuildRequires:	qt4-linguist >= 4
+BuildRequires:	qt4-qmake >= 4
 Requires:	syslinux
-ExclusiveArch:	%{ix86} x86_64
+ExclusiveArch:	%{ix86} %{x8664}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 UNetbootin allows you to create bootable Live USB drives for a variety
@@ -21,6 +29,14 @@ distributions supported out-of-the-box for you, or supply your own
 Linux .iso file if you've already downloaded one or your preferred
 distribution isn't on the list.
 
+%description -l pl.UTF-8
+UNetbootin pozwala na tworzenie rozruchowych urządzeń USB z obrazami
+Live dla różnych dystrybucji Linuksa z poziomu Windows lub Linuksa,
+bez wymogu wypalania płyty CD. Nazędzie może samo pobrać jedną z wielu
+dystrybucji obsługiwanych "out of the box", albo przyjąć dowolny,
+wcześniej pobrany obraz .iso Linuksa, jeśli dystrybucji nie ma na
+liście.
+
 %prep
 %setup -q -c
 %patch0 -p1
@@ -34,7 +50,8 @@ export QTDIR=%{_prefix}/qt4
 lupdate-qt4 unetbootin.pro
 lrelease-qt4 unetbootin.pro
 qmake-qt4 \
-	"DEFINES += NOSTATIC" "RESOURCES -= unetbootin.qrc"
+	"DEFINES += NOSTATIC" \
+	"RESOURCES -= unetbootin.qrc"
 
 %{__make} \
 	CFLAGS="%{rpmcflags} %{rpmcppflags}" \
@@ -48,7 +65,7 @@ install -D -p unetbootin $RPM_BUILD_ROOT%{_bindir}/unetbootin
 desktop-file-install --vendor="" --remove-category=Application --dir=$RPM_BUILD_ROOT%{_desktopdir} unetbootin.desktop
 # Install localization files
 install -d $RPM_BUILD_ROOT%{_datadir}/unetbootin
-install -c -p unetbootin_*.qm $RPM_BUILD_ROOT%{_datadir}/unetbootin/
+install -p unetbootin_*.qm $RPM_BUILD_ROOT%{_datadir}/unetbootin
 # Install pixmap
 install -D -p unetbootin_512.png $RPM_BUILD_ROOT%{_pixmapsdir}/unetbootin.png
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/unetbootin.git/commitdiff/e3f7902f1fa2a6914178a47ffde9f3dddcf9247e



More information about the pld-cvs-commit mailing list