[fityk] updated to fityk 0.9.4
Marcin Wojdyr
wojdyr at fedoraproject.org
Tue Oct 12 14:27:44 UTC 2010
commit d91b6af6603db74de1f124ccecb93104f0ea3bb4
Author: Marcin Wojdyr <wojdyr at fedoraproject.org>
Date: Tue Oct 12 16:27:50 2010 +0200
updated to fityk 0.9.4
fityk.spec | 35 +++++++++++++++++++++++------------
1 files changed, 23 insertions(+), 12 deletions(-)
---
diff --git a/fityk.spec b/fityk.spec
index 2f24bc2..fd552dd 100644
--- a/fityk.spec
+++ b/fityk.spec
@@ -1,7 +1,7 @@
Name: fityk
Summary: Non-linear curve fitting and data analysis
-Version: 0.8.8
-Release: 2%{?dist}
+Version: 0.9.4
+Release: 1%{?dist}
Source0: http://downloads.sourceforge.net/fityk/%{name}-%{version}.tar.bz2
URL: http://fityk.sourceforge.net/
@@ -9,12 +9,13 @@ License: GPLv2+
Group: Applications/Engineering
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
-BuildRequires: gcc-c++, readline-devel, ncurses-devel, desktop-file-utils
-BuildRequires: xylib-devel >= 0.4
+BuildRequires: gcc-c++, readline-devel, ncurses-devel, desktop-file-utils
+BuildRequires: xylib-devel >= 0.6
+BuildRequires: boost-devel >= 1.36
%if 0%{?mandriva_version}
-BuildRequires: libwxgtk2.8-devel
+BuildRequires: libwxgtk2.8-devel >= 2.8.4
%else
-BuildRequires: wxGTK-devel >= 2.8.0
+BuildRequires: wxGTK-devel >= 2.8.4
%endif
Requires: gnuplot
@@ -38,7 +39,7 @@ use of %{name}, you will need to install %{name}-devel.
%setup -q
%build
-%configure CPPFLAGS="-DNDEBUG" --with-samples
+%configure --with-samples --disable-xyconvert
# remove rpath
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
@@ -48,8 +49,14 @@ make %{?_smp_mflags}
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p" install
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
-# Python bindings are experimental and not packaged, remove python sample
+
+# SWIG bindings are not packaged, remove samples
rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/samples/*.py*
+rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/samples/*.lua
+rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/samples/*.pl
+
+ln -s fityk.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/cfityk.1.gz
+
desktop-file-validate %{buildroot}/%{_datadir}/applications/fityk.desktop
%clean
@@ -71,15 +78,13 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/samples
%{_bindir}/*
-%{_datadir}/%{name}/*.html
-%{_datadir}/%{name}/*.css
-%{_datadir}/%{name}/fitykhelp_img/
+%{_datadir}/%{name}/html/
%{_datadir}/%{name}/samples/README
%{_datadir}/%{name}/samples/*.dat
%{_datadir}/%{name}/samples/*.fit
%{_datadir}/applications/*.desktop
%{_libdir}/*.so.*
-%{_mandir}/man1/%{name}.*
+%{_mandir}/man1/*
%{_datadir}/pixmaps/*
%{_datadir}/mime/packages/*
@@ -90,6 +95,12 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
%{_datadir}/%{name}/samples/*.cc
%changelog
+* Tue Oct 12 2010 Marcin Wojdyr <wojdyr at gmail.com> - 0.9.4-1
+- update to 0.9.4
+- update BuildRequires and files
+- add configure flag --disable-xyconvert and remove -DNDEBUG
+- symlink man page for cfityk
+
* Wed Jul 14 2010 Dan Horák <dan at danny.cz> - 0.8.8-2
- rebuilt against wxGTK-2.8.11-2
More information about the scm-commits
mailing list