packages: cuneiform/cuneiform.spec (NEW) - initial PLD release

gotar gotar at pld-linux.org
Fri May 13 22:27:47 CEST 2011


Author: gotar                        Date: Fri May 13 20:27:47 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial PLD release

---- Files affected:
packages/cuneiform:
   cuneiform.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/cuneiform/cuneiform.spec
diff -u /dev/null packages/cuneiform/cuneiform.spec:1.1
--- /dev/null	Fri May 13 22:27:47 2011
+++ packages/cuneiform/cuneiform.spec	Fri May 13 22:27:41 2011
@@ -0,0 +1,62 @@
+# $Revision$, $Date$
+Summary:	OCR system
+Name:		cuneiform
+Version:	1.1.0
+Release:	1
+License:	BSD
+Group:		Applications/Graphics
+Source0:	http://launchpad.net/cuneiform-linux/1.1/1.1/+download/%{name}-linux-%{version}.tar.bz2
+# Source0-md5:	09fd160cdfc512f26442a7e91246598d
+URL:		https://launchpad.net/cuneiform-linux
+BuildRequires:	ImageMagick-c++-devel
+BuildRequires:	cmake
+ExclusiveArch:	%{ix86} %{x8664}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+OCR system originally developed and open sourced by
+Cognitive technologies.
+
+%prep
+%setup -q -n %{name}-linux-%{version}
+
+%build
+rm -f builddir/CMakeCache.txt
+%{__mkdir_p} builddir
+cd builddir
+export CFLAGS="%{rpmcflags}"
+export CXXFLAGS="%{rpmcflags}"
+%{__cmake} .. \
+	-DCMAKE_INSTALL_PREFIX="%{_prefix}"
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C builddir install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} -r $RPM_BUILD_ROOT{%{_includedir},%{_libdir}/lib*.so}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc issues.txt original\ russian\ readme.rtf readme.txt
+%attr(755,root,root) %{_bindir}/%{name}
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/lib*.so.0
+%{_datadir}/%{name}
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/05/13 20:27:41  gotar
+- initial PLD release
================================================================


More information about the pld-cvs-commit mailing list