Blame abby.spec

9ff47e7
Name:           abby
688eba8
Version:        0.2.1
688eba8
Release:        1%{?dist}
9ff47e7
Summary:        Front-end for cclive and clive
9ff47e7
9ff47e7
Group:          Applications/Multimedia 
9ff47e7
License:        GPLv3+
9ff47e7
URL:            http://code.google.com/p/abby/
9ff47e7
Source0:        http://%{name}.googlecode.com/files/%{name}-%{version}.tar.bz2
9ff47e7
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
9ff47e7
9ff47e7
BuildRequires:  qt-devel desktop-file-utils
9ff47e7
Requires:       cclive
9ff47e7
9ff47e7
%description
9ff47e7
abby is a front-end for clive and cclive, allowing users unfamiliar with
9ff47e7
command-line interfaces to make most of cclive using a graphical
9ff47e7
user-interface. abby is written in C++. 
9ff47e7
9ff47e7
%prep
9ff47e7
%setup -q
9ff47e7
echo "[Desktop Entry]" > %{name}.desktop
9ff47e7
echo "Name=abby" >> %{name}.desktop
9ff47e7
echo "GenericName=abby" >> %{name}.desktop
9ff47e7
echo "Comment=Front-end for cclive and clive" >> %{name}.desktop
9ff47e7
echo "Exec=abby" >> %{name}.desktop
9ff47e7
echo "Terminal=false" >> %{name}.desktop
9ff47e7
echo "Type=Application" >> %{name}.desktop
9ff47e7
echo "Categories=Network;FileTransfer;Qt;" >> %{name}.desktop
9ff47e7
9ff47e7
9ff47e7
9ff47e7
%build
9ff47e7
qmake-qt4
9ff47e7
make %{?_smp_mflags}
9ff47e7
9ff47e7
9ff47e7
%install
9ff47e7
rm -rf $RPM_BUILD_ROOT
9ff47e7
install -d $RPM_BUILD_ROOT%{_bindir}
9ff47e7
install -Dm 755 -p %{name} $RPM_BUILD_ROOT%{_bindir}
9ff47e7
desktop-file-install --vendor=""   \
9ff47e7
       --dir=%{buildroot}%{_datadir}/applications/   \
9ff47e7
       %{name}.desktop
9ff47e7
9ff47e7
9ff47e7
%clean
9ff47e7
rm -rf $RPM_BUILD_ROOT
9ff47e7
9ff47e7
9ff47e7
%files
9ff47e7
%defattr(-,root,root,-)
9ff47e7
%doc AUTHORS CHANGES COPYING README TODO
9ff47e7
%{_bindir}/%{name}
9ff47e7
%{_datadir}/applications/%{name}.desktop
9ff47e7
9ff47e7
9ff47e7
%changelog
688eba8
* Wed May  6 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> 0.2.1-1
688eba8
- Rebuild for 0.2.1
9ff47e7
* Tue Apr 21 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> 0.2.0-2
9ff47e7
- URL fix
9ff47e7
- Add cclive as an explicit require
9ff47e7
* Sun Apr  5 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> 0.2.0-1
9ff47e7
- Initial build