[mate-calc] initial import

Dan Mashal vicodan at fedoraproject.org
Mon Nov 12 17:42:49 UTC 2012


commit 4b5427c8ff28d7292dcca30c9e1f5ace4985bfd2
Author: Dan Mashal <dan.mashal at fedoraproject.org>
Date:   Mon Nov 12 09:42:39 2012 -0800

    initial import

 .gitignore     |    1 +
 mate-calc.spec |   59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources        |    1 +
 3 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c901c47 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mate-calc-1.5.0.tar.xz
diff --git a/mate-calc.spec b/mate-calc.spec
new file mode 100644
index 0000000..4afd0e6
--- /dev/null
+++ b/mate-calc.spec
@@ -0,0 +1,59 @@
+Name:		mate-calc
+Version:	1.5.0
+Release:	1%{?dist}
+Summary:	MATE Desktop calculator
+License:	GPLv2+
+URL:		http://mate-desktop.org
+Source0:	http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz
+
+BuildRequires:	gtk2-devel libxml2-devel mate-common mate-doc-utils bison flex mate-desktop-devel rarian-devel rarian-compat desktop-file-utils
+
+
+%description
+MATE Desktop calculator
+
+%prep
+%setup -q
+NOCONFIGURE=1 ./autogen.sh
+
+
+%build
+%configure --disable-scrollkeeper --disable-schemas-compile --with-gtk=2.0
+make %{?_smp_mflags} V=1
+
+%install
+make install DESTDIR=%{buildroot}
+find %{buildroot} -name '*.la' -exec rm -rf {} ';'
+find %{buildroot} -name '*.a' -exec rm -rf {} ';'
+%find_lang %{name} --all-name
+
+
+desktop-file-install									\
+	--remove-category="MATE"							\
+	--add-category="X-Mate"								\
+	--delete-original								\
+	--dir=%{buildroot}%{_datadir}/applications					\
+%{buildroot}%{_datadir}/applications/*.desktop
+
+%postun
+if [ $1 -eq 0 ] ; then
+/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+fi
+
+%posttrans
+/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+
+%files -f %{name}.lang
+%doc AUTHORS COPYING README
+%{_mandir}/man1/*
+%{_bindir}/mate-calc
+%{_bindir}/mate-calc-cmd
+%{_bindir}/mate-calculator
+%{_datadir}/applications/mate-calc.desktop
+%{_datadir}/glib-2.0/schemas/org.mate.mate-calc.gschema.xml
+%{_datadir}/mate-calc
+%{_datadir}/mate/help/mate-calc
+
+%changelog
+* Mon Nov 12 2012 Dan Mashal <dan.mashal at fedoraproject.org> 1.5.0-1
+- Initial build
diff --git a/sources b/sources
index e69de29..0a1041d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+70cac389a172dcbf47dcf9406952a2c3  mate-calc-1.5.0.tar.xz


More information about the scm-commits mailing list