File q4wine-0.100.spec of Package q4wine

#
# check filename in setup section!
#
Name:           q4wine
Version:        0.112
Release:        0
Summary:        Q4Wine is an Qt4 GUI for WINE
Group:          System/Emulators/PC  
License:        GPL  
URL:            http://sourceforge.net/projects/q4wine/
Source0:        %{name}-%{version}-r1.tar.bz2  
BuildRoot:      %{_tmppath}/build-%{name}-%{version}  
BuildRequires:   libstdc++-devel libtool  
#automake autoconf  
BuildRequires:  update-desktop-files  
BuildRequires:  libqt4-devel >= 4.3.0  
Requires:       libqt4 >= 4.3.0 
Requires:   	sudo
Requires:   	wine
Requires:	sqlite >= 3.5.6
#Requires:	which >= 2.19
Requires:	icoutils >= 0.26.0
Requires:	libqt4-sql-sqlite

%debug_package  
  
%description  
Q4Wine is an Qt4-based GUI for WINE. It will help you to manage wine prefixes and installed applications.

General features:
- Works with different wine versions at same time;
- Creating, deleting and managing prefixes (WINEPREFIX);
- Easy controlling for wine process;
- Easy installer wizard for wine applications; (Not yet. Wait for v. 0.120)
- Autostart icons support;
- Support of ISO images;
- Icons can be extracted from PE files (.exe, .dll);
- and more... ;)

Author: Alexey Malakhov <brezerk@gmail.com>
   
%prep  
%setup -q -n %{name}-%{version}-r1
%{?suse_update_config:%{suse_update_config -f}}  
   
   
%build  
qmake PREFIX=/usr  
make %{?jobs:-j%jobs}  
   
%install  
%__install -D -m 0755 "%{name}" "%{buildroot}%{_bindir}/%{name}"   
%__install -D -m 0644 "src/data/wine.png" "%{buildroot}%{_datadir}/pixmaps/%{name}.png"  
%suse_update_desktop_file -c %{name} "q4wine" "Wine GUI" %{name} "%{name}" System Emulator
  
%clean  
# clean up the hard disc after build  
rm -rf $RPM_BUILD_ROOT  
   
%files  
%defattr(-,root,root)  
/usr/bin/q4wine
/usr/share/applications/q4wine.desktop  
/usr/share/pixmaps/q4wine.png  
   
%changelog    
* Fri Jul 25 2008 Vasiliy Astanin "MadCAD" <v.astanin@gmail.com>    
 - initial release  
openSUSE Build Service is sponsored by