-
Notifications
You must be signed in to change notification settings - Fork 0
/
kst.spec.in
114 lines (101 loc) · 3.08 KB
/
kst.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# Installs in dir @prefix@
%define prefix @prefix@
Summary: A data viewing program for KDE.
Name: kst
Version: @KST_VERSION@
Release: 1
Source0: kst-%{version}.tar.gz
Group: X11/Applications/Scientific
License: GNU GENERAL PUBLIC LICENSE
URL: http://kst.kde.org/
Vendor: Barth Netterfield <[email protected]>
BuildRoot: /var/tmp/kst-%{version}.root
Requires(post,postun): /sbin/ldconfig
%description
A data viewing application for KDE.
%prep
%setup -q
./configure --prefix=%prefix --libdir=%prefix/%_lib --disable-dependency-tracking
%build
make
%install
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT SUID_ROOT="" install
%find_lang %{name}
%find_lang kstplugineditor
cat kstplugineditor.lang >> %{name}.lang
%files -f %{name}.lang
%defattr(-,root,root)
#binaries
%prefix/bin/kst
%prefix/bin/kstcmd
%prefix/bin/d2asc
#libraries
%prefix/%_lib/lib*.so*
%prefix/%_lib/lib*.la
#headers
%prefix/include/kstdatasource.h
%prefix/include/kstobject.h
%prefix/include/kstdateparser.h
%prefix/include/kst_export.h
%prefix/include/kstsharedptr.h
%prefix/include/rwlock.h
%prefix/include/kstextcalendarsystemgregorian.h
%prefix/include/kstextdatetimeedit.h
%prefix/include/kstextcalendarsystem.h
%prefix/include/kstextdatetime.h
%prefix/include/kstextdatepicker.h
%prefix/include/kstextdatewidget.h
%prefix/include/kstextdatetbl.h
%prefix/include/kstwaitcondition.h
#update
%prefix/share/apps/kconf_update/kstautosave11.upd
%prefix/share/apps/kconf_update/kstrcmisc11.upd
#fonts
%prefix/share/apps/kst/fonts/*.gz
#data plugins
%prefix/%_lib/kde3/kstdata_*.la
%prefix/%_lib/kde3/kstdata_*.so
%prefix/share/services/kst/kstdata_*.desktop
#plugins
%prefix/%_lib/kde3/kstplugins/*.la
%prefix/%_lib/kde3/kstplugins/*.so
%prefix/%_lib/kde3/kstplugins/*.xml
%prefix/share/servicetypes/kst/kstdatasourceplugin.desktop
%prefix/share/servicetypes/kst/kstplugin.desktop
%prefix/share/servicetypes/kst/kstfilter.desktop
#designerplugin
%prefix/%_lib/kde3/plugins/designer/kstwidgets.la
%prefix/%_lib/kde3/plugins/designer/kstwidgets.so
#extensions
%prefix/%_lib/kde3/kstextension_*.la
%prefix/%_lib/kde3/kstextension_*.so
%prefix/share/services/kst/kstextension_*.desktop
%prefix/share/apps/kst/kstextension_*.rc
%prefix/share/servicetypes/kst/kstextension.desktop
# UI file
%prefix/share/apps/kst/kstui.rc
#desktop file
%prefix/share/applnk/Applications/Sciences/kst.desktop
%prefix/share/mimelnk/application/x-kst.desktop
#icons
%prefix/share/icons/hicolor/22x22/actions/*.png
%prefix/share/icons/locolor/16x16/apps/kst.png
%prefix/share/icons/locolor/32x32/apps/kst.png
%prefix/share/icons/hicolor/16x16/mimetypes/kst.png
%prefix/share/icons/hicolor/32x32/mimetypes/kst.png
%prefix/share/icons/locolor/16x16/mimetypes/kst.png
%prefix/share/icons/locolor/32x32/mimetypes/kst.png
#other icons
%prefix/share/apps/kst/pics/*.png
#docs
%prefix/man/man1/kst.1.gz
%prefix/share/doc/HTML/*/kst/*
%prefix/share/apps/kst/tutorial/*
#other
"%prefix/share/config/colors"
%doc ChangeLog INSTALL AUTHORS README COPYING kst/COPYING.LGPL kst/RELEASE.NOTES kst/NEWS
%post
/sbin/ldconfig
%postun
/sbin/ldconfig