Summary: XDELTA - version control system Summary(pl): XDELTA - system kontroli wersji Name: xdelta Version: 1.0.0 Release: 2 Copyright: GPL Group: Development/Version Control Source: ftp://www.xcf.berkeley.edu/pub/xdelta/%{name}-%{version}.tar.gz PreReq: /sbin/install-info BuildRoot: /tmp/%{name}-%{version}-root %description XDELTA (`X' for XCF) is a version-control library and file-format designed as a replacement for RCS. The XDELTA library performs its work independently of the actual file-format used to encode the version-file and is intended to be used by various higher-level programs such as PRCS. XDELTA uses a binary file-delta algorithm to replace the standard diff program used by RCS. %description -l pl XDELTA (`X' od XCF) jest to biblioteka systemu kontroli wersji tworona jako zamiennik RCS. Biblioteka XDELTA wykonuje różne czynności niezależnie od bierzącego formatu plików używanych do kodowania plików baz danech systemu kontroli wersji zaprojektowana jest do używania w różnych wysoko poziomowych syatemach kontroli wersji jak PRCS. XDELTA używa binarnego formatu zamiast standardowego diif-a używanego przez RCS. %package devel Summary: XDELTA - header files Summary(pl): XDELTA - pliki nagłówkowe Group: Development/Libraries Requires: %{name} = %{version} %description devel This package contains the XDELTA header files required to develop XDELTA-based applications. %description -l pl devel Pakiet ten zawiera pliki nagłowkowe potrzebne przy tworzeniu aplikacji bazujących na XDELTA. %package static Summary: XDELTA - static library Summary(pl): XDELTA - biblioteka statyczna Group: Development/Libraries Requires: %{name}-devel = %{version} %description static This package contains the XDELTA static libraries %description -l pl static Pakiet ten zawiera bibliotekę statyczną XDELTA. %prep %setup -q %build CFLAGS="$RPM_OPT_FLAGS" \ ./configure --prefix=/usr \ --x-includes=/usr/lib/glib/include make %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/usr/info make prefix=$RPM_BUILD_ROOT/usr install-strip install doc/xdelta.info $RPM_BUILD_ROOT/usr/info gzip -9nf $RPM_BUILD_ROOT/usr/info/xdelta.info strip $RPM_BUILD_ROOT/usr/lib/lib*.so.*.* %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post devel /sbin/install-info /usr/info/xdelta.info.gz /usr/info/dir --entry \ "* XDELTA: (xdelta). A new RCS-like version-file format." %preun devel /sbin/install-info --delete /usr/info/xdelta.info.gz /usr/info/dir --entry \ "* XDELTA: (xdelta). A new RCS-like version-file format." %clean rm -rf $RPM_BUILD_ROOT %files %defattr(755, root, root) /usr/bin/* /usr/lib/lib*.so.*.* %attr(644, root, man) /usr/man/man1/* %files devel %defattr(644, root, root, 755) %doc NEWS README /usr/include/* /usr/info/* /usr/lib/lib*.so %files static %attr(644, root, 644) /usr/lib/lib*.a %changelog * Thu Nov 26 1998 Tomasz Kłoczko [1.0.0-2] - removed xdelta.magic and non existing doc/xdelta.txt from %doc, - fixed --entry text on {un}registering info page for libtool in %post %preun in devel. * Mon Aug 10 1998 Tomasz Kłoczko [0.22-2] - added pl translation, - added static subpackage, - all %doc moved to devel, - cosmetic changes in %files. * Tue Jul 07 1998 Arne Coucheron [0.22-1] - removed running of automake, problem fixed in sources * Sat Jul 04 1998 Arne Coucheron [0.21-1] - added xdelta.magic to %doc - added running of automake before configure to make this version build - changed %defattr * Sat Jun 27 1998 Arne Coucheron [0.20-1] * Sun Jun 7 1998 Tomasz Kłoczko [0.19-3] - fixed configuring sources by add --x-includes=/usr/lib/glib/include configure parameter (for glibconfig.h), - changed Source url to ftp://www.xcf.berkeley.edu/pub/xdelta/ - fixed %defattr macros (thanks to René Wuttke ). * Wed May 6 1998 Tomasz Kłoczko [0.19-2] - %%{version} macro instead %%{PACKAGE_VERSION}, - added -q %setup parameter, - added using %%{name} macro in Buildroot, Source and Rquires in devel fields. * Sun May 03 1998 Arne Coucheron [0.19-1] - removed some older changelogs * Wed Apr 28 1998 Tomasz Kłoczko [0.18-2] - removed COPYING from %doc (copyright statment is in Copyright field), - /sbin/ldconfig is now -p parameter in %post, %postun, - replaced "mkdir -p" with "install -d" in %install, - added "Requires: xdelta = %%{PACKAGE_VERSION}" for devel, - added using %defattr macro in %files (requires rpm >= 2.4.99), - added using predefined macro %%{PACKAGE_VERSION} instead %{version}, - changed permission on /usr/lib/lib*.so links to 644, - removed /usr/lib/libxdelta.la from devel, - added striping /usr/lib/lib*.so.*.* libs, - Buildroot changed to /tmp/xdelta-%%{PACKAGE_VERSION}-root. * Fri Apr 24 1998 Arne Coucheron [0.18-1] - removed the fakeglib patch * Wed Apr 08 1998 Arne Coucheron [0.15-2] - splitted the package into a main and devel package * Sat Apr 04 1998 Arne Coucheron [0.15-1]