]> git.pld-linux.org Git - packages/genius.git/blobdiff - genius.spec
- O: drgeo/drgenius, rel. 2
[packages/genius.git] / genius.spec
index 75757d1561759a3208cd3cf83c35db53d7be7d31..cdab817653725d8546e6a0408efe4a48dc9fa4ec 100644 (file)
@@ -1,24 +1,32 @@
 Summary:       General tool for mathematics
 Summary(pl):   Rozbudowane narzêdzie matematyczne
 Name:          genius
-Version:       0.5.5
-Release:       1
+Version:       0.7.1
+Release:       2
 License:       GPL
 Group:         X11/Applications
-# Source0-md5: 2819bd0c281a367a890ac631eb61a665
-Source0:       http://ftp.gnome.org/pub/gnome/sources/genius/0.5/%{name}-%{version}.tar.bz2
+Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/0.7/%{name}-%{version}.tar.bz2
+# Source0-md5: f6595351975739225727c0f8e0e8fb72
 Patch0:                %{name}-am.patch
 Patch1:                %{name}-termcap.patch
+Patch2:                %{name}-locale-names.patch
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: intltool
-BuildRequires: libtool
 BuildRequires: bison
 BuildRequires: flex
-BuildRequires: gettext-devel
-BuildRequires: libgnomeui-devel
+BuildRequires: gmp-devel
+BuildRequires: gtksourceview-devel >= 0.3.0
+BuildRequires: intltool >= 0.21
+BuildRequires: libglade2-devel >= 2.0.1
+BuildRequires: libgnomeui-devel >= 2.4.0
+BuildRequires: libtool
 BuildRequires: ncurses-devel
-BuildRequires: vte-devel
+BuildRequires: popt-devel
+BuildRequires: vte-devel >= 0.8.19
+Requires(post,postun): /sbin/ldconfig
+Requires(post,postun): shared-mime-info
+Obsoletes:     drgenius
+Obsoletes:     drgeo
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -39,7 +47,7 @@ precyzji, liczby ca
 Summary:       genius header files
 Summary(pl):   Pliki nag³ówkowe genius
 Group:         X11/Development/Libraries
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{version}-%{release}
 
 %description devel
 Genius header files.
@@ -51,6 +59,9 @@ Pliki nag
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+
+mv po/{no,nb}.po
 
 %build
 rm -f missing acinclude.m4
@@ -61,7 +72,10 @@ intltoolize --copy --force
 %{__autoconf}
 %{__automake}
 %configure \
-       --disable-static        
+       --disable-static \
+       --enable-gtksourceview \
+       --enable-gnome
+
 %{__make}
 
 %install
@@ -69,11 +83,20 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
-       
+
+
+# This files are autogenerated
+rm -f $RPM_BUILD_ROOT%{_datadir}/mime/{XMLnamespaces,globs,magic}
+
 %find_lang %{name} --with-gnome --all-name
 
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post
+/sbin/ldconfig
+update-mime-database %{_datadir}/mime
+
+%postun
+/sbin/ldconfig
+update-mime-database %{_datadir}/mime
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -86,6 +109,10 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/genius/libtestplugin.so.*.*.*
 %attr(755,root,root) %{_libdir}/genius-readline-helper-fifo
 %{_datadir}/genius
+%{_datadir}/application-registry/*
+%{_datadir}/mime-info/*
+%{_datadir}/mime/packages/*
+%{_datadir}/mime/text/*
 %{_desktopdir}/*.desktop
 
 %files devel
This page took 0.03664 seconds and 4 git commands to generate.