SPECS: genius.spec - updated to 1.0.4

megabajt megabajt at pld-linux.org
Sun Feb 8 20:39:10 CET 2009


Author: megabajt                     Date: Sun Feb  8 19:39:10 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 1.0.4

---- Files affected:
SPECS:
   genius.spec (1.73 -> 1.74) 

---- Diffs:

================================================================
Index: SPECS/genius.spec
diff -u SPECS/genius.spec:1.73 SPECS/genius.spec:1.74
--- SPECS/genius.spec:1.73	Tue Jun 10 21:55:56 2008
+++ SPECS/genius.spec	Sun Feb  8 20:39:05 2009
@@ -2,12 +2,12 @@
 Summary:	General tool for mathematics
 Summary(pl.UTF-8):	Rozbudowane narzędzie matematyczne
 Name:		genius
-Version:	1.0.3
+Version:	1.0.4
 Release:	1
 License:	GPL v3+
-Group:		X11/Applications
+Group:		X11/Applications/Math
 Source0:	http://ftp.5z.com/pub/genius/%{name}-%{version}.tar.bz2
-# Source0-md5:	9500bf293016de90aff838a3ae31339f
+# Source0-md5:	47072a2049dc42a3afbda59746df0abb
 Patch0:		%{name}-termcap.patch
 Patch1:		%{name}-desktop.patch
 URL:		http://www.jirka.org/genius.html
@@ -31,6 +31,7 @@
 BuildRequires:	scrollkeeper
 BuildRequires:	sed >= 4.0
 BuildRequires:	vte-devel >= 0.8.19
+Requires(post,postun):	desktop-file-utils
 Requires(post,postun):	gtk+2
 Requires(post,postun):	hicolor-icon-theme
 Requires(post,postun):	scrollkeeper
@@ -90,9 +91,10 @@
 %configure \
 	--disable-static \
 	--enable-gtksourceview \
-	--enable-gnome
+	--enable-gnome \
+	--disable-update-mimedb
 
-%{__make} -j1
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -100,13 +102,11 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-# Thess files are autogenerated
-rm -f $RPM_BUILD_ROOT%{_datadir}/mime/{XMLnamespaces,aliases,globs,magic,mime.cache,subclasses}
-rm -rf $RPM_BUILD_ROOT%{_datadir}/mime/text
-
 # Obsoleted GNOME mime-info stuff
 rm -rf $RPM_BUILD_ROOT%{_datadir}/{application-registry,mime-info}
 
+rm -f $RPM_BUILD_ROOT%{_libdir}/genius/libtestplugin.{so,la}
+
 %find_lang %{name} --with-gnome --with-omf --all-name
 
 %clean
@@ -114,12 +114,14 @@
 
 %post
 %scrollkeeper_update_post
+%update_desktop_database_post
 %update_mime_database
 %update_icon_cache hicolor
 
 %postun
 %update_icon_cache hicolor
 %scrollkeeper_update_postun
+%update_desktop_database_postun
 %update_mime_database
 
 %files -f %{name}.lang
@@ -136,9 +138,6 @@
 
 %files devel
 %defattr(644,root,root,755)
-# Do we really need this la and so files?
-%attr(755,root,root) %{_libdir}/genius/libtestplugin.so
-%{_libdir}/genius/libtestplugin.la
 %{_includedir}/genius
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -147,6 +146,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.74  2009/02/08 19:39:05  megabajt
+- updated to 1.0.4
+
 Revision 1.73  2008/06/10 19:55:56  lisu
 - 1.0.3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/genius.spec?r1=1.73&r2=1.74&f=u



More information about the pld-cvs-commit mailing list