Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:PowerPC
imagewriter
imagewriter.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File imagewriter.spec of Package imagewriter
# # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # needsrootforbuild Url: http://kiwi.berlios.de Name: imagewriter BuildRequires: gcc-c++ %if 0%{?fedora_version} %define breq qt4-devel %define qmake /usr/bin/qmake-qt4 %define lrelease /usr/bin/lrelease-qt4 BuildRequires: hal-devel %endif %if 0%{?mandriva_version} %define breq libqt4-devel %define qmake /usr/lib/qt4/bin/qmake %define lrelease /usr/lib/qt4/bin/lrelease BuildRequires: hal-devel %endif %if 0%{?suse_version} %define breq libqt4-devel update-desktop-files %define qmake /usr/bin/qmake %define lrelease /usr/bin/lrelease %endif %if 0%{?suse_version} < 1130 BuildRequires: hal-devel %endif Summary: SUSE Studio Imagewriter Version: 1.9 Release: 0 Group: Hardware/Other License: GPL-2.0 Source: imagewriter-%{version}.tar.gz Patch0: imagewriter-gcc47.patch Patch1: imagewriter-desktop-menu-exec.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{breq} %description Graphical image writer application %prep %setup %patch0 -p1 %patch1 -p1 %build %{qmake} PREFIX=$RPM_BUILD_ROOT/%{_prefix} imagewriter.pro make buildroot=$RPM_BUILD_ROOT CFLAGS="$RPM_OPT_FLAGS -DKIOSKHACK" %install # build # I don't know why 'make install' ignores the binary when built in OBS install -d $RPM_BUILD_ROOT/usr/bin install -m 755 -p imagewriter $RPM_BUILD_ROOT/%{_bindir} make install %if 0%{?suse_version} %suse_update_desktop_file imagewriter %endif %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_bindir}/imagewriter %{_prefix}/share/applications/imagewriter.desktop #%{_prefix}/share/icons/hicolor/*/apps/imagewriter.png %dir %{_datadir}/icons/hicolor/*/apps/ %dir %{_datadir}/icons/hicolor/*/ %dir %{_datadir}/icons/hicolor/ %{_datadir}/icons/hicolor/*/apps/imagewriter.* %doc COPYING %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor