RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: xar/ xar.spec

From: Anders F. Björklund <afb@rpm5.org>
Date: Thu 13 Sep 2007 - 11:31:20 CEST
Message-Id: <20070913093120.8EA9F348457@rpm5.org>
  RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Anders F. Björklund
  Root:   /v/rpm/cvs                       Email:  afb@rpm5.org
  Module: xar                              Date:   13-Sep-2007 11:31:20
  Branch: HEAD                             Handle: 2007091310312000

  Modified files:
    xar                     xar.spec

  Log:
    darwin support

  Summary:
    Revision    Changes     Path
    1.7         +19 -3      xar/xar.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: xar/xar.spec
  ============================================================================
  $ cvs diff -u -r1.6 -r1.7 xar.spec
  --- xar/xar.spec	13 Sep 2007 09:22:37 -0000	1.6
  +++ xar/xar.spec	13 Sep 2007 09:31:20 -0000	1.7
  @@ -1,17 +1,19 @@
   Summary: The XAR project aims to provide an easily extensible archive format.
   Name: xar
   Version: 1.5
  -Release: 1
  +Release: 0
   License: BSD
   Group: Applications/Archiving
   URL: http://code.google.com/p/%{name}/
   Source: http://%{name}.googlecode.com/files/%{name}-%{version}.tar.gz
   BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  +%ifos linux
   BuildRequires: libxml2-devel >= 2.6.11
   BuildRequires: openssl-devel
   BuildRequires: bzip2-devel
   BuildRequires: zlib-devel
   BuildRequires: /usr/bin/awk
  +%endif
   
   %description
   The XAR project aims to provide an easily extensible archive format. Important
  @@ -40,29 +42,43 @@
   
   %install
   %{__rm} -rf $RPM_BUILD_ROOT
  -%makeinstall
  +%{__make} install DESTDIR=%{buildroot}
   
   %clean
   %{__rm} -rf $RPM_BUILD_ROOT
   
  +%ifos linux
   %post -p /sbin/ldconfig
   
   %postun -p /sbin/ldconfig
  +%endif
   
   %files
   %defattr(-,root,root,-)
   %doc LICENSE TODO
   %{_bindir}/%{name}
  -%{_libdir}/lib%{name}.so.1
  +%ifnos darwin
  +%{_libdir}/lib%{name}.so.*
  +%else
  +%{_libdir}/lib%{name}.*.dylib
  +%endif
   %{_mandir}/man1/xar.1*
   
   %files devel
   %defattr(-,root,root,-)
   %{_includedir}/%{name}/%{name}.h
  +%ifnos darwin
   %{_libdir}/lib%{name}.so
  +%else
  +%{_libdir}/lib%{name}.dylib
  +%endif
   %exclude %{_libdir}/lib%{name}.la
   
   %changelog
  +* Wed Sep 12 2007 Anders F Bjorklund <afb@rpm.org> 1.5.1-0
  +- fixed spec, made darwin compatible
  +- moved non-versioned lib from devel
  +
   * Mon May 07 2007 Rob Braun <bbraun@synack.net> 0:1.5-1
   - 1.5
   * Thu Feb 23 2006 Rob Braun <bbraun@opendarwin.org> - 0:1.2-1
  @@ .
Received on Thu Sep 13 11:31:20 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.