Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:inescid:language
srilm
srilm.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File srilm.spec of Package srilm
# # spec file for package srilm # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: srilm Version: 1.5.11 Release: 2 # License: SRILM Research Community License Group: Productivity/Scientific/Other # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ tcsh tcl-devel # Url: http://www.speech.sri.com/projects/srilm/ # Original sources without tests Source: %{name}-%{version}.tar.bz2 Prefix: /usr # Summary: The SRI Language Modeling Toolkit %description SRILM is a toolkit for building and applying statistical language models (LMs), primarily for use in speech recognition, statistical tagging and segmentation, and machine translation. It has been under development in the SRI Speech Technology and Research Laboratory since 1995. The toolkit has also greatly benefitted from its use and enhancements during the Johns Hopkins University/CLSP summer workshops in 1995, 1996, 1997, and 2002 %package devel Summary: The SRI Language Modeling Toolkit development files License: SRILM Research Community License BuildRequires: gcc-c++ tcsh tcl-devel Requires: srilm Group: Productivity/Scientific/Other %description devel SRILM is a toolkit for building and applying statistical language models (LMs), primarily for use in speech recognition, statistical tagging and segmentation, and machine translation. It has been under development in the SRI Speech Technology and Research Laboratory since 1995. The toolkit has also greatly benefitted from its use and enhancements during the Johns Hopkins University/CLSP summer workshops in 1995, 1996, 1997, and 2002 %prep %setup -q %build sed -i "s|#[ ]*SRILM[ ]*=.*|SRILM\ =\ `pwd`|" Makefile #sed -i "s|.*RPM_FLAGS.*|RPM_FLAGS\ =\ ${RPM_OPT_FLAGS}|" common/Makefile.common.variables MYLIB="%{_lib}" if [ "$MYLIB" = "lib64" ]; then make MACHINE_TYPE=i686-m64 MAKE_PIC=yes elif [ "$MYLIB" = "lib" ]; then make MACHINE_TYPE=i686 MAKE_PIC=yes fi %install mkdir -p %{buildroot}%{_bindir} find bin -type f -exec cp -f \{\} %{buildroot}%{_bindir} \; mkdir -p %{buildroot}%{_includedir}/%{name} mv include/* %{buildroot}%{_includedir}/%{name} mkdir -p %{buildroot}%{_mandir} mv man/man[0-9] %{buildroot}%{_mandir} mkdir -p %{buildroot}%{_libdir} mv lib/*/*.a %{buildroot}%{_libdir} mkdir -p %{buildroot}%{_datadir}/doc/packages/%{name} mv doc/paper.pdf %{buildroot}%{_datadir}/doc/packages/%{name} for i in `find $RPM_BUILD_ROOT | xargs fgrep -l -I /usr/local/bin/perl`; do sed -i "s=/usr/local/bin/perl=/usr/bin/perl=g" $i; done %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %dir %{_datadir}/doc/packages/%{name} %doc %{_datadir}/doc/packages/%{name}/paper.pdf %{_bindir}/* %{_mandir}/*/* %files devel %defattr(-,root,root,-) %{_includedir}/%{name} %{_libdir}/*.a %changelog * Wed Aug 11 2010 david.matos@inesc-id.pt - adapted spec for srilm 1.5.11 * Sat Dec 5 2009 mhrusecky@suse.cz - enabling tcl (thanks to Myroslava Dzikovska for pointing this out) * Thu Nov 19 2009 mhrusecky@suse.cz - packaging man pages and static libraries as well * Sun Oct 25 2009 mhrusecky@suse.cz - packaged first version of srilm (version 1.5.9)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor