%global __brp_check_rpaths %{nil} %global packname MoLE %global packver 1.0.1 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} Version: 1.0.1 Release: 3%{?dist}%{?buildtag} Summary: Modeling Language Evolution License: GPL-2 URL: https://cran.r-project.org/package=%{packname} Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz BuildRequires: R-devel >= 3.0.0 Requires: R-core >= 3.0.0 BuildArch: noarch %description Model for simulating language evolution in terms of cultural evolution (Smith & Kirby (2008) ; Deacon 1997). The focus is on the emergence of argument-marking systems (Dowty (1991) , Van Valin 1999, Dryer 2002, Lestrade 2015a), i.e. noun marking (Aristar (1997) , Lestrade (2010) ), person indexing (Ariel 1999, Dahl (2000) , Bhat 2004), and word order (Dryer 2013), but extensions are foreseen. Agents start out with a protolanguage (a language without grammar; Bickerton (1981) , Jackendoff 2002, Arbib (2015) ) and interact through language games (Steels 1997). Over time, grammatical constructions emerge that may or may not become obligatory (for which the tolerance principle is assumed; Yang 2016). Throughout the simulation, uniformitarianism of principles is assumed (Hopper (1987) , Givon (1995) , Croft (2000), Saffran (2001) , Heine & Kuteva 2007), in which maximal psychological validity is aimed at (Grice (1975) , Levelt 1989, Gaerdenfors 2000) and language representation is usage based (Tomasello 2003, Bybee 2010). In Lestrade (2015b) , Lestrade (2015c) , and Lestrade (2016) ), which reported on the results of preliminary versions, this package was announced as WDWTW (for who does what to whom), but for reasons of pronunciation and generalization the title was changed. %prep %setup -q -c -n %{packname} %build %install mkdir -p %{buildroot}%{rlibdir} %{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname} test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so) rm -f %{buildroot}%{rlibdir}/R.css %files %{rlibdir}/%{packname}