rpms/unetbootin/F-11 unetbootin.spec,NONE,1.1 sources,1.1,1.2
Jussi Lehtola
jussilehtola at fedoraproject.org
Fri Jul 10 18:40:55 UTC 2009
- Previous message (by thread): rpms/unetbootin/F-10 unetbootin.spec,NONE,1.1 sources,1.1,1.2
- Next message (by thread): rpms/libsemanage/devel libsemanage-rhat.patch, 1.51, 1.52 libsemanage.spec, 1.178, 1.179 sources, 1.103, 1.104
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jussilehtola
Update of /cvs/pkgs/rpms/unetbootin/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29241/F-11
Modified Files:
sources
Added Files:
unetbootin.spec
Log Message:
Imported in Fedora. Added localalizations.
--- NEW FILE unetbootin.spec ---
%global rel 356
Name: unetbootin
Version: 0
Release: 3.%{rel}bzr%{?dist}
Summary: Create bootable Live USB drives for a variety of Linux distributions
Group: System Environment/Base
License: GPLv2+
URL: http://unetbootin.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-source-%{rel}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: desktop-file-utils
BuildRequires: qt4-devel
# Not picked up automatically, required for operation
Requires: p7zip-plugins
Requires: syslinux
%description
UNetbootin allows you to create bootable Live USB drives for a variety of
Linux distributions from Windows or Linux, without requiring you to burn a CD.
You can either let it download one of the many 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.
%prep
%setup -q -c
# Fix EOL encoding
for file in README.TXT; do
sed "s|\r||g" $file > $file.new && \
touch -r $file $file.new && \
mv $file.new $file
done
# Fix desktop file
sed -i '/^Version/d' unetbootin.desktop
sed -i '/\[en_US\]/d' unetbootin.desktop
sed -i 's|/usr/bin/unetbootin|unetbootin|g' unetbootin.desktop
%build
# Generate .qm files
lrelease-qt4 unetbootin.pro
qmake-qt4
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
install -D -p -m 755 unetbootin %{buildroot}%{_bindir}/unetbootin
# Install desktop file
desktop-file-install --remove-category=Application --dir=%{buildroot}%{_datadir}/applications unetbootin.desktop
# Install localization files
install -d %{buildroot}%{_datadir}/unetbootin
install -c -p -m 644 unetbootin_*.qm %{buildroot}%{_datadir}/unetbootin/
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc README.TXT
%{_bindir}/unetbootin
%{_datadir}/unetbootin/
%{_datadir}/applications/unetbootin.desktop
%changelog
* Fri Jul 10 2009 Jussi Lehtola <jussilehtola at fedoraproject.org> - 0-3.356bzr
- Added localizations.
* Fri Jul 10 2009 Jussi Lehtola <jussilehtola at fedoraproject.org> - 0-2.356bzr
- Fixed source URL.
- Changed Req: p7zip to p7zip-plugins.
- Use included desktop file.
* Fri Jul 10 2009 Jussi Lehtola <jussilehtola at fedoraproject.org> - 0-1.356bzr
- First release.
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/unetbootin/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 10 Jul 2009 18:12:57 -0000 1.1
+++ sources 10 Jul 2009 18:40:25 -0000 1.2
@@ -0,0 +1 @@
+4a8e72ab32afbb8564519a211c798f71 unetbootin-source-356.tar.gz
- Previous message (by thread): rpms/unetbootin/F-10 unetbootin.spec,NONE,1.1 sources,1.1,1.2
- Next message (by thread): rpms/libsemanage/devel libsemanage-rhat.patch, 1.51, 1.52 libsemanage.spec, 1.178, 1.179 sources, 1.103, 1.104
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list