diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..aa3c36f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/go-daemon-0.1.3.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index bdbf2e5..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# golang-github-sevlyar-daemon - -The golang-github-sevlyar-daemon package \ No newline at end of file diff --git a/golang-github-sevlyar-daemon.spec b/golang-github-sevlyar-daemon.spec new file mode 100644 index 0000000..f549184 --- /dev/null +++ b/golang-github-sevlyar-daemon.spec @@ -0,0 +1,58 @@ +# Run tests in check section +%bcond_without check + +%global goipath github.com/sevlyar/go-daemon +Version: 0.1.3 + +%global common_description %{expand: +A library for writing system daemons in golang.} + +%gometa + +Name: %{goname} +Release: 1%{?dist} +Summary: A library for writing system daemons in golang +License: MIT +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(github.com/kardianos/osext) + +%description +%{common_description} + + +%package devel +Summary: %{summary} + +%description devel +%{common_description} + +This package contains library source intended for +building other packages which use import path with +%{goipath} prefix. + + +%prep +%forgeautosetup + + +%install +%goinstall + + +%if %{with check} +%check +%gochecks +%endif + + +%files devel -f devel.file-list +%license LICENSE +%doc README.md + + +%changelog +* Tue Mar 20 2018 Robert-André Mauchin - 0.1.3-1 +- First package for Fedora + diff --git a/sources b/sources new file mode 100644 index 0000000..551ef4e --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (go-daemon-0.1.3.tar.gz) = 2313d2846cf0a3d497290daca2645771d8e3b12880b179921abc6c4727a065e6a1256b2d361fbd0cf8b0915365ba8fa1f65106e3aab4af43bc84f05a95af0b7e