Hello community, here is the log from the commit of package fityk for openSUSE:Factory checked in at 2014-11-14 09:19:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fityk (Old) and /work/SRC/openSUSE:Factory/.fityk.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fityk" Changes: -------- --- /work/SRC/openSUSE:Factory/fityk/fityk.changes 2014-08-18 11:24:00.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.fityk.new/fityk.changes 2014-11-14 09:19:24.000000000 +0100 @@ -1,0 +2,10 @@ +Wed Nov 12 19:30:36 UTC 2014 - [email protected] + +- Update to version 1.2.9 + * See included NEWS file for detailes. + * Update fityk-no-compilation-date.patch +- Move CLI binary to separate package +- Build with nonlinear optimization support +- Build python bindings to libfityk + +------------------------------------------------------------------- Old: ---- fityk-1.2.1.tar.bz2 New: ---- fityk-1.2.9.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fityk.spec ++++++ --- /var/tmp/diff_new_pack.5j53m9/_old 2014-11-14 09:19:26.000000000 +0100 +++ /var/tmp/diff_new_pack.5j53m9/_new 2014-11-14 09:19:26.000000000 +0100 @@ -17,34 +17,30 @@ Name: fityk -Version: 1.2.1 +Version: 1.2.9 Release: 0 %define somajor 4 Summary: Non-linear curve fitting and data analysis License: GPL-2.0+ -Group: Applications/Engineering +Group: Productivity/Scientific/Math Url: http://fityk.nieto.pl/ Source: https://github.com/wojdyr/fityk/releases/download/v%{version}/fityk-%{version}.tar.bz2 # PATCH-FIX-OPENSUSE fityk-no-compilation-date.patch -- fix rpmlint warning "file-contains-current-date" Patch1: fityk-no-compilation-date.patch BuildRequires: boost-devel >= 1.35 BuildRequires: desktop-file-utils +BuildRequires: fdupes BuildRequires: gcc-c++ -BuildRequires: gtk2-devel -BuildRequires: libpng +BuildRequires: gnuplot BuildRequires: lua-devel >= 5.1 BuildRequires: ncurses-devel +BuildRequires: nlopt-devel +BuildRequires: python-devel BuildRequires: readline-devel -%if 0%{?suse_version} >= 1320 +BuildRequires: swig BuildRequires: wxWidgets-devel >= 3 -%else -BuildRequires: wxWidgets-devel >= 2.9.4 -%define _use_internal_dependency_generator 0 -%define __find_requires %wx_requires -%endif BuildRequires: xylib-devel >= 1.0 -BuildRequires: zlib -Requires: gnuplot +BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -61,28 +57,58 @@ functions (especially peak-shaped) to data (usually experimental data). It can also be used for visualization of x-y data only. +%package -n cfityk +Summary: Non-linear curve fitting and data analysis, command line interface +Group: Productivity/Scientific/Math +Recommends: gnuplot + +%description -n cfityk +Fityk is a program for nonlinear curve-fitting of analytical +functions (especially peak-shaped) to data (usually experimental +data). It can also be used for visualization of x-y data only. + +This package contains command line interface for Fityk. + %package devel Summary: Header files, libraries and development documentation for %{name} Group: Development/Libraries Requires: lib%{name}%{somajor} = %{version} %description devel -This package contains the header files, static libraries and development -documentation for %{name}. If you like to develop programs that make -use of %{name}, you will need to install %{name}-devel. +Fityk is a program for nonlinear curve-fitting of analytical +functions (especially peak-shaped) to data (usually experimental +data). It can also be used for visualization of x-y data only. + +This package contains libraries and header files for developing +applications that use Fityk library. + +%package -n python-fityk +Summary: Python bindings to Fityk library +Group: Development/Libraries/Python + +%description -n python-fityk +Fityk is a program for nonlinear curve-fitting of analytical +functions (especially peak-shaped) to data (usually experimental +data). It can also be used for visualization of x-y data only. + +This package contains python bindings to Fityk library. %prep %setup -q %patch1 -p1 %build -%configure --disable-xyconvert +%configure \ + --disable-xyconvert \ + --enable-nlopt \ + --enable-python make %{?_smp_mflags} %install %make_install rm %{buildroot}/%{_libdir}/*.la +%fdupes %{buildroot}%{py_sitedir} %post -n lib%{name}%{somajor} /sbin/ldconfig @@ -95,7 +121,7 @@ %doc COPYING NEWS README TODO %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/samples -%{_bindir}/*fityk +%{_bindir}/fityk %{_datadir}/%{name}/html/ %{_datadir}/%{name}/samples/README %{_datadir}/%{name}/samples/*.dat @@ -110,6 +136,10 @@ %defattr(-,root,root) %{_libdir}/lib%{name}.so.%{somajor}* +%files -n cfityk +%defattr(-,root,root) +%{_bindir}/cfityk + %files devel %defattr(-,root,root) %{_includedir}/* @@ -123,4 +153,9 @@ # -> fityk-python %{_datadir}/%{name}/samples/*.py* +%files -n python-fityk +%defattr(-,root,root) +%{python_sitearch}/* +%{python_sitelib}/* + %changelog ++++++ fityk-1.2.1.tar.bz2 -> fityk-1.2.9.tar.bz2 ++++++ ++++ 54612 lines of diff (skipped) ++++++ fityk-no-compilation-date.patch ++++++ --- /var/tmp/diff_new_pack.5j53m9/_old 2014-11-14 09:19:26.000000000 +0100 +++ /var/tmp/diff_new_pack.5j53m9/_new 2014-11-14 09:19:26.000000000 +0100 @@ -1,12 +1,12 @@ -Index: fityk-1.2.1/fityk/info.cpp +Index: fityk-1.2.9/fityk/info.cpp =================================================================== ---- fityk-1.2.1.orig/fityk/info.cpp -+++ fityk-1.2.1/fityk/info.cpp -@@ -132,7 +132,6 @@ string info_compiler() +--- fityk-1.2.9.orig/fityk/info.cpp ++++ fityk-1.2.9/fityk/info.cpp +@@ -142,7 +142,6 @@ string info_compiler() " " __VERSION__ #endif - "\nCompilation date: " __DATE__ - "\nBoost version: " + S(BOOST_VERSION / 100000) - + "." + S(BOOST_VERSION / 100 % 1000) - + "." + S(BOOST_VERSION % 100) + "\nWith libraries: " + "\nBoost " + S(BOOST_VERSION / 100000) + + "." + S(BOOST_VERSION / 100 % 1000) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
