[packages/ka5-kalzium] - updated to 17.08.2

witekfl witekfl at pld-linux.org
Sun Nov 5 19:25:48 CET 2017


commit 3ef9b1b2dcb07ac28838d41b0b3fc880b57074e3
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Sun Nov 5 19:25:36 2017 +0100

    - updated to 17.08.2

 ka5-kalzium.spec | 120 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 120 insertions(+)
---
diff --git a/ka5-kalzium.spec b/ka5-kalzium.spec
new file mode 100644
index 0000000..fa438ea
--- /dev/null
+++ b/ka5-kalzium.spec
@@ -0,0 +1,120 @@
+%define		kdeappsver	17.08.2
+%define		qtver		5.3.2
+%define		kaname		kalzium
+Summary:	Kalzium
+Name:		ka5-%{kaname}
+Version:	17.08.2
+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:	0612ef8f03482c4ad78f2dcee915717f
+URL:		http://www.kde.org/
+BuildRequires:	Qt5Core-devel >= %{qtver}
+BuildRequires:	cmake >= 2.8.12
+BuildRequires:	kf5-extra-cmake-modules >= 1.4.0
+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
+Kalzium.
+
+%package devel
+Summary:	Header files for %{kaname} development
+Summary(pl.UTF-8):	Pliki nagłówkowe dla programistów używających %{kpname}
+Group:		X11/Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for %{kaname} development.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla programistów używających %{kaname}.
+
+%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
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files -f %{kaname}.lang
+%defattr(644,root,root,755)
+/etc/xdg/kalzium.knsrc
+%attr(755,root,root) %{_bindir}/kalzium
+%attr(755,root,root) %ghost %{_libdir}/libscience.so.5
+%attr(755,root,root) %{_libdir}/libscience.so.*.*.*
+%{_desktopdir}/org.kde.kalzium.desktop
+%{_desktopdir}/org.kde.kalzium_cml.desktop
+%{_datadir}/config.kcfg/kalzium.kcfg
+%{_iconsdir}/hicolor/128x128/apps/kalzium.png
+%{_iconsdir}/hicolor/16x16/apps/kalzium.png
+%{_iconsdir}/hicolor/22x22/apps/kalzium.png
+%{_iconsdir}/hicolor/32x32/apps/kalzium.png
+%{_iconsdir}/hicolor/48x48/apps/kalzium.png
+%{_iconsdir}/hicolor/64x64/apps/kalzium.png
+%{_iconsdir}/hicolor/scalable/apps/kalzium.svgz
+%{_datadir}/kalzium
+%dir %{_datadir}/kxmlgui5/kalzium
+%{_datadir}/kxmlgui5/kalzium/kalziumui.rc
+%dir %{_datadir}/libkdeedu
+%dir %{_datadir}/libkdeedu/data
+%{_datadir}/libkdeedu/data/elements.xml
+%{_datadir}/libkdeedu/data/isotopes.xml
+%{_datadir}/libkdeedu/data/spectra.xml
+%{_datadir}/libkdeedu/data/symbols.csv
+%{_datadir}/libkdeedu/data/symbols2.csv
+%lang(ca) %{_mandir}/ca/man1/kalzium.1*
+%lang(da) %{_mandir}/da/man1/kalzium.1*
+%lang(de) %{_mandir}/de/man1/kalzium.1*
+%lang(es) %{_mandir}/es/man1/kalzium.1*
+%lang(et) %{_mandir}/et/man1/kalzium.1*
+%lang(fr) %{_mandir}/fr/man1/kalzium.1*
+%lang(gl) %{_mandir}/gl/man1/kalzium.1*
+%lang(it) %{_mandir}/it/man1/kalzium.1*
+%{_mandir}/man1/kalzium.1*
+%lang(nl) %{_mandir}/nl/man1/kalzium.1*
+%lang(pl) %{_mandir}/pl/man1/kalzium.1*
+%lang(pt) %{_mandir}/pt/man1/kalzium.1*
+%lang(pt_BR) %{_mandir}/pt_BR/man1/kalzium.1*
+%lang(ru) %{_mandir}/ru/man1/kalzium.1*
+%lang(sv) %{_mandir}/sv/man1/kalzium.1*
+%lang(uk) %{_mandir}/uk/man1/kalzium.1*
+%{_datadir}/metainfo/org.kde.kalzium.appdata.xml
+
+%files devel
+%defattr(644,root,root,755)
+%dir %{_includedir}/libkdeedu
+%{_includedir}/libkdeedu/chemicaldataobject.h
+%{_includedir}/libkdeedu/element.h
+%{_includedir}/libkdeedu/elementparser.h
+%{_includedir}/libkdeedu/isotope.h
+%{_includedir}/libkdeedu/isotopeparser.h
+%{_includedir}/libkdeedu/libkdeedu_science_export.h
+%{_includedir}/libkdeedu/moleculeparser.h
+%{_includedir}/libkdeedu/parser.h
+%{_includedir}/libkdeedu/psetables.h
+%{_includedir}/libkdeedu/spectrum.h
+%{_includedir}/libkdeedu/spectrumparser.h
+%attr(755,root,root) %{_libdir}/libscience.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka5-kalzium.git/commitdiff/3ef9b1b2dcb07ac28838d41b0b3fc880b57074e3



More information about the pld-cvs-commit mailing list