|
@@ -23,8 +23,8 @@
|
|
|
##
|
|
##
|
|
|
|
|
|
|
|
# package version
|
|
# package version
|
|
|
-%define V_major 0.94
|
|
|
|
|
-%define V_minor %nil
|
|
|
|
|
|
|
+%define V_major 0.96
|
|
|
|
|
+%define V_minor 1
|
|
|
|
|
|
|
|
# package information
|
|
# package information
|
|
|
Name: dia
|
|
Name: dia
|
|
@@ -36,12 +36,11 @@ Distribution: OpenPKG Community
|
|
|
Class: EVAL
|
|
Class: EVAL
|
|
|
Group: DTP
|
|
Group: DTP
|
|
|
License: GPL
|
|
License: GPL
|
|
|
-Version: %{V_major}
|
|
|
|
|
-Release: 20061013
|
|
|
|
|
|
|
+Version: %{V_major}.%{V_minor}
|
|
|
|
|
+Release: 20070329
|
|
|
|
|
|
|
|
# list of sources
|
|
# list of sources
|
|
|
Source0: ftp://ftp.gnome.org/pub/gnome/sources/dia/%{V_major}/dia-%{V_major}.tar.bz2
|
|
Source0: ftp://ftp.gnome.org/pub/gnome/sources/dia/%{V_major}/dia-%{V_major}.tar.bz2
|
|
|
-Patch0: dia.patch
|
|
|
|
|
|
|
|
|
|
# build information
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
Prefix: %{l_prefix}
|
|
@@ -69,7 +68,7 @@ AutoReqProv: no
|
|
|
|
|
|
|
|
%track
|
|
%track
|
|
|
prog dia = {
|
|
prog dia = {
|
|
|
- version = %{V_major}
|
|
|
|
|
|
|
+ version = %{V_major}.%{V_minor}
|
|
|
url = http://www.gnome.org/projects/dia/downld.html
|
|
url = http://www.gnome.org/projects/dia/downld.html
|
|
|
regex = ftp://ftp.gnome.org/pub/gnome/sources/dia/(\d+(\.\d+)+)/
|
|
regex = ftp://ftp.gnome.org/pub/gnome/sources/dia/(\d+(\.\d+)+)/
|
|
|
url = ftp://ftp.gnome.org/pub/gnome/sources/dia/__NEWVER__/
|
|
url = ftp://ftp.gnome.org/pub/gnome/sources/dia/__NEWVER__/
|
|
@@ -78,7 +77,6 @@ AutoReqProv: no
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
|
%setup -q -n dia-%{V_major}
|
|
%setup -q -n dia-%{V_major}
|
|
|
- %patch -p0
|
|
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
|
%{l_shtool} subst \
|
|
%{l_shtool} subst \
|