commit a1a1be11aea32ca7cab01f1e7253391a8a3433da Author: Witold Filipczyk <wite...@poczta.onet.pl> Date: Sun Nov 5 13:20:38 2017 +0100
- updated to 17.08.2 ka5-analitza.spec | 91 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) --- diff --git a/ka5-analitza.spec b/ka5-analitza.spec new file mode 100644 index 0000000..140a713 --- /dev/null +++ b/ka5-analitza.spec @@ -0,0 +1,91 @@ +%define kdeappsver 17.08.2 +%define qtver 5.3.2 +%define kaname analitza +Summary: Analitza +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: 067434d882aeefe483f67b8f044ffb7a +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 +Analitza. + +%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-qm + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files -f %{kaname}.lang +%defattr(644,root,root,755) +%attr(755,root,root) %ghost %{_libdir}/libAnalitza.so.8 +%attr(755,root,root) %{_libdir}/libAnalitza.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libAnalitzaGui.so.8 +%attr(755,root,root) %{_libdir}/libAnalitzaGui.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libAnalitzaPlot.so.8 +%attr(755,root,root) %{_libdir}/libAnalitzaPlot.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libAnalitzaWidgets.so.8 +%attr(755,root,root) %{_libdir}/libAnalitzaWidgets.so.*.*.* +%dir %{_libdir}/qt5/qml/org/kde/analitza +%{_libdir}/qt5/qml/org/kde/analitza/Graph2D.qml +%{_libdir}/qt5/qml/org/kde/analitza/Graph3D.qml +%{_libdir}/qt5/qml/org/kde/analitza/libanalitzadeclarativeplugin.so +%{_libdir}/qt5/qml/org/kde/analitza/qmldir +%dir %{_datadir}/libanalitza +%dir %{_datadir}/libanalitza/plots +%{_datadir}/libanalitza/plots/3Ds.plots +%{_datadir}/libanalitza/plots/basic_curves.plots +%{_datadir}/libanalitza/plots/conics.plots +%{_datadir}/libanalitza/plots/polar.plots + +%files devel +%defattr(644,root,root,755) +%{_includedir}/Analitza5 +%{_libdir}/cmake/Analitza5 +%attr(755,root,root) %{_libdir}/libAnalitza.so +%attr(755,root,root) %{_libdir}/libAnalitzaGui.so +%attr(755,root,root) %{_libdir}/libAnalitzaPlot.so +%attr(755,root,root) %{_libdir}/libAnalitzaWidgets.so ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/ka5-analitza.git/commitdiff/a1a1be11aea32ca7cab01f1e7253391a8a3433da _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit