[packages/xpm] new, version 1.3.3.6, a fork of fpm

glen glen at pld-linux.org
Mon Aug 10 13:26:30 CEST 2015


commit 8f1910c82af14fcb14cc254c3811ab2e0a2fa4cd
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Aug 10 14:26:04 2015 +0300

    new, version 1.3.3.6, a fork of fpm

 xpm.spec | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)
---
diff --git a/xpm.spec b/xpm.spec
new file mode 100644
index 0000000..a546d66
--- /dev/null
+++ b/xpm.spec
@@ -0,0 +1,67 @@
+#
+# Conditional build:
+%bcond_with	tests		# build without tests
+
+Summary:	Cross package maker. DEB/RPM generation or conversion
+Name:		xpm
+Version:	1.3.3.6
+Release:	0.1
+License:	MIT-like
+Group:		Development/Languages
+Source0:	http://fossil.include-once.org/xpm/tarball/%{name}-%{version}.tar.gz?uuid=v%{version}&/%{name}-%{version}.tar.gz
+# Source0-md5:	f73ececfa6725965fc41d4e11ea85992
+URL:		http://fossil.include-once.org/xpm/
+BuildRequires:	rpm-rubyprov
+BuildRequires:	rpmbuild(macros) >= 1.656
+BuildRequires:	sed >= 4.0
+%if %{with tests}
+BuildRequires:	ruby-insist < 0.1
+BuildRequires:	ruby-insist >= 0.0.5
+BuildRequires:	ruby-pry
+BuildRequires:	ruby-rspec < 3.1
+BuildRequires:	ruby-rspec >= 3.0.0
+BuildRequires:	ruby-stud
+%endif
+Requires:	ruby-arr-pm < 0.1
+Requires:	ruby-arr-pm >= 0.0.9
+Requires:	ruby-backports >= 2.6.2
+Requires:	ruby-cabin >= 0.6.0
+Requires:	ruby-childprocess
+Requires:	ruby-clamp < 1
+Requires:	ruby-clamp >= 0.6
+Requires:	ruby-ffi
+Requires:	ruby-json >= 1.7.7
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+fpm greatly simplifies distribution package generation. xpm is a
+feature-oriented branch of fpm.
+
+It creates or converts between:
+- Debian deb
+- RedHat rpm
+- Node npm
+- OSX pkg
+- Ruby gem
+- Solaris packages, plain zip or tar archives, and a few more...
+
+%prep
+%setup -q
+%{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{ruby_specdir},%{_bindir}}
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+cp -a bin/* $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md CHANGELIST CODE_OF_CONDUCT.md CONTRIBUTORS NOTES.md LICENSE
+%attr(755,root,root) %{_bindir}/xpm
+%{ruby_vendorlibdir}/fpm.rb
+%{ruby_vendorlibdir}/fpm
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xpm.git/commitdiff/8f1910c82af14fcb14cc254c3811ab2e0a2fa4cd



More information about the pld-cvs-commit mailing list