- updated to 0.6.1
authorgrzegol <grzegol@pld-linux.org>
Mon, 26 Jul 2004 18:37:33 +0000 (18:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- run update-mime-database in %%post and %%postun

Changed files:
    genius.spec -> 1.45

genius.spec

index c17c347c824e23fa7583db02578209ee4bd97bf4..ecb86c5392f9954be9ad4eafc34d2537f04ec66a 100644 (file)
@@ -1,12 +1,12 @@
 Summary:       General tool for mathematics
 Summary(pl):   Rozbudowane narz√™dzie matematyczne
 Name:          genius
-Version:       0.6.0
+Version:       0.6.1
 Release:       1
 License:       GPL
 Group:         X11/Applications
 Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/0.6/%{name}-%{version}.tar.bz2
-# Source0-md5: ca25680a37762182bd60d9196f3e0b66
+# Source0-md5: f9668a1cddab3dfd3a9fc3d8f4933e35
 Patch0:                %{name}-am.patch
 Patch1:                %{name}-termcap.patch
 Patch2:                %{name}-locale-names.patch
@@ -21,7 +21,10 @@ BuildRequires:       libglade2-devel >= 2.0.1
 BuildRequires: libgnomeui-devel >= 2.4.0
 BuildRequires: libtool
 BuildRequires: ncurses-devel
+BuildRequires: popt-devel
 BuildRequires: vte-devel >= 0.8.19
+Requires(post,postun): /sbin/ldconfig
+Requires(post,postun): shared-mime-info
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -79,10 +82,19 @@ 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
@@ -95,6 +107,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.034642 seconds and 4 git commands to generate.