Bug 72661 - rpms cannot be built; need updated kst.spec.in file
Summary: rpms cannot be built; need updated kst.spec.in file
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-14 21:56 UTC by Matthew Truch
Modified: 2004-01-14 22:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch to add files to kst.spec.in as appropriate (1.54 KB, patch)
2004-01-14 22:00 UTC, Matthew Truch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Truch 2004-01-14 21:56:21 UTC
Version:           0.95-devel (using KDE KDE 3.1)
Installed from:    RedHat RPMs
OS:          Linux

Since 0.94, two new files are installed, and therefore need to be included in the spec file so rpms can be built properly.
Comment 1 Matthew Truch 2004-01-14 22:00:30 UTC
Created attachment 4173 [details]
Patch to add files to kst.spec.in as appropriate

I also snuck in a couple of general fixes to the spec file; the first is
Copyright is not only an invalid field, but the GPL isn't a copyright.	The
second is to delete the temp-root directory (if it exists and is not /) in case
there was a previous temp-root (which I had, and conflicted with the new one).
Comment 2 George Staikos 2004-01-14 22:13:29 UTC
Subject: kdeextragear-2/kst

CVS commit by staikos: 

update spec.  thanks for the patch

CCMAIL: 72661-done@bugs.kde.org


  M +4 -1      kst.spec.in   1.17


--- kdeextragear-2/kst/kst.spec.in  #1.16:1.17
@@ -9,5 +9,5 @@
 Source0: kst-%{version}.tar.gz
 Group: X11/Applications/Scientific
-Copyright: GNU GENERAL PUBLIC LICENSE
+License: GNU GENERAL PUBLIC LICENSE
 URL: http://omega.astro.utoronto.ca/kst/kst-%{version}.tar.gz
 Vendor: Barth Netterfield <netterfield@astro.utoronto.ca>
@@ -27,4 +27,5 @@
 
 %install
+[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
 make R="$RPM_BUILD_ROOT" SUID_ROOT="" install
 
@@ -57,4 +58,5 @@
 %prefix/share/servicetypes/kst/kstdatasourceplugin.desktop
 %prefix/share/servicetypes/kst/kstplugin.desktop
+%prefix/share/servicetypes/kst/kstfilter.desktop
 # UI file
 %prefix/share/apps/kst/kstui.rc
@@ -76,4 +78,5 @@
 %prefix/share/icons/hicolor/22x22/actions/kst_changenpts.png
 %prefix/share/icons/hicolor/22x22/actions/kst_changefile.png
+%prefix/share/icons/hicolor/22x22/actions/kst_datamode.png
 %prefix/share/icons/locolor/16x16/apps/kst.png
 %prefix/share/icons/locolor/32x32/apps/kst.png