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