Accepting request 88575 from KDE:Distro:Factory
- Switched to using KDE macros - Switched release build (this is supposed to optimize performance) - Cleaned up spec file formatting (forwarded request 88457 from TheBlackCat) OBS-URL: https://build.opensuse.org/request/show/88575 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kst?expand=0&rev=29
This commit is contained in:
parent
a08636f73f
commit
45312a6ae3
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 17 13:11:58 UTC 2011 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Switched to using KDE macros
|
||||||
|
- Switched release build (this is supposed to optimize performance)
|
||||||
|
- Cleaned up spec file formatting
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 14 03:25:55 UTC 2011 - ctrippe@opensuse.org
|
Wed Sep 14 03:25:55 UTC 2011 - ctrippe@opensuse.org
|
||||||
|
|
||||||
|
140
kst.spec
140
kst.spec
@ -16,30 +16,34 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: kst
|
Name: kst
|
||||||
BuildRequires: gsl-devel readline-devel
|
Version: 2.0.4
|
||||||
BuildRequires: cmake
|
Release: 1
|
||||||
BuildRequires: libcfitsio-devel libqt4-devel update-desktop-files
|
License: GPLv2+
|
||||||
|
Summary: Real-Time Data Viewing and Plotting Tool with Basic Data Analysis Functionality
|
||||||
|
Url: http://kst-plot.kde.org/
|
||||||
|
Group: Productivity/Graphics/Visualization/Graph
|
||||||
|
Source: %{name}-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: Mesa-devel
|
BuildRequires: Mesa-devel
|
||||||
|
BuildRequires: cmake
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: gsl-devel
|
||||||
|
BuildRequires: kde4-filesystem
|
||||||
|
BuildRequires: libcfitsio-devel
|
||||||
BuildRequires: libnetcdf-devel
|
BuildRequires: libnetcdf-devel
|
||||||
|
BuildRequires: libqt4-devel
|
||||||
|
BuildRequires: readline-devel
|
||||||
|
BuildRequires: update-desktop-files
|
||||||
%if 0%{?suse_version} > 1130
|
%if 0%{?suse_version} > 1130
|
||||||
BuildRequires: getdata-devel
|
BuildRequires: getdata-devel
|
||||||
%endif
|
%endif
|
||||||
License: GPLv2+
|
|
||||||
Group: Productivity/Graphics/Visualization/Graph
|
|
||||||
Summary: Real-Time Data Viewing and Plotting Tool with Basic Data Analysis Functionality
|
|
||||||
Version: 2.0.4
|
|
||||||
Release: 1
|
|
||||||
Url: http://kst-plot.kde.org/
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
Source: kst-2.0.4.tar.gz
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Kst is a data plotting and viewing program. Some of the features
|
Kst is a data plotting and viewing program. Some of the features
|
||||||
include: - Robust plotting of live "streaming" data
|
include:
|
||||||
|
|
||||||
|
- Robust plotting of live "streaming" data
|
||||||
|
|
||||||
- Powerful keyboard and mouse plot manipulation
|
- Powerful keyboard and mouse plot manipulation
|
||||||
|
|
||||||
@ -59,103 +63,55 @@ Kst is a data plotting and viewing program. Some of the features
|
|||||||
|
|
||||||
- Powerful graphical user interface
|
- Powerful graphical user interface
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
C. Barth Netterfield <kst@omega.astro.utoronto.ca>
|
|
||||||
George Staikos <staikos@kde.org>
|
|
||||||
Andrew Walker <arwalker@sumusltd.com>
|
|
||||||
Rick Chern <rchern@interchange.ubc.ca>
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: GPLv2+
|
Summary: Development files for %{name}
|
||||||
Summary: Real-Time Data Viewing and Plotting Tool with Basic Data Analysis Functionality
|
Group: Development/Libraries/KDE
|
||||||
Group: Productivity/Scientific/Math
|
Requires: %{name} = %{version}
|
||||||
Requires: kst = %{version}
|
|
||||||
Requires: libqt4-devel
|
Requires: libqt4-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Kst is a data plotting and viewing program. Some of the features
|
Development libraries and headers needed to build software
|
||||||
include: - Robust plotting of live "streaming" data
|
making use of %{name}
|
||||||
|
|
||||||
- Powerful keyboard and mouse plot manipulation
|
%prep
|
||||||
|
%setup -q
|
||||||
- Powerful plug-in and extension support
|
|
||||||
|
|
||||||
- Large selection of built-in plotting and data manipulation
|
|
||||||
functions, such as histograms, equations, and power spectra
|
|
||||||
|
|
||||||
- Color mapping and contour mapping capabilities for
|
|
||||||
three-dimensional data
|
|
||||||
|
|
||||||
- Monitoring of events and notification support
|
|
||||||
|
|
||||||
- Built-in filtering and curve fitting capabilities
|
|
||||||
|
|
||||||
- Convenient command line interface
|
|
||||||
|
|
||||||
- Powerful graphical user interface
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
C. Barth Netterfield <kst@omega.astro.utoronto.ca>
|
|
||||||
George Staikos <staikos@kde.org>
|
|
||||||
Andrew Walker <arwalker@sumusltd.com>
|
|
||||||
Rick Chern <rchern@interchange.ubc.ca>
|
|
||||||
Eli Filder <eli@staikos.net>
|
|
||||||
Mike Fenton <mike@staikos.net>
|
|
||||||
Matthew D Truch <matt@truch.net>
|
|
||||||
Nicolas Brisset <Nicolas.Brisset@eurocopter.com>
|
|
||||||
Ted Kisner
|
|
||||||
The University of British Columbia
|
|
||||||
The University of Toronto
|
|
||||||
Sumus Technology Limited
|
|
||||||
Peter Kümmel <syntheticpp@gmx.net>
|
|
||||||
Zongyi Zang
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n kst-%{version}
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cmake -Dkst_rpath=0 -Dkst_install_prefix=/usr -Dkst_install_libdir=%{_lib} ./cmake
|
EXTRA_FLAGS="-Dkst_install_prefix=%{_kde_prefix} \
|
||||||
|
-Dkst_rpath=0 \
|
||||||
|
-Dkst_install_libdir=%{_lib} \
|
||||||
|
-Dkst_install_plugin_desktop_file_path=%{_kde4_servicesdir}/%{name}
|
||||||
|
-Dkst_release=1"
|
||||||
|
%cmake_kde4 -d build -- $EXTRA_FLAGS $RPM_BUILD_DIR/%buildsubdir/cmake
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
cd build
|
||||||
%make_install
|
%make_install
|
||||||
%suse_update_desktop_file kst2 Qt KDE Education Science Math
|
cd ..
|
||||||
%fdupes $RPM_BUILD_ROOT
|
%suse_update_desktop_file %{name}2 Qt KDE Education Science Math
|
||||||
|
%fdupes %{buildroot}
|
||||||
%post -p /sbin/ldconfig
|
%kde_post_install
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_libdir}/kst2
|
%{_kde4_datadir}/applications/%{name}2.desktop
|
||||||
%{_bindir}/kst2
|
%{_kde4_bindir}/%{name}2
|
||||||
%{_libdir}/libkst*.so.*
|
%{_kde4_datadir}/applnk/
|
||||||
%{_libdir}/kst2/*
|
%{_kde4_datadir}/mimelink/
|
||||||
/usr/share/icons/hicolor/*/apps/*kst.*
|
%{_kde4_iconsdir}/hicolor/*/apps/*%{name}.*
|
||||||
/usr/share/applications/kst2.desktop
|
%{_kde4_libdir}/lib%{name}*.so.*
|
||||||
/usr/share/applnk/Graphics/kst2.desktop
|
%{_kde4_libdir}/%{name}2/
|
||||||
/usr/share/mimelink/application/x-kst2.desktop
|
%{_kde4_mandir}/man1/%{name}2.1.gz
|
||||||
/usr/share/man/man1/kst2.1.gz
|
|
||||||
%dir /usr/share/applnk
|
|
||||||
%dir /usr/share/applnk/Graphics
|
|
||||||
%dir /usr/share/icons/hicolor
|
|
||||||
%dir /usr/share/icons/hicolor/*
|
|
||||||
%dir /usr/share/icons/hicolor/*/apps
|
|
||||||
%dir /usr/share/mimelink
|
|
||||||
%dir /usr/share/mimelink/application
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/*.so
|
%{_kde4_libdir}/*.so
|
||||||
%{_libdir}/libkst2app.a
|
%{_kde4_libdir}/lib%{name}2app.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user