[abakus/f19] Initial SETUP.

Christopher Meng cicku at fedoraproject.org
Mon Aug 26 00:45:46 UTC 2013


commit 583f99dd5ab604d9078caf2dbb96a640796bab2e
Author: Koji <koji at fedoraproject.org>
Date:   Mon Aug 26 08:44:37 2013 +0800

    Initial SETUP.

 .gitignore  |    1 +
 abakus.spec |   55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources     |    1 +
 3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..86bb674 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/abakus-0.92.tar.bz2
diff --git a/abakus.spec b/abakus.spec
new file mode 100644
index 0000000..bba1a24
--- /dev/null
+++ b/abakus.spec
@@ -0,0 +1,55 @@
+Name:           abakus
+Version:        0.92
+Release:        2%{?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
+* Wed Jul 31 2013 Christopher Meng <rpm at cicku.me> - 0.92-2
+- Fix the license.
+
+* Sun Jan 27 2013 Christopher Meng <rpm at cicku.me> - 0.92-1
+- Initial Package.
diff --git a/sources b/sources
index e69de29..c45600c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+75df65492b468555b328b834e87f8957  abakus-0.92.tar.bz2


More information about the scm-commits mailing list