Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:yukoff:openSUSE:Leap:42.1:Backports
xylib
xylib.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xylib.spec of Package xylib
# # spec file for package xylib # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: xylib Version: 1.4 Release: 0 %define somajor 3 Summary: Library for reading x-y data from several file formats License: LGPL-2.1+ Group: Development/Libraries Url: http://xylib.sourceforge.net/ Source: https://github.com/wojdyr/xylib/releases/download/v%{version}/%{name}-%{version}.tar.bz2 BuildRequires: boost-devel BuildRequires: gcc-c++ BuildRequires: libbz2-devel %if 0%{?suse_version} >= 1320 BuildRequires: wxWidgets-devel >= 3 %endif BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description C++ library for reading files that contain x-y data from powder diffraction, spectroscopy or other experimental methods. The supported formats include: VAMAS, pdCIF, Bruker UXD and RAW, Philips UDF and RD, Rigaku DAT, Sietronics CPI, DBWS/DMPLOT, Koalariet XDD and others. %package -n libxy%{somajor} Summary: Library for reading x-y data from several file formats Group: System/Libraries Obsoletes: xylib%{somajor} %description -n libxy%{somajor} C++ library for reading files that contain x-y data from powder diffraction, spectroscopy or other experimental methods. The supported formats include: VAMAS, pdCIF, Bruker UXD and RAW, Philips UDF and RD, Rigaku DAT, Sietronics CPI, DBWS/DMPLOT, Koalariet XDD and others. %package devel Summary: Development files for xylib Group: Development/Libraries Requires: libxy%{somajor} = %{version} %description devel This package contains libraries and header files for developing applications that use xylib. %package -n xyconv Summary: Command-line converter of files in formats supported by xylib Group: Productivity/Scientific/Other %description -n xyconv Command-line converter of files in formats supported by xylib: - plain text, delimiter-separated values (e.g. CSV) - Crystallographic Information File for Powder Diffraction (pdCIF) - Siemens/Bruker UXD - Siemens/Bruker RAW ver. 1/2/3 - Philips UDF - Philips RD (raw scan) V3 - Rigaku DAT - Sietronics Sieray CPI - DBWS/DMPLOT data file - Canberra CNF (from Genie-2000 software; aka CAM format) - Canberra AccuSpec MCA - XFIT/Koalariet XDD - RIET7/LHPM/CSRIET/ILL\_D1A5/PSI\_DMC DAT - Vamas ISO14976 *(only experiment modes: SEM or MAPSV or MAPSVDP are supported; only REGULAR scan_mode is supported)* - Princeton Instruments WinSpec SPE *(only 1-D data is supported)* - χPLOT CHI_ - Ron Unwin's Spectra XPS format (VGX-900 compatible) %if 0%{?suse_version} >= 1320 %package -n xyconvert Summary: GUI converter of files in formats supported by xylib Group: Productivity/Scientific/Other %description -n xyconvert GUI converter of files in formats supported by xylib: - plain text, delimiter-separated values (e.g. CSV) - Crystallographic Information File for Powder Diffraction (pdCIF) - Siemens/Bruker UXD - Siemens/Bruker RAW ver. 1/2/3 - Philips UDF - Philips RD (raw scan) V3 - Rigaku DAT - Sietronics Sieray CPI - DBWS/DMPLOT data file - Canberra CNF (from Genie-2000 software; aka CAM format) - Canberra AccuSpec MCA - XFIT/Koalariet XDD - RIET7/LHPM/CSRIET/ILL\_D1A5/PSI\_DMC DAT - Vamas ISO14976 *(only experiment modes: SEM or MAPSV or MAPSVDP are supported; only REGULAR scan_mode is supported)* - Princeton Instruments WinSpec SPE *(only 1-D data is supported)* - χPLOT CHI_ - Ron Unwin's Spectra XPS format (VGX-900 compatible) %endif %prep %setup -q %build %configure \ %if 0%{?suse_version} < 1320 --without-gui \ %endif --disable-static make %{?_smp_mflags} %install %make_install rm %{buildroot}/%{_libdir}/*.la %post -n libxy%{somajor} /sbin/ldconfig %postun -n libxy%{somajor} /sbin/ldconfig %files -n libxy%{somajor} %defattr(-,root,root) %doc README.rst COPYING %{_libdir}/libxy.so.%{somajor}* %files devel %defattr(-,root,root) %doc sample-urls %{_includedir}/* %{_libdir}/libxy.so %files -n xyconv %defattr(-,root,root) %{_bindir}/xyconv %{_mandir}/man1/xyconv.1.gz %if 0%{?suse_version} >= 1320 %files -n xyconvert %defattr(-,root,root) %{_bindir}/xyconvert %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor