File linux-wbfs-manager.spec of Package linux-wbfs-manager

# norootforbuild

BuildRequires:      gtk2-devel
BuildRequires:      libglade2-devel

Name:               linux-wbfs-manager
Summary:            A WBFS manager for Linux using GTK+
Version:            0.1.12
Release:            1.0
License:            GPLv2
Group:              Productivity/File utilities
Source:             linux-wbfs-manager-%{version}.tar.gz
BuildRoot:          %{_tmppath}/%{name}-%{version}-build
Url:                http://code.google.com/p/linux-wbfs-manager/

%description
This is yet another graphic WBFS manager for Linux. It uses libwbfs from Kwiirk and caristat (available from the authors at http://github.com/kwiirk/wbfs/tree/master).
Warning: although I have successfully used this program with no problems, there is a possibility it might eat all your partitions. I offer no warranty whatsoever. Use at your own risk. 


%prep
%setup -q

%build
make
  
%install  
# Creo la gerarchia delle cartelle
mkdir %buildroot/usr
mkdir %buildroot/usr/bin
mkdir %buildroot/usr/share
mkdir %buildroot/usr/share/applications
mkdir %buildroot/usr/share/pixmaps
# Sposto i files che mi interessano
mv wbfs_gtk %buildroot/usr/bin/wbfs_gtk
mv wbfs-manager.png %buildroot/usr/share/pixmaps/wbfs-manager.png
mv linux-wbfs-manager.desktop %buildroot/usr/share/applications/linux-wbfs-manager.desktop
  
%clean
  rm -rf $RPM_BUILD_ROOT

#%files -f linux-wbfs-manager.lang
%files
%defattr(-,root,root,-)
%doc README
%_bindir/wbfs_gtk
%_datadir/pixmaps/wbfs-manager.png
%_datadir/applications/linux-wbfs-manager.desktop

%changelog
* Sun Nov 07 2010 norfeo68@hotmail.com - 0.1.12
- Update to 0.1.12
* Sun Jan 10 2010 norfeo68@hotmail.com - 0.1.11
- First Packaging
openSUSE Build Service is sponsored by