2005-04-23 00:57:45 +01:00
|
|
|
Name: logtalk
|
|
|
|
Summary: Logtalk - Open source object-oriented extension to Prolog
|
2006-02-10 17:44:05 +00:00
|
|
|
Version: 2.27.0
|
2005-04-23 00:57:45 +01:00
|
|
|
Release: 1
|
|
|
|
License: Artistic License 2.0
|
|
|
|
Group: Development/Languages
|
|
|
|
Packager: Paulo Moura <pmoura@logtalk.org>
|
2006-02-10 17:44:05 +00:00
|
|
|
Source: http://www.logtalk.org/files/lgt2270.tgz
|
2005-04-23 00:57:45 +01:00
|
|
|
BuildArchitectures: noarch
|
|
|
|
URL: http://www.logtalk.org/
|
|
|
|
Prefix: /usr/local
|
|
|
|
AutoReqProv: no
|
|
|
|
%description
|
|
|
|
Logtalk is an open source object-oriented extension to the Prolog programming language. Integrating logic programming with object-oriented and event-driven programming, it is compatible with most Prolog compilers. It supports both prototypes and classes. In addition, it supports component-based programming through category-based composition.
|
|
|
|
%prep
|
2006-02-10 17:44:05 +00:00
|
|
|
%setup -n lgt2270
|
2005-04-23 00:57:45 +01:00
|
|
|
%build
|
|
|
|
%install
|
2006-02-10 17:44:05 +00:00
|
|
|
rm -rf /usr/local/lgt2270
|
2005-04-23 00:57:45 +01:00
|
|
|
rm -f /usr/local/logtalk
|
2006-02-10 17:44:05 +00:00
|
|
|
mkdir /usr/local/lgt2270
|
|
|
|
cp -R * /usr/local/lgt2270
|
2005-04-23 00:57:45 +01:00
|
|
|
cd /usr/local
|
2006-02-10 17:44:05 +00:00
|
|
|
chmod -R go-w,a+r lgt2270
|
|
|
|
chmod a+x lgt2270
|
|
|
|
chmod a+x lgt2270/scripts/*.sh
|
|
|
|
chmod a+x lgt2270/xml/*.sh
|
|
|
|
ln -sf lgt2270 logtalk
|
2005-04-23 00:57:45 +01:00
|
|
|
cd bin
|
2005-05-24 00:33:41 +01:00
|
|
|
ln -sf ../logtalk/scripts/cplgtdirs.sh cplgtdirs
|
|
|
|
ln -sf ../logtalk/xml/lgt2pdf.sh lgt2pdf
|
|
|
|
ln -sf ../logtalk/xml/lgt2html.sh lgt2html
|
|
|
|
ln -sf ../logtalk/xml/lgt2xml.sh lgt2xml
|
2005-04-23 00:57:45 +01:00
|
|
|
%clean
|
|
|
|
%files
|
|
|
|
%defattr(-,root,users)
|
2006-02-10 17:44:05 +00:00
|
|
|
%doc /usr/local/lgt2270/BIBLIOGRAPHY
|
|
|
|
%doc /usr/local/lgt2270/INSTALL
|
|
|
|
%doc /usr/local/lgt2270/LICENSE
|
|
|
|
%doc /usr/local/lgt2270/QUICK_START
|
|
|
|
%doc /usr/local/lgt2270/README
|
|
|
|
%doc /usr/local/lgt2270/RELEASE_NOTES
|
|
|
|
%doc /usr/local/lgt2270/UPGRADING
|
|
|
|
/usr/local/lgt2270/compiler
|
|
|
|
/usr/local/lgt2270/configs
|
|
|
|
/usr/local/lgt2270/contributions
|
|
|
|
/usr/local/lgt2270/examples
|
|
|
|
/usr/local/lgt2270/libpaths
|
|
|
|
/usr/local/lgt2270/library
|
|
|
|
%docdir /usr/local/lgt2270/manuals
|
|
|
|
/usr/local/lgt2270/manuals
|
|
|
|
/usr/local/lgt2270/scripts
|
|
|
|
/usr/local/lgt2270/wenv
|
|
|
|
/usr/local/lgt2270/xml
|
2005-04-23 00:57:45 +01:00
|
|
|
/usr/local/logtalk
|
|
|
|
/usr/local/bin/cplgtdirs
|
|
|
|
/usr/local/bin/lgt2pdf
|
|
|
|
/usr/local/bin/lgt2html
|
|
|
|
/usr/local/bin/lgt2xml
|