- updated to 18.12.0
authorWitold Filipczyk <witekfl@poczta.onet.pl>
Thu, 27 Dec 2018 09:23:10 +0000 (10:23 +0100)
committerWitold Filipczyk <witekfl@poczta.onet.pl>
Thu, 27 Dec 2018 09:23:10 +0000 (10:23 +0100)
ka5-kalgebra.spec [new file with mode: 0644]

diff --git a/ka5-kalgebra.spec b/ka5-kalgebra.spec
new file mode 100644 (file)
index 0000000..d34fa64
--- /dev/null
@@ -0,0 +1,118 @@
+%define                kdeappsver      18.12.0
+%define                qtver           5.9.0
+%define                kaname          kalgebra
+Summary:       Kalgebra
+Name:          ka5-%{kaname}
+Version:       18.12.0
+Release:       1
+License:       GPL v2+/LGPL v2.1+
+Group:         X11/Libraries
+Source0:       http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5: 0149b280afdf705bce796d26de87c113
+URL:           http://www.kde.org/
+BuildRequires: Qt5Core-devel
+BuildRequires: Qt5Core-devel >= %{qtver}
+BuildRequires: Qt5Gui-devel >= 5.11.1
+BuildRequires: Qt5Network-devel >= 5.11.1
+BuildRequires: Qt5PrintSupport-devel
+BuildRequires: Qt5Qml-devel
+BuildRequires: Qt5Quick-devel
+BuildRequires: Qt5Svg-devel
+BuildRequires: Qt5Test-devel
+BuildRequires: Qt5Widgets-devel >= 5.11.1
+BuildRequires: Qt5Xml-devel
+BuildRequires: cmake >= 2.8.12
+BuildRequires: gettext-devel
+BuildRequires: ka5-analitza-devel
+BuildRequires: kf5-extra-cmake-modules >= 5.53.0
+BuildRequires: kf5-kcoreaddons-devel
+BuildRequires: kf5-ki18n-devel
+BuildRequires: qt5-build >= %{qtver}
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: shared-mime-info
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+KAlgebra is a fully featured calculator that lets you plot different
+types of 2D and 3D functions and to calculate easy (and not so easy)
+calculations, such as addition, trigonometric functions or
+derivatives.
+
+The application has been thought to be progressively understood for
+students, so that starting to use it doesn't get in the way. The
+language is deeply integrated with the UI, providing a dictionary with
+representations for all the available operations, code highlighting
+and code completion.
+
+%prep
+%setup -q -n %{kaname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+       -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+       ..
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} -C build install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{kaname} --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{kaname}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/calgebra
+%attr(755,root,root) %{_bindir}/kalgebra
+%attr(755,root,root) %{_bindir}/kalgebramobile
+%{_desktopdir}/org.kde.kalgebra.desktop
+%{_desktopdir}/org.kde.kalgebramobile.desktop
+%{_iconsdir}/hicolor/64x64/apps/kalgebra.png
+%{_iconsdir}/hicolor/scalable/apps/kalgebra.svgz
+%dir %{_datadir}/kalgebramobile
+%dir %{_datadir}/kalgebramobile/plugins
+%{_datadir}/kalgebramobile/plugins/About.qml
+%{_datadir}/kalgebramobile/plugins/Console.qml
+%{_datadir}/kalgebramobile/plugins/Dictionary.qml
+%{_datadir}/kalgebramobile/plugins/Plot2D.qml
+%{_datadir}/kalgebramobile/plugins/Plot3D.qml
+%{_datadir}/kalgebramobile/plugins/Tables.qml
+%{_datadir}/kalgebramobile/plugins/VariablesView.qml
+%{_datadir}/kalgebramobile/plugins/kalgebraabout.json
+%{_datadir}/kalgebramobile/plugins/kalgebraconsole.json
+%{_datadir}/kalgebramobile/plugins/kalgebradictionary.json
+%{_datadir}/kalgebramobile/plugins/kalgebraplot2d.json
+%{_datadir}/kalgebramobile/plugins/kalgebraplot3d.json
+%{_datadir}/kalgebramobile/plugins/kalgebratables.json
+%{_datadir}/kalgebramobile/plugins/kalgebravariables.json
+%dir %{_datadir}/kalgebramobile/plugins/widgets
+%{_datadir}/kalgebramobile/plugins/widgets/Action.qml
+%{_datadir}/kalgebramobile/plugins/widgets/AddButton.qml
+%{_datadir}/kalgebramobile/plugins/widgets/Button.qml
+%{_datadir}/kalgebramobile/plugins/widgets/CalcButton.qml
+%{_datadir}/kalgebramobile/plugins/widgets/ComboBox.qml
+%{_datadir}/kalgebramobile/plugins/widgets/Dialog.qml
+%{_datadir}/kalgebramobile/plugins/widgets/ExpressionInput.qml
+%{_datadir}/kalgebramobile/plugins/widgets/KAlgebraMobile.qml
+%{_datadir}/kalgebramobile/plugins/widgets/KAlgebraPage.qml
+%{_datadir}/kalgebramobile/plugins/widgets/Label.qml
+%{_datadir}/kalgebramobile/plugins/widgets/RealInput.qml
+%{_datadir}/kalgebramobile/plugins/widgets/SimpleListView.qml
+%{_datadir}/kalgebramobile/plugins/widgets/qmldir
+%{_datadir}/katepart5/syntax/kalgebra.xml
+%{_datadir}/kservices5/graphsplasmoid.desktop
+%{_datadir}/metainfo/org.kde.kalgebra.appdata.xml
+%{_datadir}/metainfo/org.kde.kalgebramobile.appdata.xml
+%dir %{_datadir}/plasma/plasmoids/org.kde.graphsplasmoid
+%dir %{_datadir}/plasma/plasmoids/org.kde.graphsplasmoid/contents
+%dir %{_datadir}/plasma/plasmoids/org.kde.graphsplasmoid/contents/ui
+%{_datadir}/plasma/plasmoids/org.kde.graphsplasmoid/contents/ui/config.ui
+%{_datadir}/plasma/plasmoids/org.kde.graphsplasmoid/contents/ui/main.qml
+%{_datadir}/plasma/plasmoids/org.kde.graphsplasmoid/metadata.desktop
This page took 0.165497 seconds and 4 git commands to generate.