summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraredridel2007-06-06 15:52:31 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit613077893088fda618941964566b15fe84b3d299 (patch)
treeebed03cf3398fba8b37d0f2e5201720e65531709
downloadgpe-calculator-613077893088fda618941964566b15fe84b3d299.zip
gpe-calculator-613077893088fda618941964566b15fe84b3d299.tar.gz
- added
Changed files: gpe-calculator.spec -> 1.1
-rw-r--r--gpe-calculator.spec41
1 files changed, 41 insertions, 0 deletions
diff --git a/gpe-calculator.spec b/gpe-calculator.spec
new file mode 100644
index 0000000..c712b54
--- /dev/null
+++ b/gpe-calculator.spec
@@ -0,0 +1,41 @@
+#
+Summary: GPE calculator
+Name: gpe-calculator
+Version: 0.2
+Release: 1
+License: GPL
+Group: Applications/Communications
+Source0: http://gpe.linuxtogo.org/download/source/%{name}-%{version}.tar.gz
+# Source0-md5: 6dc5eed9b200a45cf007f7a7ed4c2d23
+URL: http://gpe.linuxtogo.org
+BuildRequires: gtk+2-devel >= 2:2.10.7
+BuildRequires: libgpewidget-devel
+Requires: gpe-icons
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define gpename %(echo %{name} | sed -e 's/gpe-//')
+
+%description
+GPE calculator, for embedded devices
+
+%prep
+%setup -q
+
+%build
+%{__make} \
+ PREFIX=%{_prefix}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ PREFIX=$RPM_BUILD_ROOT%{_prefix}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/%{name}
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png