diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-05-23 12:16:22 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-05-23 12:16:22 +0000 |
commit | 773a40360278cb4b79dc962ce1cc14674af59bde (patch) | |
tree | 90e72d255e04a965f8827f96172d8db3c71e7e58 /sysui | |
parent | 52c9542c0e5dd0925e0f2fb229b24adc5e4642f3 (diff) |
INTEGRATION: CWS cloph01 (1.4.2); FILE MERGED
2005/05/19 22:57:18 cloph 1.4.2.1: Issue number: #i49374#,#i48213#
Submitted by: cloph
* Workaround recently changed glob matching of glibc
* change parameter expansion to sed command
* enhance description of the package
Diffstat (limited to 'sysui')
-rw-r--r-- | sysui/desktop/freedesktop/freedesktop-menus.spec | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/sysui/desktop/freedesktop/freedesktop-menus.spec b/sysui/desktop/freedesktop/freedesktop-menus.spec index eeff6132538f..d1e4ff1d7362 100644 --- a/sysui/desktop/freedesktop/freedesktop-menus.spec +++ b/sysui/desktop/freedesktop/freedesktop-menus.spec @@ -4,7 +4,7 @@ Release: %release Summary: OpenOffice.org desktop integration Name: openofficeorg-freedesktop-menus BuildRoot: %_tmppath/%name-%version-build%unique -#BuildRequires: ed +#BuildRequires: sed #BuildRequires: perl Group: Office License: LGPL / SISSL @@ -12,7 +12,10 @@ BuildArch: noarch AutoReqProv: no %description -OpenOffice.org desktop integration +OpenOffice.org desktop integration for desktop-environments that implement +the menu- and mime-related specifications from http://www.freedesktop.org +Install this package if you're using a distribution not covered by any of +the other openofficeorg-<distribution>-menus packages. %prep # create & change to rpm-Build-Dir @@ -40,7 +43,7 @@ perl %basedir/create_mime_xml.pl > usr/share/mime/packages/openoffice.org.xml ## for e.g. application/vnd.oasis.opendocument.spreadsheet cd usr/share/icons/hicolor originalname=%unixfilename -iconname=${originalname//.} +iconname=`echo $originalname | sed -e 's/\.//g'` for dir in *; do cd $dir/mimetypes # ln -s $iconname-database.png Anybody knows the mimetype? @@ -284,10 +287,19 @@ if (which update-mime-database); then fi %files +# specify stale symlinks verbatim, not as glob - a change in recent versions of +# glibc breaks rpm unless rpm is build with internal glob-matching (issue 49374) +# https://bugzilla.redhat.com/beta/show_bug.cgi?id=134362 %defattr(-, root, root) %ghost /etc/%unixfilename %attr(0755, root, root) /usr/bin/* -/usr/share/applications/*desktop +/usr/share/applications/%unixfilename-base.desktop +/usr/share/applications/%unixfilename-calc.desktop +/usr/share/applications/%unixfilename-draw.desktop +/usr/share/applications/%unixfilename-impress.desktop +/usr/share/applications/%unixfilename-math.desktop +/usr/share/applications/%unixfilename-printeradmin.desktop +/usr/share/applications/%unixfilename-writer.desktop /usr/share/icons/gnome/*/apps/*png /usr/share/icons/gnome/*/mimetypes/*png /usr/share/icons/hicolor/*/apps/*png |