|
|
@@ -21,21 +21,25 @@
|
|
|
## SUCH DAMAGE.
|
|
|
##
|
|
|
|
|
|
+# package versions
|
|
|
+%define V_dist 0.5.0-alpha-1-165
|
|
|
+%define V_opkg 0.5.0a1.165
|
|
|
+
|
|
|
# package information
|
|
|
Name: supose
|
|
|
Summary: Subversion Repository Searching Tool
|
|
|
-URL: http://supose.soebes.de/
|
|
|
+URL: http://redmine.soebes.de/
|
|
|
Vendor: SoEBeS
|
|
|
Packager: OpenPKG Foundation e.V.
|
|
|
Distribution: OpenPKG Community
|
|
|
Class: EVAL
|
|
|
Group: SCM
|
|
|
License: GPL
|
|
|
-Version: 0.4.0.0RC2
|
|
|
-Release: 20080327
|
|
|
+Version: %{V_opkg}
|
|
|
+Release: 20090117
|
|
|
|
|
|
# list of sources
|
|
|
-Source0: http://download.soebes.de/SupoSE-%{version}.tar.gz
|
|
|
+Source0: http://redmine.soebes.de/attachments/download/20/supose-%{V_dist}.one-jar.jar
|
|
|
Source1: supose.sh
|
|
|
|
|
|
# build information
|
|
|
@@ -53,13 +57,13 @@ AutoReqProv: no
|
|
|
|
|
|
%track
|
|
|
prog supose = {
|
|
|
- version = %{version}
|
|
|
- url = http://supose.soebes.de/wiki/Download
|
|
|
- regex = SupoSE-(__VER__(?:RC\d+)?)\.tar\.gz
|
|
|
+ version = %{V_dist}
|
|
|
+ url = http://redmine.soebes.de/projects/list_files/supose
|
|
|
+ regex = supose-(__VER__)\.jar
|
|
|
}
|
|
|
|
|
|
%prep
|
|
|
- %setup -q -c
|
|
|
+ %setup -q -T -c
|
|
|
|
|
|
%build
|
|
|
|
|
|
@@ -71,7 +75,8 @@ AutoReqProv: no
|
|
|
%{l_shtool} install -c -m 755 %{l_value -s -a} \
|
|
|
%{SOURCE supose.sh} $RPM_BUILD_ROOT%{l_prefix}/bin/supose
|
|
|
%{l_shtool} install -c -m 644 \
|
|
|
- lib/*.jar $RPM_BUILD_ROOT%{l_prefix}/libexec/supose/
|
|
|
+ %{SOURCE supose-%{V_dist}.one-jar.jar} \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/libexec/supose/supose.jar
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
|
|
|
|
|
|
%files -f files
|