1
0
OBS User unknown 2007-01-16 16:14:07 +00:00 committed by Git OBS Bridge
parent bc2ad7eac1
commit 11f633ccb4
3 changed files with 17 additions and 15 deletions

View File

@ -8,7 +8,7 @@ if test -z "$XDG_DATA_DIRS" ; then
. /etc/profile.d/xdg-enviroment.sh . /etc/profile.d/xdg-enviroment.sh
fi fi
/opt/gnome/bin/update-desktop-database /usr/bin/update-desktop-database
# #
# end # end

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 15 18:07:26 CET 2007 - sbrabec@suse.cz
- Spec file cleanup.
- Fixed path in SuSEconfig.desktop-file-utils.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 8 00:08:19 CET 2007 - ro@suse.de Mon Jan 8 00:08:19 CET 2007 - ro@suse.de

View File

@ -12,12 +12,11 @@
Name: desktop-file-utils Name: desktop-file-utils
BuildRequires: emacs-nox glib2-devel pkg-config popt-devel update-desktop-files BuildRequires: emacs-nox glib2-devel pkg-config popt-devel update-desktop-files
%define prefix /usr
License: GNU General Public License (GPL) License: GNU General Public License (GPL)
Group: Development/Tools/Other Group: Development/Tools/Other
Autoreqprov: on Autoreqprov: on
Version: 0.11 Version: 0.11
Release: 19 Release: 22
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Source1: SuSEconfig.desktop-file-utils Source1: SuSEconfig.desktop-file-utils
PreReq: /bin/rm /bin/rmdir PreReq: /bin/rm /bin/rmdir
@ -42,19 +41,13 @@ Authors:
%prep %prep
%setup %setup
%{?suse_update_config:%{suse_update_config}}
%build %build
export CFLAGS="$RPM_OPT_FLAGS" %configure\
./configure \ --with-lispdir=/usr/share/emacs/site-lisp
--prefix=%{prefix} \ make %{?jobs:-j%jobs}
--libdir=%{prefix}/%_lib \
--sysconfdir=/etc \
--with-lispdir=/usr/share/emacs/site-lisp
make
%install %install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT/sbin/conf.d mkdir -p $RPM_BUILD_ROOT/sbin/conf.d
install %{S:1} $RPM_BUILD_ROOT/sbin/conf.d install %{S:1} $RPM_BUILD_ROOT/sbin/conf.d
@ -83,10 +76,10 @@ fi
%files %files
%defattr(-, root, root) %defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README %doc AUTHORS COPYING ChangeLog NEWS README
%prefix/bin/* %{_bindir}/*
/usr/share/emacs/site-lisp/*.el* %{_datadir}/emacs/site-lisp/*.el*
%ghost %{_datadir}/applications/mimeinfo.cache
/sbin/conf.d/SuSEconfig.* /sbin/conf.d/SuSEconfig.*
%ghost /usr/share/applications/mimeinfo.cache
# Own directories to not require KDE installed. # Own directories to not require KDE installed.
%dir /etc/opt/kde3 %dir /etc/opt/kde3
%dir /etc/opt/kde3/share %dir /etc/opt/kde3/share
@ -100,6 +93,9 @@ fi
%ghost /usr/share/applications/mimeinfo.cache %ghost /usr/share/applications/mimeinfo.cache
%changelog -n desktop-file-utils %changelog -n desktop-file-utils
* Mon Jan 15 2007 - sbrabec@suse.cz
- Spec file cleanup.
- Fixed path in SuSEconfig.desktop-file-utils.
* Mon Jan 08 2007 - ro@suse.de * Mon Jan 08 2007 - ro@suse.de
- GNOME moved to /usr - GNOME moved to /usr
* Fri Oct 20 2006 - sbrabec@suse.cz * Fri Oct 20 2006 - sbrabec@suse.cz