packages: vislcg3/vislcg3.spec, vislcg3/vislcg3-opt.patch (REMOVED) - updat...

qboosh qboosh at pld-linux.org
Thu Aug 4 16:37:46 CEST 2011


Author: qboosh                       Date: Thu Aug  4 14:37:46 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 0.9.7.7397
- upstream has switched to cmake
- removed obsolete opt patch

---- Files affected:
packages/vislcg3:
   vislcg3.spec (1.3 -> 1.4) , vislcg3-opt.patch (1.1 -> NONE)  (REMOVED)

---- Diffs:

================================================================
Index: packages/vislcg3/vislcg3.spec
diff -u packages/vislcg3/vislcg3.spec:1.3 packages/vislcg3/vislcg3.spec:1.4
--- packages/vislcg3/vislcg3.spec:1.3	Sat Apr 30 22:07:48 2011
+++ packages/vislcg3/vislcg3.spec	Thu Aug  4 16:37:41 2011
@@ -2,20 +2,18 @@
 Summary:	VISL CG-3 constraint grammar system
 Summary(pl.UTF-8):	VISL CG-3 - system ograniczonej gramatyki
 Name:		vislcg3
-Version:	0.9.7.7000
+Version:	0.9.7.7397
 Release:	1
 License:	GPL v3+
 Group:		Applications/Text
 Source0:	http://beta.visl.sdu.dk/download/vislcg3/%{name}-%{version}.tar.gz
-# Source0-md5:	256867ab70b0b6c2d5d39a2ee86aa4b4
-Patch0:		%{name}-opt.patch
+# Source0-md5:	c5afcd090c3c5974506dc04c7e80b47a
 URL:		http://beta.visl.sdu.dk/cg3.html
-BuildRequires:	autoconf >= 2.52
-BuildRequires:	automake
+BuildRequires:	cmake >= 2.6.4
 BuildRequires:	boost-devel >= 1.36.0
 BuildRequires:	libicu-devel >= 3.6
 BuildRequires:	libstdc++-devel
-BuildRequires:	pkgconfig
+BuildRequires:	rpmbuild(macros) >= 1.603
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -26,13 +24,9 @@
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
-%{__aclocal} -I m4
-%{__autoconf}
-%{__automake}
-%configure
+%cmake .
 
 %{__make}
 
@@ -42,17 +36,24 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# "improved" cmake scripts don't install it
+install -d $RPM_BUILD_ROOT%{_mandir}/man1
+install src/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+# API not installed
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libcg3.a
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc APERTIUM_FORMAT AUTHORS ChangeLog README TODO
+%doc APERTIUM_FORMAT AUTHORS README TODO
 %attr(755,root,root) %{_bindir}/cg-comp
 %attr(755,root,root) %{_bindir}/cg-conv
 %attr(755,root,root) %{_bindir}/cg-proc
-%attr(755,root,root) %{_bindir}/cg3-autobin.pl
 %attr(755,root,root) %{_bindir}/vislcg3
+%attr(755,root,root) %{_libdir}/libcg3.so
 %{_mandir}/man1/cg-comp.1*
 %{_mandir}/man1/cg-proc.1*
 %{_mandir}/man1/vislcg3.1*
@@ -63,6 +64,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2011/08/04 14:37:41  qboosh
+- updated to 0.9.7.7397
+- upstream has switched to cmake
+- removed obsolete opt patch
+
 Revision 1.3  2011/04/30 20:07:48  qboosh
 - updated to 0.9.7.7000
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/vislcg3/vislcg3.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list