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