rpms/xar/EL-5 xar-1.5-install.patch, NONE, 1.1 xar-1.5-norpath.patch, NONE, 1.1 xar.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Matthias Saou (thias) fedora-extras-commits at redhat.com
Wed Jun 6 10:47:54 UTC 2007


Author: thias

Update of /cvs/extras/rpms/xar/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15905/EL-5

Modified Files:
	.cvsignore sources 
Added Files:
	xar-1.5-install.patch xar-1.5-norpath.patch xar.spec 
Log Message:
Initial import.


xar-1.5-install.patch:

--- NEW FILE xar-1.5-install.patch ---
diff -Naupr xar-1.5.orig/lib/Makefile.inc.in xar-1.5/lib/Makefile.inc.in
--- xar-1.5.orig/lib/Makefile.inc.in	2007-05-11 04:51:24.000000000 +0200
+++ xar-1.5/lib/Makefile.inc.in	2007-05-30 14:35:42.000000000 +0200
@@ -68,7 +68,7 @@ lib_install : $(LIBXAR_S)
 	@INSTALL@ -d $(DESTDIR)$(INCLUDEDIR)/xar
 	@INSTALL@ -m 0644 $(LIBXAR_INCS) $(DESTDIR)$(INCLUDEDIR)/xar
 	@INSTALL@ -d $(DESTDIR)$(LIBDIR)
-	@INSTALL@ -m 0444 $(LIBXAR_S) $(DESTDIR)$(LIBDIR)
+	@INSTALL@ -m 0755 $(LIBXAR_S) $(DESTDIR)$(LIBDIR)
 ifneq ($(words "" $(LIBXAR_LNAME)), 1)
 	rm -f $(DESTDIR)$(LIBDIR)/$(LIBXAR_LNAME)
 	ln -s $(LIBXAR_SNAME) $(DESTDIR)$(LIBDIR)/$(LIBXAR_LNAME)
diff -Naupr xar-1.5.orig/src/Makefile.inc.in xar-1.5/src/Makefile.inc.in
--- xar-1.5.orig/src/Makefile.inc.in	2007-05-11 04:50:41.000000000 +0200
+++ xar-1.5/src/Makefile.inc.in	2007-05-30 14:35:57.000000000 +0200
@@ -11,7 +11,7 @@ src_install : @objroot at src/ixar
 	@INSTALL@ -d $(DESTDIR)$(BINDIR)
 	@INSTALL@ -m 0755 $< $(DESTDIR)$(BINDIR)/xar
 	@INSTALL@ -d $(DESTDIR)$(MANDIR)/man1
-	@INSTALL@ -m 0444 @srcroot at src/xar.1 $(DESTDIR)$(MANDIR)/man1
+	@INSTALL@ -m 0644 @srcroot at src/xar.1 $(DESTDIR)$(MANDIR)/man1
 
 src_uninstall :
 	rm -f $(DESTDIR)/$(BINDIR)/xar

xar-1.5-norpath.patch:

--- NEW FILE xar-1.5-norpath.patch ---
diff -Naupr xar-1.5.orig/configure xar-1.5/configure
--- xar-1.5.orig/configure	2007-05-13 18:09:50.000000000 +0200
+++ xar-1.5/configure	2007-05-30 14:40:04.000000000 +0200
@@ -2800,7 +2800,7 @@ case "${host}" in
 	CFLAGS="$CFLAGS"
 	abi="elf"
 		CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
-	RPATH="-Wl,-rpath,"
+	RPATH=""
 	;;
   *-*-netbsd*)
 	echo "$as_me:$LINENO: checking ABI" >&5
diff -Naupr xar-1.5.orig/configure.ac xar-1.5/configure.ac
--- xar-1.5.orig/configure.ac	2007-05-11 04:51:25.000000000 +0200
+++ xar-1.5/configure.ac	2007-05-30 14:40:13.000000000 +0200
@@ -109,7 +109,7 @@ case "${host}" in
 	abi="elf"
 	dnl Linux needs this for things like asprintf() and poll() flags.
 	CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
-	RPATH="-Wl,-rpath,"
+	RPATH=""
 	;;
   *-*-netbsd*)
 	AC_MSG_CHECKING([ABI])


--- NEW FILE xar.spec ---
Summary: The eXtensible ARchiver
Name: xar
Version: 1.5
Release: 1%{?dist}
License: BSD
Group: Applications/Archiving
URL: http://code.google.com/p/xar/
Source: http://xar.googlecode.com/files/xar-%{version}.tar.gz
Patch0: xar-1.5-install.patch
Patch1: xar-1.5-norpath.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: libxml2-devel
BuildRequires: openssl-devel
BuildRequires: zlib-devel
BuildRequires: bzip2-devel

%description
The XAR project aims to provide an easily extensible archive format. Important
design decisions include an easily extensible XML table of contents for random
access to archived files, storing the toc at the beginning of the archive to
allow for efficient handling of streamed archives, the ability to handle files
of arbitrarily large sizes, the ability to choose independent encodings for
individual files in the archive, the ability to store checksums for individual
files in both compressed and uncompressed form, and the ability to query the
table of content's rich meta-data.


%package devel
Summary: Development files for the eXtensible ARchiver
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
Development files for the eXtensible ARchiver.


%prep
%setup -q
%patch0 -p1 -b .install
%patch1 -p1 -b .norpath


%build
%configure
%{__make} %{?_smp_mflags}


%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR=%{buildroot}


%clean
%{__rm} -rf %{buildroot}


%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%doc LICENSE TODO
%{_bindir}/xar
%{_libdir}/libxar.so.*
%{_mandir}/man1/xar.1*

%files devel
%defattr(-,root,root,-)
%{_includedir}/xar/
%{_libdir}/libxar.so


%changelog
* Wed May 30 2007 Matthias Saou <http://freshrpms.net/> 1.5-1
- Update to 1.5.
- Include patch to remove rpath.
- Include patch to fix file modes, and get the lib properly stripped.

* Sun Feb 25 2007 Matthias Saou <http://freshrpms.net/> 1.4-1
- Initial RPM release.



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/xar/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	5 Jun 2007 23:17:48 -0000	1.1
+++ .cvsignore	6 Jun 2007 10:45:57 -0000	1.2
@@ -0,0 +1 @@
+xar-1.5.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/xar/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	5 Jun 2007 23:17:48 -0000	1.1
+++ sources	6 Jun 2007 10:45:57 -0000	1.2
@@ -0,0 +1 @@
+8057051827329458c111a4880e868afc  xar-1.5.tar.gz




More information about the scm-commits mailing list