SHA256
1
0
forked from pool/libcsplit

Accepting request 185028 from devel:libraries:c_c++

update to 0~20130609
Part of summer 2013 libyal refresh for opensuse 13.1

OBS-URL: https://build.opensuse.org/request/show/185028
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcsplit?expand=0&rev=2
This commit is contained in:
Stephan Kulow 2013-07-31 15:23:21 +00:00 committed by Git OBS Bridge
parent 93b6af1d9f
commit dfecfcb173
4 changed files with 47 additions and 20 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fe17bdf09cf8b35b5c4afa491254499e474e25401e0c12401e905726303e38ed
size 284552

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:72fe36c947d0f75da844a0ea1c31e6ddde9b985ae7fe125904f41b7add444be8
size 453150

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Sat Jul 27 02:36:24 UTC 2013 - Greg.Freemyer@gmail.com
- update to v0~20130609
* Fix in .pc.in file
* small changes
* removed unused LIBCSPLIT_SEPARATOR
* textual changes
* updated dependencies
* fix for Libs in .pc file
* 2013 update
- remove pkgconfig patch, now upstream
- changed to gz compression to eliminate conversion after download
-------------------------------------------------------------------
Mon Apr 22 17:52:20 UTC 2013 - Greg.Freemyer@gmail.com
- run spec-cleaner
-------------------------------------------------------------------
Wed Apr 3 23:12:57 UTC 2013 - jengelh@inai.de

View File

@ -18,21 +18,19 @@
Name: libcsplit
%define lname libcsplit1
%define timestamp 20121224
%define timestamp 20130609
Version: 0~%timestamp
Release: 0
License: LGPL-3.0+
Summary: Library for cross-platform C split string functions
License: LGPL-3.0+
Group: Development/Libraries/C and C++
Url: http://code.google.com/p/libcsplit/
#DL-URL: http://libcsplit.googlecode.com/files/libcsplit-alpha-20121224.tar.gz
#DL-URL: https://googledrive.com/host/0B3fBvzttpiiSeE44MVpGWnpNeVU/libcsplit-alpha-%timestamp.tar.gz
#Git-Clone: http://code.google.com/p/libcsplit
Source: %name-alpha-%timestamp.tar.xz
Patch1: libcsplit-pkgconfig.diff
Source: %{name}-alpha-%timestamp.tar.gz
BuildRequires: pkg-config
BuildRequires: xz
BuildRequires: pkgconfig(libcerror) >= 20120425
BuildRequires: pkgconfig(libcerror) >= 0~20130609
#BuildRequires: pkgconfig(libcstring) >= 20120425
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -44,12 +42,23 @@ Summary: Library for cross-platform C split string functions
Group: System/Libraries
%description -n %lname
A library for cross-platform C split string functions.
Library for cross-platform C split string functions
Also see:
libcdata; generic data functions
libcdatetime; date and time functions
libcerror; error functions
libclocale; locale functions
libcnotify; notification functions
libcfile; file functions
libcpath; path functions
libcthreads; threads functions
%package devel
Summary: Development files for libcsplit, a cross-platform C split string library
Group: Development/Libraries/C and C++
Requires: %lname = %version
Requires: %lname = %{version}
%description devel
A library for cross-platform C split string functions.
@ -59,15 +68,14 @@ applications that want to make use of libcsplit.
%prep
%setup -qn libcsplit-%timestamp
%patch -P 1 -p1
%build
%configure --disable-static --enable-wide-character-type
make %{?_smp_mflags}
%install
make install DESTDIR="%buildroot"
rm -f "%buildroot/%_libdir"/*.la
%make_install
rm -f "%{buildroot}/%{_libdir}"/*.la
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
@ -75,13 +83,13 @@ rm -f "%buildroot/%_libdir"/*.la
%files -n %lname
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog
%_libdir/libcsplit.so.1*
%{_libdir}/libcsplit.so.1*
%files devel
%defattr(-,root,root)
%_includedir/libcsplit*
%_libdir/libcsplit.so
%_libdir/pkgconfig/libcsplit.pc
%_mandir/man3/libcsplit.3*
%{_includedir}/libcsplit*
%{_libdir}/libcsplit.so
%{_libdir}/pkgconfig/libcsplit.pc
%{_mandir}/man3/libcsplit.3*
%changelog