Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
obs:server:fedora:2.6
xdelta1
xdelta1.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xdelta1.spec of Package xdelta1
Summary: A binary file delta generator and an RCS replacement library Name: xdelta1 Version: 1.1.4 Release: 9%{?dist} License: GPLv2 Group: Development/Tools Source0: http://xdelta.googlecode.com/files/xdelta-%{version}.tar.gz Patch1: xdelta-1.1.3-aclocal.patch Patch3: xdelta-1.1.3-edsio.patch Patch4: xdelta-1.1.4-glib2.patch Patch6: xdelta-1.1.3-pkgconfig.patch Url: http://xdelta.org/ BuildRequires: glib2-devel, zlib-devel, libtool >= 1.5.22, autoconf, automake, pkgconfig %description Xdelta (X for XCF: the eXperimental Computing Facility at Berkeley) is a binary delta generator (like a diff program for binaries) and an RCS version control replacement library. The Xdelta library performs its work independently of the actual format used to encode the file and is intended to be used by various higher-level programs such as XCF's Project Revision Control System (PRCS). PRCS is a front end for a version control toolset. Xdelta uses a binary file delta algorithm to replace the standard diff program used by RCS %package devel Summary: Shared library and header files for Xdelta development Group: Development/Libraries Requires: %{name} = %{version} %description devel The Xdelta-devel package contains the shared library and header files needed for developing Xdelta-based applications %prep %setup -q -n xdelta-%{version} %patch1 -p1 -b .aclocal %patch3 -p1 -b .edsio %patch4 -p1 -b .glib2 %patch6 -p1 -b .pkgconfig for all in `find . -type f -perm -001 | grep '.*[ch]$'`; do chmod -x "$all" done chmod -x NEWS README COPYING %build autoreconf -fiv LDFLAGS="$LDFLAGS -fPIC" export LDFLAGS %configure --disable-static # IDIOT author overrides our cflags with -O3 make %{?_smp_mflags} CFLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE $RPM_OPT_FLAGS `pkg-config --cflags glib-2.0`" LDFLAGS="`pkg-config --libs glib-2.0`" sed -i 's/xdelta/xdelta1/' doc/xdelta.1 %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT mv $RPM_BUILD_ROOT%{_bindir}/xdelta $RPM_BUILD_ROOT%{_bindir}/xdelta1 mv $RPM_BUILD_ROOT%{_mandir}/man1/xdelta.1 $RPM_BUILD_ROOT%{_mandir}/man1/xdelta1.1 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc NEWS README xdelta.magic COPYING %{_bindir}/xdelta1 %{_libdir}/lib*.so.* %{_mandir}/*/* %files devel %defattr(-,root,root,-) %{_bindir}/xdelta-config %{_includedir}/* %{_libdir}/lib*.so %{_datadir}/aclocal/xdelta.m4 %{_libdir}/pkgconfig/*
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor