Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:gbvalor
libcsv
libcsv.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libcsv.spec of Package libcsv
# Spec file for package libcsv # # # norootforbuild %define name0 libcsv Name: %{name0}3-3 Version: 3.0.1 Release: 1 Summary: A small C library to parse and write CSV files Source: %{name0}-%{version}.tar.bz2 Source1: %{name0}-gnutools-%{version}.tar.bz2 #Patch: %{name0}-%{version}.patch URL: http://sourceforge.net/projects/libcsv/ Group: System/Libraries License: LGPLv2.1 or later BuildRoot: %{_tmppath}/build-%{name0}-%{version} BuildRequires: automake, autoconf, libtool %description libcsv is a small, simple and fast CSV library written in pure ANSI C89 that can read and write CSV data. It provides a straight-forward interface using callback functions to handle parsed fields and rows and can parse improperly formatted CSV files. %if 0%{?rhel} <= 5 %debug_package %endif %package -n %{name0}-devel Summary: Development Environment for %{name} Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %description -n %{name0}-devel Development environment for %{name} %prep %setup -n %{name0}-%{version} -a 1 #%patch -p 0 mkdir libcsv cp csv.h libcsv mv Changelog ChangeLog touch AUTHORS NEWS aclocal autoheader libtoolize --force automake --add-missing autoconf %configure %build make -f makefile ./test_csv %install DESTDIR=$RPM_BUILD_ROOT make install mkdir -p ${RPM_BUILD_ROOT}/%{_mandir}/man3 install -m 644 csv.3.gz ${RPM_BUILD_ROOT}%{_mandir}/man3 rm -f ${RPM_BUILD_ROOT}%{_bindir}/test_csv rm -f ${RPM_BUILD_ROOT}%{_libdir}/libcsv3.la %post %{run_ldconfig} %postun %{run_ldconfig} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc ChangeLog COPYING README FAQ %doc examples %{_libdir}/libcsv3.so.* #%dir %{_mandir}/man3 %{_mandir}/man3/* %files -n %{name0}-devel %defattr(-,root,root) %dir %{_includedir}/libcsv %{_includedir}/libcsv/csv.h %{_libdir}/libcsv3.so #%{_libdir}/libcsv3.la %{_libdir}/libcsv3.a %changelog * Sun Nov 17 2013 Guillermo Ballester <gbvalor@google.com> 3.0.1 - Fixed build fot RHEL 6 * Sat Sep 01 2012 Guillermo Ballester <gbvalor@google.com> 3.0.1 - Added Build requires automake, autoconf and libtool * Sat Nov 26 2011 Guillermo Ballester <gbvalor@google.com> 3.0.1 - Updated to 3.0.1 * Wed Jan 07 2009 Guillermo Ballester <gbv@oxixares.com> 3.0.0 - First version for 3.0.0
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