]> git.pld-linux.org Git - packages/galculator.git/blobdiff - galculator.spec
- desktop patch
[packages/galculator.git] / galculator.spec
index 3bf6ec42a29ddde1709ac04394414d906b8414ab..5d3f2a9711f9e8ab726c7c3fa1cdc1b6ad62684c 100644 (file)
@@ -1,16 +1,22 @@
-Summary:       a GTK 2 based scientific calculator
+# TODO:
+# - fix desktop to put it into proper menu
+Summary:       A GTK 2 based scientific calculator
 Summary(pl):   Kalkulator naukowy bazuj±cy na GTK 2
 Name:          galculator
-Version:       1.1.2
-Release:       1
+Version:       1.2.3
+Release:       2
 License:       GPL
 Group:         Applications/Math
-Source0:       http://dl.sf.net/%{name}/%{name}-%{version}.tar.bz2
-# Source0-md5: 326b862122de170c53f44acf901327e7
+Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
+# Source0-md5: f42148bcaac4b6b097cf2055c780bcfc
+Patch0:                %{name}-am.patch
+Patch1:                %{name}-desktop.patch
 URL:           http://galculator.sourceforge.net/
-BuildRequires: gtk+2-devel
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: flex
+BuildRequires: libglade2-devel >= 2.0.1
+BuildRequires: pkgconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -26,18 +32,21 @@ gradus).
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
+%{__aclocal}
 %{__autoconf}
+%{__automake}
 %configure
-
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT 
+       DESTDIR=$RPM_BUILD_ROOT
 
 %find_lang %{name}
 
@@ -46,7 +55,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%attr(755,root,root)%{_bindir}/%{name}
+%attr(755,root,root) %{_bindir}/%{name}
 %{_desktopdir}/%{name}.desktop
 %{_datadir}/%{name}
-%{_mandir}/man1/%{name}.1.gz
+%{_mandir}/man1/%{name}.1*
This page took 0.046331 seconds and 4 git commands to generate.