- gpm-friendly Source0 URL
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 14 Jan 2007 12:23:09 +0000 (12:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- no ldconfig, include soname symlink (library outside system dirs)
- use scrollkeeper macros

Changed files:
    genius.spec -> 1.61

genius.spec

index e69908d4f18428918425e9d58b4dd71ffd66468d..7f8e9bf0207b2f2843083dba630213c230e4104f 100644 (file)
@@ -5,7 +5,7 @@ Version:        0.7.6.1
 Release:       1
 License:       GPL v2+
 Group:         X11/Applications
-Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/0.7/%{name}-%{version}.tar.bz2
+Source0:       http://ftp.gnome.org/pub/gnome/sources/genius/0.7/%{name}-%{version}.tar.bz2
 # Source0-md5: 35f3711ab30575474035b1bb99e08f5a
 Patch0:                %{name}-termcap.patch
 Patch1:                %{name}-desktop.patch
@@ -25,9 +25,9 @@ BuildRequires:        libtool
 BuildRequires: ncurses-devel
 BuildRequires: pkgconfig
 BuildRequires: readline-devel
+BuildRequires: rpmbuild(macros) >= 1.198
 BuildRequires: scrollkeeper
 BuildRequires: vte-devel >= 0.8.19
-Requires(post,postun): /sbin/ldconfig
 Requires(post,postun): scrollkeeper
 Requires(post,postun): shared-mime-info
 Obsoletes:     drgenius
@@ -89,31 +89,28 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-
-# This files are autogenerated
+# Thess files are autogenerated
 rm -f $RPM_BUILD_ROOT%{_datadir}/mime/{XMLnamespaces,globs,magic}
 
 %find_lang %{name} --with-gnome --all-name
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %post
-/sbin/ldconfig
-/usr/bin/scrollkeeper-update
+%scrollkeeper_update_post
 update-mime-database %{_datadir}/mime ||:
 
 %postun
-/sbin/ldconfig
-/usr/bin/scrollkeeper-update
+%scrollkeeper_update_postun
 update-mime-database %{_datadir}/mime
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %dir %{_libdir}/genius
-%attr(755,root,root) %{_libdir}/genius/libtestplugin.so.*.*.*
+%attr(755,root,root) %{_libdir}/genius/libtestplugin.so.*
 %attr(755,root,root) %{_libdir}/genius-readline-helper-fifo
 %{_datadir}/genius
 %{_datadir}/application-registry/*
@@ -127,6 +124,6 @@ rm -rf $RPM_BUILD_ROOT
 %files devel
 %defattr(644,root,root,755)
 # Do we really need this la and so files?
-%{_libdir}/genius/libtestplugin.so
+%attr(755,root,root) %{_libdir}/genius/libtestplugin.so
 %{_libdir}/genius/libtestplugin.la
 %{_includedir}/genius
This page took 0.048022 seconds and 4 git commands to generate.