This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/Logtalk/misc/logtalk.spec
pmoura 6f6f67b07f Logtalk 2.22.3 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1220 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-12-30 00:35:38 +00:00

57 lines
1.7 KiB
RPMSpec

Name: logtalk
Summary: Logtalk - Open source object-oriented extension to Prolog
Version: 2.22.3
Release: 1
License: Artistic License 2.0
Group: Development/Languages
Packager: Paulo Moura <pmoura@logtalk.org>
Source: http://www.logtalk.org/files/lgt2223.tgz
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
%setup -n lgt2223
%build
%install
rm -rf /usr/local/lgt2223
rm -f /usr/local/logtalk
mkdir /usr/local/lgt2223
cp -R * /usr/local/lgt2223
cd /usr/local
chmod -R go-w,a+r lgt2223
chmod a+x lgt2223
chmod a+x lgt2223/misc/*.sh
chmod a+x lgt2223/xml/*.sh
ln -sf lgt2223 logtalk
cd bin
ln -sf ../lgt2223/misc/cplgtdirs.sh cplgtdirs
ln -sf ../lgt2223/xml/lgt2pdf.sh lgt2pdf
ln -sf ../lgt2223/xml/lgt2html.sh lgt2html
%clean
%files
%defattr(-,root,users)
%doc /usr/local/lgt2223/BIBLIOGRAPHY
%doc /usr/local/lgt2223/INSTALL
%doc /usr/local/lgt2223/LICENSE
%doc /usr/local/lgt2223/QUICK_START
%doc /usr/local/lgt2223/README
%doc /usr/local/lgt2223/RELEASE_NOTES
%doc /usr/local/lgt2223/UPGRADING
/usr/local/lgt2223/compiler
/usr/local/lgt2223/configs
/usr/local/lgt2223/examples
/usr/local/lgt2223/libpaths
/usr/local/lgt2223/library
%docdir /usr/local/lgt2223/manuals
/usr/local/lgt2223/manuals
/usr/local/lgt2223/misc
/usr/local/lgt2223/wenv
/usr/local/lgt2223/xml
/usr/local/logtalk
/usr/local/bin/cplgtdirs
/usr/local/bin/lgt2pdf
/usr/local/bin/lgt2html