Browse Source

delegate-9.9.13-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@10539 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 7 years ago
parent
commit
9afde1ab8b
1 changed files with 13 additions and 7 deletions
  1. 13 7
      d/delegate/delegate-vl.spec

+ 13 - 7
d/delegate/delegate-vl.spec

@@ -1,7 +1,7 @@
 Summary: Multi-purpose application level gateway
 Name: delegate
-Version: 9.9.7
-Release: 2%{?_dist_release}
+Version: 9.9.13
+Release: 1%{?_dist_release}
 Group: Applications/System
 Source: ftp://ftp.etl.go.jp/pub/DeleGate/delegate%{version}.tar.gz
 URL: http://www.delegate.org/
@@ -11,7 +11,12 @@ Buildroot: %{_tmppath}/%{name}-%{version}-root
 Vendor: Project Vine
 Distribution: Vine Linux
 
-#%define __spec_install_post /usr/lib/rpm/brp-compress ||:
+%define __spec_install_post \
+    %{?__debug_package:%{__debug_install_post}} \
+    %{__arch_install_post} \
+    %{__os_install_post} \
+    ./src/delegated -Fesign -w $RPM_BUILD_ROOT/usr/sbin/delegated \
+%{nil}
 
 %description
 Delegated is the DeleGate server process which relays TCP/IP protocols
@@ -35,9 +40,6 @@ install -m 0700 src/delegated $RPM_BUILD_ROOT/usr/sbin
 install -m 0700 bin/expire $RPM_BUILD_ROOT/usr/sbin
 install -m 0700 -d $RPM_BUILD_ROOT/var/spool/delegate
 
-strip $RPM_BUILD_ROOT/usr/sbin/delegated
-./src/delegated -Fesign -w $RPM_BUILD_ROOT/usr/sbin/delegated
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -55,7 +57,8 @@ fi
 
 %files
 %defattr(-,delegate,delegate)
-%doc CHANGES COPYRIGHT CREDITS README* DG9note.html
+%license COPYRIGHT
+%doc CHANGES CREDITS README* DG9note.html
 %doc doc/
 /usr/sbin/delegated
 /usr/sbin/expire
@@ -63,6 +66,9 @@ fi
 
 
 %changelog
+* Tue Jul  5 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.9.13-1
+- new upstream release.
+
 * Sun Jan 12 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.9.7-2
 - rebuilt with current environment.