61 lines
1.6 KiB
RPMSpec
61 lines
1.6 KiB
RPMSpec
Name: abakus
|
|
Version: 0.92
|
|
Release: 4%{?dist}
|
|
Summary: The simple KDE calculator
|
|
License: GPLv2+
|
|
URL: http://purinchu.net/abakus
|
|
Source0: http://purinchu.net/%{name}/%{name}-%{version}.tar.bz2
|
|
BuildRequires: bison
|
|
BuildRequires: cmake
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: flex
|
|
BuildRequires: kdelibs4-devel
|
|
BuildRequires: qt4-devel
|
|
|
|
%description
|
|
Abakus is a simple calculator for KDE, based on a concept of Roberto
|
|
Alsina's. Think of it as bc (the command-line calculator) with a nice GUI.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%cmake
|
|
|
|
%install
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
%check
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/kde4/%{name}.desktop
|
|
|
|
%post
|
|
touch --no-create %{_iconsdir}/hicolor &> /dev/null || :
|
|
|
|
%postun
|
|
if [ $1 -eq 0 ] ; then
|
|
touch --no-create %{_iconsdir}/hicolor &> /dev/null
|
|
gtk-update-icon-cache %{_iconsdir}/hicolor &> /dev/null || :
|
|
fi
|
|
|
|
%posttrans
|
|
gtk-update-icon-cache %{_iconsdir}/hicolor &> /dev/null || :
|
|
|
|
%files
|
|
%doc AUTHORS COPYING README
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/icons/hicolor/*x*/apps/*.png
|
|
%{_datadir}/applications/kde4/*.desktop
|
|
%{_kde4_appsdir}/%{name}/
|
|
|
|
%changelog
|
|
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.92-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.92-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Wed Jul 31 2013 Christopher Meng <rpm@cicku.me> - 0.92-2
|
|
- Fix the license.
|
|
|
|
* Sun Jan 27 2013 Christopher Meng <rpm@cicku.me> - 0.92-1
|
|
- Initial Package.
|