Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > ddd0bb533eb38b02a2f806d6b843c468 > files > 2

golang-gorilla-mux-0.1.20180314_git4dbd923-2.mga7.src.rpm

%define debug_package %{nil}

%define prerelease 4dbd923b0c9e99ff63ad54b0e9705ff92d3cdb06
%define import_path github.com/gorilla/mux
%define gopath %{_libdir}/golang
%define gosrc %{gopath}/src/pkg/%{import_path}
%define shortcommit %(c=%{prerelease}; echo ${c:0:7})
%define date 20180314

Summary:	A powerful URL router and dispatcher for golang
Name:		golang-gorilla-mux
Version:	0.1.%{date}_git%{shortcommit}
Release:	%mkrel 2
License:	BSD
Group:		Development/Other
Url:		https://%{import_path}
Source0:        https://%{import_path}/archive/%{prerelease}.tar.gz
Provides:       golang(%{import_path}) = %{version}-%{release}

%description
Package gorilla/mux implements a request router and dispatcher.

The name mux stands for "HTTP request multiplexer". Like the standard
http.ServeMux, mux.Router matches incoming requests against a list of
registered routes and calls a handler for the route that matches the URL or
other conditions.

%prep
%setup -q -n mux-%{prerelease}

%build

%install
mkdir -p %{buildroot}%{gosrc}
cp -av * %{buildroot}%{gosrc}/
rm -f %{buildroot}%{gosrc}/{LICENSE,README.md}

%files
%doc LICENSE README.md
%{gosrc}/*


%changelog
* Sun Sep 23 2018 umeabot <umeabot> 0.1.20180314_git4dbd923-2.mga7
  (not released yet)
+ Revision: 1298016
- Mageia 7 Mass Rebuild

* Wed Mar 28 2018 kekepower <kekepower> 0.1.20180314_git4dbd923-1.mga7
+ Revision: 1213082
- Update to 0.1.20180314_git4dbd923

* Thu Feb 11 2016 umeabot <umeabot> 0.1.git9ede152-6.mga6
+ Revision: 954139
- Mageia 6 Mass Rebuild

* Wed Oct 21 2015 tv <tv> 0.1.git9ede152-5.mga6
+ Revision: 893485
- disable debuginfo

* Wed Oct 15 2014 umeabot <umeabot> 0.1.git9ede152-4.mga5
+ Revision: 745628
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 0.1.git9ede152-3.mga5
+ Revision: 679861
- Mageia 5 Mass Rebuild

* Mon Jun 30 2014 bcornec <bcornec> 0.1.git9ede152-2.mga5
+ Revision: 641549
- Fix for golang FHS

* Sat Dec 21 2013 thatsamguy <thatsamguy> 0.1.git9ede152-1.mga4
+ Revision: 559385
- imported package golang-gorilla-mux