package: update fedora spec file
This commit is contained in:
parent
d535bf5fde
commit
bc0d1f69dc
1 changed files with 10 additions and 11 deletions
|
@ -1,13 +1,12 @@
|
||||||
Name: arduino-mk
|
Name: arduino-mk
|
||||||
Version: 1.3.4
|
Version: 1.3.4
|
||||||
Release: 1%{dist}
|
Release: 2%{dist}
|
||||||
Summary: Program your Arduino from the command line
|
Summary: Program your Arduino from the command line
|
||||||
Packager: Simon John <git@the-jedi.co.uk>
|
Packager: Simon John <git@the-jedi.co.uk>
|
||||||
URL: https://github.com/sudar/Arduino-Makefile
|
URL: https://github.com/sudar/Arduino-Makefile
|
||||||
Source: %{name}-%{version}.tar.gz
|
Source: %{name}-%{version}.tar.gz
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: arduino-core pyserial
|
Requires: arduino-core pyserial
|
||||||
BuildRequires: arduino-core
|
BuildRequires: arduino-core
|
||||||
|
@ -28,13 +27,11 @@ Arduino platform.
|
||||||
mkdir -p %{buildroot}/%{_datadir}/arduino
|
mkdir -p %{buildroot}/%{_datadir}/arduino
|
||||||
mkdir -p %{buildroot}/%{_bindir}
|
mkdir -p %{buildroot}/%{_bindir}
|
||||||
mkdir -p %{buildroot}/%{_mandir}/man1
|
mkdir -p %{buildroot}/%{_mandir}/man1
|
||||||
mkdir -p %{buildroot}/%{_docdir}/%{name}/examples
|
mkdir -p %{buildroot}/%{_pkgdocdir}/examples
|
||||||
install -m 755 -d %{buildroot}/%{_docdir}/%{name}
|
for dir in `find examples -type d` ; do install -m 755 -d %{buildroot}/%{_pkgdocdir}/$dir ; done
|
||||||
install -m 755 -d %{buildroot}/%{_docdir}/%{name}/examples
|
for file in `find examples -type f ! -name .gitignore` ; do install -m 644 $file %{buildroot}/%{_pkgdocdir}/$file ; done
|
||||||
for dir in `find examples -type d` ; do install -m 755 -d %{buildroot}/%{_docdir}/%{name}/$dir ; done
|
|
||||||
for file in `find examples -type f ! -name .gitignore` ; do install -m 644 $file %{buildroot}/%{_docdir}/%{name}/$file ; done
|
|
||||||
install -m 644 *.mk arduino-mk-vars.md %{buildroot}/%{_datadir}/arduino
|
install -m 644 *.mk arduino-mk-vars.md %{buildroot}/%{_datadir}/arduino
|
||||||
install -m 644 licence.txt %{buildroot}/%{_docdir}/%{name}
|
install -m 644 licence.txt %{buildroot}/%{_pkgdocdir}
|
||||||
install -m 755 bin/ard-reset-arduino %{buildroot}/%{_bindir}/ard-reset-arduino
|
install -m 755 bin/ard-reset-arduino %{buildroot}/%{_bindir}/ard-reset-arduino
|
||||||
install -m 644 ard-reset-arduino.1 %{buildroot}/%{_mandir}/man1
|
install -m 644 ard-reset-arduino.1 %{buildroot}/%{_mandir}/man1
|
||||||
|
|
||||||
|
@ -47,11 +44,13 @@ rm -rf %{buildroot}
|
||||||
%{_mandir}/man1/ard-reset-arduino.1*
|
%{_mandir}/man1/ard-reset-arduino.1*
|
||||||
%{_datadir}/arduino/*.mk
|
%{_datadir}/arduino/*.mk
|
||||||
%{_datadir}/arduino/arduino-mk-vars.md
|
%{_datadir}/arduino/arduino-mk-vars.md
|
||||||
%doc %{_docdir}/%{name}/licence.txt
|
%doc %{_pkgdocdir}/licence.txt
|
||||||
%docdir %{_docdir}/%{name}/examples
|
%doc %{_pkgdocdir}/examples
|
||||||
%{_docdir}/%{name}/examples
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jan 10 2015 Suvayu Ali <fatkasuvayu+linux@gmail.com>
|
||||||
|
- Update according to latest Fedora packaging guidelines
|
||||||
|
|
||||||
* Sat Apr 12 2014 Simon John <git@the-jedi.co.uk>
|
* Sat Apr 12 2014 Simon John <git@the-jedi.co.uk>
|
||||||
- Put manpage back.
|
- Put manpage back.
|
||||||
* Fri Apr 04 2014 Simon John <git@the-jedi.co.uk>
|
* Fri Apr 04 2014 Simon John <git@the-jedi.co.uk>
|
||||||
|
|
Loading…
Reference in a new issue