diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..46802f8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/guid-1.1.0.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 5616c0a..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# golang-github-marstr-guid - -The golang-github-marstr-guid package \ No newline at end of file diff --git a/golang-github-marstr-guid.spec b/golang-github-marstr-guid.spec new file mode 100644 index 0000000..846b120 --- /dev/null +++ b/golang-github-marstr-guid.spec @@ -0,0 +1,60 @@ +# Run tests in check section +# Tests do not work +%bcond_with check + +%global goipath github.com/marstr/guid +Version: 1.1.0 + +%global common_description %{expand: +This rather bizarre program will scour a Go package for all publicly exported +entities then create a package that merely delegates the work to the original +package.} + +%gometa + +Name: %{goname} +Release: 1%{?dist} +Summary: Generates a Go package that acts as a ghost of another +License: MIT +URL: %{gourl} +Source0: %{gosource} + +%description +%{common_description} + + +%package devel +Summary: %{summary} +BuildArch: noarch + +%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.txt +%doc README.md + + +%changelog +* Mon Mar 26 2018 Robert-André Mauchin - 1.1.0-1 +- First package for Fedora + diff --git a/sources b/sources new file mode 100644 index 0000000..e9e4bc5 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (guid-1.1.0.tar.gz) = eeb15b9876a4b01e27aafee276114b014890b30eddadf69b454b2528449392fc2ddae37b3bf9ba15928592d510e10cdb6af50567f72746efcafc861bf7bdb87e