Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Lazy_Kent
libxls
libxls.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libxls.spec of Package libxls
# # spec file for package libxls # # Copyright (c) 2014 SUSE LINUX Products 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/ # %define major 1 Name: libxls Version: 1.4.0 Release: 0 License: BSD-2-Clause Summary: Library for Parsing Excel (XLS) Files Url: http://libxls.sourceforge.net/ Group: System/Libraries Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.zip Source1: http://downloads.sourceforge.net/%{name}/README.txt Source99: baselibs.conf BuildRequires: unzip BuildRoot: %{_tmppath}/%{name}-%{version}-build %description libxls is a C library which can read Excel (xls) files since Excel 97 (the BIFF8 format). libxls cannot write Excel files. %package -n libxlsreader%{major} Summary: Library for Parsing Excel (XLS) Files Group: System/Libraries %description -n libxlsreader%{major} libxlsreader is a C library which can read Excel (xls) files since Excel 97 (the BIFF8 format). libxlsreader cannot write Excel files. %package devel Summary: LibXLS Development Files Group: Development/Libraries/C and C++ Requires: libxlsreader%{major} = %{version} %description devel Development files for libxls. %package tools Summary: Utility for Parsing Excel (XLS) Files Group: Productivity/Office/Other %description tools This package contains libxls2csv, a tool which converts an XLS file to a CSV format, more suitable for parsing. %prep %setup -qn %{name} cp %{SOURCE1} . %build export CFLAGS="%{optflags} -fno-strict-aliasing" %configure \ --disable-static \ --program-prefix=lib make %{?_smp_mflags} %install %make_install rm -f %{buildroot}%{_libdir}/*.la %post -n libxlsreader%{major} -p /sbin/ldconfig %postun -n libxlsreader%{major} -p /sbin/ldconfig %files -n libxlsreader%{major} %defattr(-,root,root,-) %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) %doc AUTHORS README.txt TODO %{_includedir}/* %{_libdir}/*.so %files tools %defattr(-,root,root,-) %doc AUTHORS README.txt TODO %{_bindir}/libxls2csv %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