]> git.pld-linux.org Git - packages/xdelta.git/blobdiff - xdelta.spec
- xdelta.m4 quotation fix
[packages/xdelta.git] / xdelta.spec
index 567e23157e9e0bc08acfe3327779af22d9caaeb9..9a43af5fd6c20ce50fd218fa9733284d659a01b7 100644 (file)
@@ -1,17 +1,24 @@
 Summary:       XDELTA - version control system
+Summary(es):   patch y diff para archivos binarios
 Summary(pl):   XDELTA - system kontroli wersji
+Summary(pt_BR):        patch e diff para arquivos binários
 Name:          xdelta
-Version:       1.1.1
-Release:       5
+Version:       1.1.3
+Release:       2
 License:       GPL
 Group:         Development/Version Control
-Group(de):     Entwicklung/Versionkontrolle
-Group(pl):     Programowanie/Zarz±dzanie wersjami
-Source0:       ftp://www.xcf.berkeley.edu/pub/xdelta/%{name}-%{version}.tar.gz
+Source0:       http://dl.sourceforge.net/xdelta/%{name}-%{version}.tar.gz
+# Source0-md5: 08e964c28541605b6fe61c0dd6595516
+Patch0:                %{name}-ac_fixes.patch
+Patch1:                %{name}-use_sys_getopt.patch
+Patch2:                %{name}-am15.patch
+Patch3:                %{name}-ac25x.patch
 URL:           http://www.XCF.Berkeley.EDU/~jmacd/xdelta.html
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: glib-devel >= 1.2.0
+BuildRequires: libtool
 BuildRequires: zlib-devel
-Requires:      glib >= 1.2.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -35,83 +42,100 @@ higher-level programs such as XCF's Project Revision Control System
 a binary file delta algorithm to replace the standard diff program
 used by RCS.
 
+%description -l es
+xdelta es como las órdenes patch y diff, pero también funciona con
+archivos binarios.
+
 %description -l pl
 XDELTA (`X' od XCF) jest bibliotek± systemu kontroli wersji tworzona
 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 danych, systemu kontroli wersji i zaprojektowana jest do
-u¿ywania w ró¿nych wysoko-poziomowych systemach kontroli wersji jak
-PRCS.
+niezale¿nie od bie¿±cego formatu plików, u¿ywanych do kodowania plików
+baz danych, systemu kontroli wersji i zaprojektowana jest do u¿ywania
+w ró¿nych wysoko-poziomowych systemach kontroli wersji jak PRCS.
+
+%description -l pt_BR
+xdelta é como os comandos patch e diff, mas também funciona com
+arquivos binários.
 
 %package devel
 Summary:       XDELTA - header files
 Summary(pl):   XDELTA - pliki nag³ówkowe
+Summary(pt_BR):        Arquivos de desenvolvimento xdelta
 Group:         Development/Libraries
-Group(de):     Entwicklung/Libraries
-Group(fr):     Development/Librairies
-Group(pl):     Programowanie/Biblioteki
 Requires:      %{name} = %{version}
 
 %description devel
 This package contains the XDELTA header files required to develop
 XDELTA-based applications.
 
-%description -l pl devel
+%description devel -l pl
 Pakiet ten zawiera pliki nag³ówkowe potrzebne przy tworzeniu aplikacji
 bazuj±cych na XDELTA.
 
+%description devel -l pt_BR
+Esse pacote contém os arquivos de desenvolvimento do xdelta.
+
 %package static
 Summary:       XDELTA - static library
 Summary(pl):   XDELTA - biblioteka statyczna
+Summary(pt_BR):        Bibliotecas estáticas para desenvolvimento com xdelta
 Group:         Development/Libraries
-Group(de):     Entwicklung/Libraries
-Group(fr):     Development/Librairies
-Group(pl):     Programowanie/Biblioteki
 Requires:      %{name}-devel = %{version}
 
 %description static
-This package contains the XDELTA static libraries
+This package contains the XDELTA static libraries.
 
-%description -l pl static
+%description static -l pl
 Pakiet ten zawiera bibliotekê statyczn± XDELTA.
 
+%description static -l pt_BR
+Bibliotecas estáticas para desenvolvimento com xdelta.
+
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %build
-autoconf
-%configure \
-       --x-includes=%{_prefix}/X11R6/lib/glib/include
+rm -f missing
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
+
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_infodir}
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       m4datadir=%{_aclocaldir}
 
-gzip -9nf NEWS READ* ChangeLog
+%clean
+rm -rf $RPM_BUILD_ROOT
 
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(644,root,root,755)
+%doc NEWS READ*
 %attr(755,root,root) %{_bindir}/xdelta
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
 %{_mandir}/man1/*
 
 %files devel
 %defattr(644,root,root,755)
-%doc {NEWS,READ*,ChangeLog}.gz
-
+%doc ChangeLog
 %attr(755,root,root) %{_bindir}/xdelta-config
-%{_includedir}/*
-
 %attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+%{_aclocaldir}/*
+%{_includedir}/*
 
 %files static
 %defattr(644,root,root,755)
This page took 0.053689 seconds and 4 git commands to generate.