Package xdelta1: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | Name: xdelta1 Version: 1.1.4 Release: alt4 %define _includedir %_usr/include/%name %define srcname xdelta-%version %define lib_name libxdelta %define lib_major 2 Summary: A binary delta generator License: GPL Group: File tools Url: http://www.xdelta.org/ Packager: Dmitry V. Levin <ldv@altlinux.org> # ttp://xdelta.googlecode.com/files/xdelta-1.1.4.tar.gz Source: %srcname.tar Patch1: xdelta-1.1.4-alt-configure.patch Patch2: xdelta-1.1.4-alt-makefile.patch Patch3: xdelta-1.1.3-rh-aclocal.patch Patch4: xdelta-1.1.4-rh-glib2.patch Patch5: xdelta-1.1.3-rh-alt-pkgconfig.patch Patch6: xdelta-1.1.4-alt-oom.patch Requires: %lib_name%lib_major = %version-%release Provides: xdelta = %version Obsoletes: xdelta BuildRequires: glib2-devel zlib-devel %def_disable static %{?_enable_static:BuildPreReq: glibc-devel-static} %description XDelta is a library interface and application program designed to compute changes between files. These changes (deltas) are similar to the output of the "diff" program in that they may be used to store and transmit only the changes between files. However, unlike diff, the output of XDelta is not expressed in a human-readable format--XDelta can also also apply these deltas to a copy of the original file(s). XDelta uses a fast, linear algorithm and performs well on both binary and text files. XDelta typically outperforms GNU diff in both time and generated-delta-size, even for plain text files. XDelta also includes a simple implementation of the Rsync algorithm and several advanced features for implementing RCS-like file-archival with. %package -n %lib_name%lib_major Summary: Shared libraries for XDelta Group: System/Libraries %package -n %lib_name%lib_major-devel Summary: Development libraries and include files for development with XDelta Group: Development/C Requires: %lib_name%lib_major = %version-%release Provides: xdelta-devel = %version-%release Obsoletes: xdelta-devel %package -n %lib_name%lib_major-devel-static Summary: Static libraries and header files for development with XDelta Group: Development/C Requires: %lib_name%lib_major-devel = %version-%release %description -n %lib_name%lib_major This package contains shared libraries required by Xdelta applications. %description -n %lib_name%lib_major-devel This package contains the development libraries and include files required to develop applications using Xdelta. %description -n %lib_name%lib_major-devel-static This package contains static libraries required to develop statically linked applications using Xdelta. %prep %setup -q -n %srcname %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %build %add_optflags -fno-strict-aliasing autoreconf -fisv %configure %{subst_enable static} %make_build all %install %makeinstall %files %_bindir/xdelta %_mandir/man?/* %doc AUTHORS NEWS README %files -n %lib_name%lib_major %_libdir/*.so.* %files -n %lib_name%lib_major-devel %_bindir/*-config %_libdir/*.so %_includedir %_pkgconfigdir/* %_datadir/aclocal/*.m4 %if_enabled static %files -n %lib_name%lib_major-devel-static %_libdir/*.a %endif %changelog * Mon May 21 2012 Dmitry V. Levin <ldv@altlinux.org> 1.1.4-alt4 - Fixed build with ld --no-copy-dt-needed-entries. * Sun Dec 14 2008 Dmitry V. Levin <ldv@altlinux.org> 1.1.4-alt3 - Removed obsolete %%post_ldconfig/%%postun_ldconfig calls. * Sun Apr 08 2007 Dmitry V. Levin <ldv@altlinux.org> 1.1.4-alt2 - Fixed OOM handling. * Thu Feb 15 2007 Dmitry V. Levin <ldv@altlinux.org> 1.1.4-alt1 - Updated to 1.1.4. - Enabled LFS support. - Imported FC patch to provide pkgconfig file. - Imported FC patch to link with glib2 instead of glib. * Sun Jan 15 2006 Dmitry V. Levin <ldv@altlinux.org> 1.1.3-alt4 - Link libxdelta with libedsio. - Use getopt from glibc. - Dropped emacs cruft. * Tue Dec 09 2003 Dmitry V. Levin <ldv@altlinux.org> 1.1.3-alt3 - Do not package .la files. - Do not build static library by default. * Mon Nov 18 2002 Stanislav Ievlev <inger@altlinux.ru> 1.1.3-alt2 - rebuild * Tue Oct 09 2001 Dmitry V. Levin <ldv@altlinux.ru> 1.1.3-alt1 - 1.1.3 - Libification. * Mon Dec 04 2000 Dmitry V. Levin <ldv@fandra.org> 1.1.1-ipl7mdk - Fixed texinfo documentation. - RE adaptions. * Wed Jul 26 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.1.1-7mdk - fix bad script * Tue Jul 25 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.1.1-6mdk - BM * Mon Apr 3 2000 Adam Lebsack <adam@mandrakesoft.com> 1.1.1-5mdk - Release build. * Wed Jan 12 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 1.1.1-4mdk - Regnerate libtoolize. * Thu Nov 11 1999 Giuseppe Ghib\xf2 <ghibo@linux-mandrake.com> - rebuilt for Oxygen * Fri Aug 20 1999 Giuseppe Ghib\xf2 <ghibo@linux-mandrake.com> - fixed edsio-comp script. * Tue Aug 19 1999 Giuseppe Ghib\xf2 <ghibo@linux-mandrake.com> - First spec file for Mandrake distribution. |