%define pkgver %(echo %version | tr . _) Name: gogoc Version: 1.2 Release: 1mamba Summary: gogoCLIENT offers IPv6 connectivity as well as IPv4 over IPv6 tunneling on gogo6.com Group: Applications/Networking Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://gogonet.gogo6.com/ Source: http://gogo6.com/downloads/gogoc-%{pkgver}-RELEASE.tar.gz License: no OSI Approved ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libopenssl-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description gogoCLIENT offers IPv6 connectivity as well as IPv4 over IPv6 tunneling on gogo6.com. %prep %setup -q -n %{name}-%{pkgver}-RELEASE %build %make -j1 installdir=%{_prefix} \ INSTALL_MAN=%{_mandir} \ INSTALL_TEMPL=%{_datadir}/%{name}/ %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall \ installdir=%{buildroot}%{_prefix} \ INSTALL_MAN=%{buildroot}%{_mandir} \ INSTALL_TEMPL=%{buildroot}%{_datadir}/%{name}/ install -d -m0755 %{buildroot}%{_sysconfdir} mv %{buildroot}%{_bindir}/gogoc.conf* %{buildroot}%{_sysconfdir}/ sed -i "s|gogoc_dir=.*|gogoc_dir=%{_datadir}/gogoc/|" \ %{buildroot}%{_sysconfdir}/gogoc.conf \ %{buildroot}%{_sysconfdir}/gogoc.conf.sample %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/gogoc.conf %{_sysconfdir}/gogoc.conf.sample %{_bindir}/gogoc %{_mandir}/man5/gogoc.conf.5* %{_mandir}/man8/gogoc.8* %{_datadir}/gogoc/README %{_datadir}/gogoc/linux.sh %doc README CLIENT-LICENSE.TXT %changelog * Tue Feb 08 2011 Silvan Calarco RELEASE-1mamba - package created by autospec