Browse Source

cpdf: update to 2.3

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12245 ec354946-7b23-47d6-9f5a-488ba84defc7
ara_t 4 years ago
parent
commit
42e94215c7
1 changed files with 13 additions and 8 deletions
  1. 13 8
      c/cpdf/cpdf-vl.spec

+ 13 - 8
c/cpdf/cpdf-vl.spec

@@ -1,24 +1,25 @@
 %define pkg_name    cpdf
-%define pkg_version 2.2
-%define patchlevel  1
+%define pkg_version 2.3
+# %define patchlevel  1
 %define pkg_release 1%{?_dist_release}
 
 Summary: Command Line Tools allow you to manipulate existing PDF files
 Name:    %{pkg_name}
-Version: %{pkg_version}.p%{patchlevel}
+Version: %{pkg_version}
+# Version: %{pkg_version}.p%{patchlevel}
 Release: %{pkg_release}
 
 License: Coherent Graphics Ltd Non-Commercial Use License Agreement
 Group:   Applications/Publishing
 URL:     http://community.coherentpdf.com/
 
-Source0: cpdf-source-%{pkg_version}-patchlevel%{patchlevel}.tar.gz
-# Source0: camlpdf-%{version}.tar.gz
+Source0: cpdf-source-%{pkg_version}.tar.gz
+# Source0: cpdf-source-%{pkg_version}-patchlevel%{patchlevel}.tar.gz
 
 BuildRequires: readline-devel
 BuildRequires: ocaml
 BuildRequires: ocaml-findlib
-BuildRequires: ocaml-camlpdf
+BuildRequires: ocaml-camlpdf = %{pkg_version}
 
 Vendor: Project Vine
 Distribution: Vine Linux
@@ -54,7 +55,7 @@ Summary: OCaml library for Coherent PDF
 Group:   Development/Languages
 Requires: ocaml
 Requires: ocaml-findlib
-Requires: ocaml-camlpdf
+Requires: ocaml-camlpdf = %{pkg_version}
 
 %description libs
 %{summary}
@@ -62,7 +63,8 @@ Requires: ocaml-camlpdf
 
 %prep
 %{__rm} -rf ${RPM_BUILD_ROOT}
-%setup -q -n %{name}-source-%{pkg_version}-patchlevel%{patchlevel}
+%setup -q -n %{name}-source-%{pkg_version}
+# %setup -q -n %{name}-source-%{pkg_version}-patchlevel%{patchlevel}
 
 %build
 LDFLAGS="-ltinfo" %{__make}
@@ -102,6 +104,9 @@ echo "%{_libdir}/ocaml/%{pkg_name}" >> %{_libdir}/ocaml/ld.conf
 
 
 %changelog
+* Sun Oct 06 2019 Toshiaki Ara <ara_t@384.jp> 2.3-1
+- update to 2.3
+
 * Sun Apr 15 2018 Toshiaki Ara <ara_t@384.jp> 2.2-pachlevel1
 - initial build for Vine Linux