Blame erlang-rpm-macros.spec

1a9d70
Name:		erlang-rpm-macros
e388c1
Version:	0.2.0
92ffb1
Release:	2%{?dist}
1a9d70
Summary:	Macros for simplifying building of Erlang packages
1a9d70
Group:		Development/Libraries
1a9d70
License:	MIT
688e66
URL:		https://github.com/lemenkov/erlang-rpm-macros
7e3486
VCS:		scm:git:https://github.com/lemenkov/erlang-rpm-macros.git
688e66
Source0:	https://github.com/lemenkov/erlang-rpm-macros/archive/%{version}/%{name}-%{version}.tar.gz
1a9d70
BuildArch:	noarch
7e3486
Requires:	rpm-build >= 4.11
e388c1
# Requires for BEAM parsing
e388c1
Requires:	python2-pybeam
92ffb1
Requires:	rpm-python
1a9d70
1a9d70
1a9d70
%description
1a9d70
Macros for simplifying building of Erlang packages.
1a9d70
1a9d70
1a9d70
%prep
688e66
%setup -q
1a9d70
1a9d70
1a9d70
%build
688e66
# Nothing to build
1a9d70
1a9d70
1a9d70
%install
e388c1
install -d %{buildroot}%{_rpmconfigdir}/fileattrs
7e3486
install -d %{buildroot}%{_rpmconfigdir}/macros.d
688e66
install -p -m 0755 erlang-find-provides.escript %{buildroot}%{_rpmconfigdir}/
e388c1
install -p -m 0755 erlang-find-provides.py %{buildroot}%{_rpmconfigdir}/
688e66
install -p -m 0755 erlang-find-requires.escript %{buildroot}%{_rpmconfigdir}/
e388c1
install -p -m 0755 erlang-find-requires.py %{buildroot}%{_rpmconfigdir}/
e388c1
install -p -m 0644 macros.erlang %{buildroot}%{_rpmconfigdir}/macros.d/
e388c1
install -p -m 0644 erlang.attr %{buildroot}%{_rpmconfigdir}/fileattrs/
1a9d70
1a9d70
1a9d70
%files
e388c1
%license LICENSE
e388c1
%doc README
1a9d70
%{_rpmconfigdir}/erlang-find-provides.escript
e388c1
%{_rpmconfigdir}/erlang-find-provides.py
1a9d70
%{_rpmconfigdir}/erlang-find-requires.escript
e388c1
%{_rpmconfigdir}/erlang-find-requires.py
e388c1
%{_rpmconfigdir}/fileattrs/erlang.attr
e388c1
%{_rpmconfigdir}/macros.d/macros.erlang
e388c1
%exclude %{_rpmconfigdir}/*.pyc
e388c1
%exclude %{_rpmconfigdir}/*.pyo
1a9d70
1a9d70
1a9d70
1a9d70
%changelog
92ffb1
* Tue Mar  1 2016 Peter Lemenkov <lemenkov@gmail.com> - 0.2.0-2
92ffb1
- Added missing Requires
92ffb1
e388c1
* Tue Mar  1 2016 Peter Lemenkov <lemenkov@gmail.com> - 0.2.0-1
e388c1
- Ver. 0.2.0
e388c1
1d5baf
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-3
1d5baf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1d5baf
2ccd70
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-2
2ccd70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2ccd70
7e3486
* Fri Jun 13 2014 Peter Lemenkov <lemenkov@gmail.com> - 0.1.4-1
7e3486
- Ver. 0.1.4
7e3486
- Dropped support for pre-4.11 rpms (EL7 or Fedora is required)
7e3486
8dd3bf
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-7
8dd3bf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
8dd3bf
688e66
* Sat Aug 31 2013 Peter Lemenkov <lemenkov@gmail.com> - 0.1.3-6
688e66
- Cleaning up spec-file
688e66
a25884
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-5
a25884
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a25884
Ralf Corsépius 008385
* Mon Mar 11 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.1.3-4
Ralf Corsépius 008385
- Remove %%config from %%{_sysconfdir}/rpm/macros.*
Ralf Corsépius 008385
  (https://fedorahosted.org/fpc/ticket/259).
Ralf Corsépius 008385
f9f327
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-3
f9f327
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f9f327
50745f
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-2
50745f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
50745f
c68fcb
* Mon May 07 2012 Peter Lemenkov <lemenkov@gmail.com> - 0.1.3-1
c68fcb
- Ver. 0.1.3
c68fcb
8bdd0e
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-4
8bdd0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
8bdd0e
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)