|
|
1a9d70 |
%global git_tag a435404
|
|
|
1a9d70 |
|
|
|
1a9d70 |
Name: erlang-rpm-macros
|
|
|
1a9d70 |
Version: 0.1.2
|
|
|
0b4e14 |
Release: 3%{?dist}
|
|
|
1a9d70 |
Summary: Macros for simplifying building of Erlang packages
|
|
|
1a9d70 |
Group: Development/Libraries
|
|
|
1a9d70 |
License: MIT
|
|
|
1a9d70 |
URL: http://github.com/lemenkov/erlang-rpm-macros
|
|
|
1a9d70 |
# wget --no-check-certificate https://github.com/lemenkov/erlang-rpm-macros/tarball/0.1.2
|
|
|
1a9d70 |
Source0: lemenkov-%{name}-%{version}-0-g%{git_tag}.tar.gz
|
|
|
1a9d70 |
BuildArch: noarch
|
|
|
1a9d70 |
Requires: rpm-build >= 4.7
|
|
|
1a9d70 |
Obsoletes: %{name} < 0.1.2
|
|
|
1a9d70 |
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
1a9d70 |
|
|
|
1a9d70 |
|
|
|
1a9d70 |
%description
|
|
|
1a9d70 |
Macros for simplifying building of Erlang packages.
|
|
|
1a9d70 |
|
|
|
1a9d70 |
|
|
|
1a9d70 |
%prep
|
|
|
1a9d70 |
%setup -q -n lemenkov-%{name}-%{git_tag}
|
|
|
1a9d70 |
|
|
|
1a9d70 |
|
|
|
1a9d70 |
%build
|
|
|
1a9d70 |
|
|
|
1a9d70 |
|
|
|
1a9d70 |
%install
|
|
|
1a9d70 |
rm -rf $RPM_BUILD_ROOT
|
|
|
1a9d70 |
install -d $RPM_BUILD_ROOT%{_sysconfdir}/rpm
|
|
|
1a9d70 |
install -d $RPM_BUILD_ROOT%{_rpmconfigdir}
|
|
|
1a9d70 |
install -p -m 0755 erlang-find-provides.escript $RPM_BUILD_ROOT%{_rpmconfigdir}/
|
|
|
1a9d70 |
install -p -m 0755 erlang-find-provides.sh $RPM_BUILD_ROOT%{_rpmconfigdir}/
|
|
|
1a9d70 |
install -p -m 0755 erlang-find-requires.escript $RPM_BUILD_ROOT%{_rpmconfigdir}/
|
|
|
1a9d70 |
install -p -m 0755 erlang-find-requires.sh $RPM_BUILD_ROOT%{_rpmconfigdir}/
|
|
|
1a9d70 |
install -p -m 0644 macros.erlang $RPM_BUILD_ROOT%{_sysconfdir}/rpm/
|
|
|
1a9d70 |
|
|
|
1a9d70 |
|
|
|
1a9d70 |
%clean
|
|
|
1a9d70 |
rm -rf $RPM_BUILD_ROOT
|
|
|
1a9d70 |
|
|
|
1a9d70 |
|
|
|
1a9d70 |
%files
|
|
|
1a9d70 |
%defattr(-,root,root,-)
|
|
|
1a9d70 |
%doc README LICENSE
|
|
|
1a9d70 |
%config %{_sysconfdir}/rpm/macros.erlang
|
|
|
1a9d70 |
%{_rpmconfigdir}/erlang-find-provides.escript
|
|
|
1a9d70 |
%{_rpmconfigdir}/erlang-find-provides.sh
|
|
|
1a9d70 |
%{_rpmconfigdir}/erlang-find-requires.escript
|
|
|
1a9d70 |
%{_rpmconfigdir}/erlang-find-requires.sh
|
|
|
1a9d70 |
|
|
|
1a9d70 |
|
|
|
1a9d70 |
|
|
|
1a9d70 |
%changelog
|
|
|
0b4e14 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-3
|
|
|
0b4e14 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
0b4e14 |
|
|
|
1a9d70 |
* Mon Nov 15 2010 Peter Lemenkov <lemenkov@gmail.com> - 0.1.2-2
|
|
|
1a9d70 |
- Drop explicit Requires: erlang-erts
|
|
|
1a9d70 |
|
|
|
1a9d70 |
* Mon Nov 15 2010 Peter Lemenkov <lemenkov@gmail.com> - 0.1.2-1
|
|
|
1a9d70 |
- Ver. 0.1.2
|
|
|
1a9d70 |
- Added missing runtime requirements
|
|
|
1a9d70 |
|
|
|
1a9d70 |
* Wed Oct 27 2010 Peter Lemenkov <lemenkov@gmail.com> - 0.1.1-1
|
|
|
1a9d70 |
- Initial build as separate package (splitted off from erlang)
|