rpms/LabPlot/devel LabPlot.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Chitlesh GOORAH (chitlesh)
fedora-extras-commits at redhat.com
Sat Apr 28 07:19:23 UTC 2007
- Previous message (by thread): rpms/LabPlot import.log,1.2,1.3
- Next message (by thread): rpms/scribes/devel .cvsignore, 1.12, 1.13 scribes.spec, 1.27, 1.28 sources, 1.12, 1.13 scribes-fix-Job.py-print-header-path.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: chitlesh
Update of /cvs/extras/rpms/LabPlot/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11935/devel
Modified Files:
.cvsignore sources
Added Files:
LabPlot.spec
Log Message:
--- NEW FILE LabPlot.spec ---
Name: LabPlot
Version: 1.5.1.5
Release: 6%{?dist}
Summary: Data Analysis and Visualization
License: GPL
Group: Applications/Engineering
URL: http://labplot.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: http://downloads.sourceforge.net/labplot/%{name}-%{version}.tar.bz2
BuildRequires: kdelibs-devel libselinux-devel desktop-file-utils libexif-devel netcdf-devel
BuildRequires: gsl-devel ImageMagick-c++-devel fftw-devel jasper-devel qwtplot3d-devel
BuildRequires: pstoedit libtool qt-qsa-devel gettext htmldoc audiofile-devel ocaml
BuildRequires: liborigin-devel
%description
LabPlot is for scientific 2D and 3D data and function plotting.
The various display and analysis functions are explained in the
handbook (KDE help center). LabPlot also provides a component
for easily viewing the project files in Konqueror.
%package doc
Summary: Documentation for LabPlot, a Data Analysis and Visualization software
Group: Documentation
Requires: %{name} = %{version}-%{release}
%description doc
This package contains the documentation of LabPlot, a Data Analysis and
Visualization software and examples.
%package doc-br
Summary: Documentation for LabPlot in Brasilian
Group: Documentation
Requires: %{name}-doc = %{version}-%{release}
%description doc-br
This package contains the brasilian documentation of LabPlot,
a Data Analysis and Visualization software in the PDF format.
%package doc-de
Summary: Documentation for LabPlot in German
Group: Documentation
Requires: %{name}-doc = %{version}-%{release}
%description doc-de
This package contains the german documentation of LabPlot,
a Data Analysis and Visualization software in the PDF format.
%package doc-fr
Summary: Documentation for LabPlot in French
Group: Documentation
Requires: %{name}-doc = %{version}-%{release}
%description doc-fr
This package contains the german documentation of LabPlot,
a Data Analysis and Visualization software in the PDF format.
%package doc-it
Summary: Documentation for LabPlot in Italian
Group: Documentation
Requires: %{name}-doc = %{version}-%{release}
%description doc-it
This package contains the Italian documentation of LabPlot,
a Data Analysis and Visualization software in the PDF format.
%package doc-nl
Summary: Documentation for LabPlot in Dutch
Group: Documentation
Requires: %{name}-doc = %{version}-%{release}
%description doc-nl
This package contains the Dutch documentation of LabPlot,
a Data Analysis and Visualization software in the PDF format.
%package doc-pl
Summary: Documentation for LabPlot in Polish
Group: Documentation
Requires: %{name}-doc = %{version}-%{release}
%description doc-pl
This package contains the Polish documentation of LabPlot,
a Data Analysis and Visualization software in the PDF format.
%package doc-sv
Summary: Documentation for LabPlot in Swedish
Group: Documentation
Requires: %{name}-doc = %{version}-%{release}
%description doc-sv
This package contains the Swedish documentation of LabPlot,
a Data Analysis and Visualization software in the PDF format.
%prep
%setup -q
%{__sed} -i.system-wide -e 's|\.\./liborigin/liborigin.la||' src/Makefile.in
%{__sed} -i -e '/^libLabPlot_la_LDFLAGS/s|^\(.*\) \\$|\1 -lorigin \\|' src/Makefile.in
%{__sed} -i -e 's|-I../liborigin|-I%{_includedir}/liborigin|' src/Makefile.in
%{__sed} -i.symbol -e '/^LIBS =/s|^\(.*\)|\1 -lm|' cephes/Makefile.in
%{__sed} -i.subdir -e '/^SUBDIR/s|liborigin||' Makefile.in
set +x
for f in `find . -name \*.map -or -name \*.MAP | sort` ; do
echo -n -e "... Fixing the end-of-line encodings of $f \t"
sed -i.bak -e 's|\r||g' $f
touch -r $f.bak $f
%{__rm} -f $f.bak
echo "done"
done
set -x
%build
# for netcdf
export CPPFLAGS="$CPPFLAGS -fno-strict-aliasing -I%{_includedir}/netcdf-3"
export LDFLAGS="$LDFLAGS -L%{_libdir}/netcdf-3"
# for qwtplot3d
export QWT3D_PATH="$QTDIR"
# Use of --enable-final: The gsl version 1.7 has a bug which may cause problems.
%configure \
--disable-final \
--disable-static \
--enable-gsl \
--enable-tiff \
--enable-fftw3 \
--enable-jasper \
--enable-ImageMagick \
--enable-netcdf \
--enable-audiofile \
--enable-gl \
--enable-system-qwtplot3d \
--enable-libundo \
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%{__make} DESTDIR=%{buildroot} install
desktop-file-install --vendor "" \
--delete-original \
--remove-category Science \
--dir %{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/applications/kde/%{name}.desktop
#Building pdf handbook for different languages
pushd doc
for LANG in * ; do
if [ -d $LANG -a $LANG != small_pics -a $LANG != html -a $LANG != fr ]; then
echo "[Fedora-%{name}] building pdf handbook for %{name}-%{version} (language $LANG) ..."
%{__mkdir} tmp/
%{__cp} -p $LANG/index.docbook tmp/
%{__cp} -pRL en/common/ en/small_pics/ tmp/
pushd tmp/
meinproc --stylesheet %{_datadir}/apps/ksgmltools2/customization/kde-nochunk.xsl index.docbook
../makedoc.sh
htmldoc -f ../%{name}-%{version}-$LANG.pdf index.html
popd
%{__rm} -rf tmp/
echo "Done"
fi
done
popd
%{__mkdir} -p %{buildroot}%{_datadir}/apps/%{name}/handbook
%{__cp} -p doc/%{name}-%{version}-*.pdf %{buildroot}%{_datadir}/apps/%{name}/handbook
# For the doc package
chmod 644 doc/cephes.doc
%{__rm} -f examples/Makefile*
# make sure the examples are UTF-8...
pushd examples
for nonUTF8 in {axeslabel,rydberg,qwt,fit,analysis}.lpl.gz ; do
/usr/bin/iconv -f iso8859-1 -t utf-8 $nonUTF8 > $nonUTF8.conv && /bin/mv -f $nonUTF8.conv $nonUTF8
done
popd
## File lists
# locale's
%find_lang %{name} || touch %{name}.lang
# HTML (1.0)
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d %{buildroot}$HTML_DIR ]; then
for lang_dir in %{buildroot}$HTML_DIR/* ; do
if [ -d $lang_dir -a $lang_dir != %{buildroot}$HTML_DIR/en ]; then
lang=$(basename $lang_dir)
#echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
# replace absolute symlinks with relative ones
pushd $lang_dir
for i in *; do
echo "LANGUAGE $i"
[ -d $i -a -L $i/small_pics ] && \
%{__rm} -f $i/small_pics && ln -sf ../../en/%{name}/small_pics $i/small_pics
done
popd
fi
done
fi
# iconv
for f in BUGS ChangeLog TODO WISHLIST ; do
iconv -f ISO-8859-1 -t UTF-8 $f > $f.tmp && \
( touch -r $f $f.tmp ; %{__mv} -f $f.tmp $f ) || \
%{__rm} -f $f.tmp
done
# Remove useless symbolic links
%{__rm} -f %{buildroot}%{_docdir}/HTML/*/labplot
%{__rm} -f %{buildroot}%{_libdir}/lib*.la
%{__rm} -f %{buildroot}%{_libdir}/lib%{name}.so
%{__rm} -f %{buildroot}%{_libdir}/lib%{name}cephes.so
%clean
%{__rm} -rf %{buildroot}
%post
/sbin/ldconfig
touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
update-desktop-database &> /dev/null ||:
%postun
/sbin/ldconfig
touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
update-desktop-database &> /dev/null ||:
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc COPYING README ChangeLog CHANGES FEATURES CREDITS doc/labplot.png
%doc AUTHORS TODO BUGS WISHLIST BUGFIXES LabPlot.lsm doc/cephes.doc
%exclude %{_datadir}/apps/%{name}/handbook/
%{_mandir}/man1/%{name}.*
%{_mandir}/man1/labplot.*
%{_bindir}/%{name}
%{_bindir}/labplot
%{_bindir}/texvc
%{_datadir}/applications/%{name}.desktop
%{_datadir}/apps/%{name}/
%{_datadir}/icons/??color/??x??/apps/%{name}.png
%{_datadir}/icons/??color/??x??/mimetypes/lpl.png
%{_datadir}/mimelnk/application/x-lpl.desktop
%{_libdir}/lib%{name}.so.1*
%{_libdir}/lib%{name}cephes.so.1*
# needed on Help -> LabPlot Handbook
%{_docdir}/HTML/en/%{name}/
%files doc
%defattr(-,root,root,-)
%doc examples/ doc/html/
%dir %{_datadir}/apps/%{name}/handbook/
%{_datadir}/apps/%{name}/handbook/%{name}-%{version}-en.pdf
%files doc-fr
%defattr(-,root,root,-)
%{_docdir}/HTML/fr/%{name}/
%files doc-br
%defattr(-,root,root,-)
%{_datadir}/apps/%{name}/handbook/%{name}-%{version}-br.pdf
%{_docdir}/HTML/br/%{name}/
%files doc-de
%defattr(-,root,root,-)
%{_datadir}/apps/%{name}/handbook/%{name}-%{version}-de.pdf
%{_docdir}/HTML/de/%{name}/
%files doc-it
%defattr(-,root,root,-)
%{_datadir}/apps/%{name}/handbook/%{name}-%{version}-it.pdf
%{_docdir}/HTML/it/%{name}/
%files doc-nl
%defattr(-,root,root,-)
%{_datadir}/apps/%{name}/handbook/%{name}-%{version}-nl.pdf
%{_docdir}/HTML/nl/%{name}/
%files doc-pl
%defattr(-,root,root,-)
%{_datadir}/apps/%{name}/handbook/%{name}-%{version}-pl.pdf
%{_docdir}/HTML/pl/%{name}/
%files doc-sv
%defattr(-,root,root,-)
%{_datadir}/apps/%{name}/handbook/%{name}-%{version}-sv.pdf
%{_docdir}/HTML/sv/%{name}/
%Changelog
* Mon Apr 23 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 1.5.1.5-6
- added texvc back in %%files
- removed useless .so
* Thu Apr 12 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 1.5.1.5-5
- split for doc-fr
- duplicate kmenu entries - removed category Science
- corrected missing index.html file from Help -> LabPlot Handbook
- merge -devel package with the main package
* Thu Apr 12 2007 Mamoru Tasaka <mtasaka [AT] ioa.s.u-tokyo.ac.jp> - 1.5.1.5-4.2
- Use system liborigin library
- Shut up undefined non-weak symbols
- Fix end-of-line encodings of [Mm]ap file
- Change the encoding of a part of documents
* Tue Feb 27 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 1.5.1.5-4
- Added mediawiki and koffice-devel as BR
- using liborigin system wide
- Dropped mediawiki as BR
- Fixed presence on gnome menu
* Sat Jan 13 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 1.5.1.5-3
- manual dependencies removed
- dropped additional arguments for x86_64 sparc64 ppc64 amd64
* Wed Jan 03 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 1.5.1.5-2
- Added audiofile-devel, qwtplot3d-devel, ocaml and netcdf-devel as BR
- using qwtplot3d and netcdf system wide #221022
- Fixed qt-qsa headers
* Sun Dec 31 2006 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 1.5.1.5-1
- New stable release 1.5.1.5
- Fixed symlink-should-be-relative rpmlint issues
- Removed numerous entries on kmenu
- Added examples in a new -doc package
- Building pdf handbook for different languages
- Breaking down -doc package for different languages
* Sun Nov 19 2006 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 1.5.1.4-1
- Initial package
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/LabPlot/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 28 Apr 2007 00:51:09 -0000 1.1
+++ .cvsignore 28 Apr 2007 07:18:49 -0000 1.2
@@ -0,0 +1 @@
+LabPlot-1.5.1.5.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/LabPlot/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 28 Apr 2007 00:51:09 -0000 1.1
+++ sources 28 Apr 2007 07:18:49 -0000 1.2
@@ -0,0 +1 @@
+c3eac8284688ebe5ad53d90c773ec7bb LabPlot-1.5.1.5.tar.bz2
- Previous message (by thread): rpms/LabPlot import.log,1.2,1.3
- Next message (by thread): rpms/scribes/devel .cvsignore, 1.12, 1.13 scribes.spec, 1.27, 1.28 sources, 1.12, 1.13 scribes-fix-Job.py-print-header-path.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list