dcf184d930
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1048 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
52 lines
1.6 KiB
RPMSpec
52 lines
1.6 KiB
RPMSpec
Name: logtalk
|
|
Summary: Logtalk - Open source object-oriented extension to Prolog
|
|
Version: 2.17.0
|
|
Release: 1
|
|
License: Artistic License 2.0
|
|
Group: Development/Languages
|
|
Packager: Paulo Moura <pmoura@logtalk.org>
|
|
Source: http://www.logtalk.org/files/lgt2170.tar.gz
|
|
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 lgt2170
|
|
%build
|
|
%install
|
|
rm -rf /usr/local/lgt2170
|
|
rm -f /usr/local/logtalk
|
|
mkdir /usr/local/lgt2170
|
|
cp -R * /usr/local/lgt2170
|
|
cd /usr/local
|
|
chmod -R go-w,a+r lgt2170
|
|
chmod a+x lgt2170
|
|
chmod a+x lgt2170/misc/*.sh
|
|
chmod a+x lgt2170/xml/*.sh
|
|
ln -sf lgt2170 logtalk
|
|
cd bin
|
|
ln -sf ../lgt2170/misc/cplgtdirs.sh cplgtdirs.sh
|
|
%clean
|
|
%files
|
|
%defattr(-,root,users)
|
|
%doc /usr/local/lgt2170/BIBLIOGRAPHY
|
|
%doc /usr/local/lgt2170/INSTALL
|
|
%doc /usr/local/lgt2170/LICENSE
|
|
%doc /usr/local/lgt2170/QUICK_START
|
|
%doc /usr/local/lgt2170/README
|
|
%doc /usr/local/lgt2170/RELEASE_NOTES
|
|
%doc /usr/local/lgt2170/UPGRADING
|
|
/usr/local/lgt2170/compiler
|
|
/usr/local/lgt2170/configs
|
|
/usr/local/lgt2170/examples
|
|
/usr/local/lgt2170/library
|
|
%docdir /usr/local/lgt2170/manuals
|
|
/usr/local/lgt2170/manuals
|
|
/usr/local/lgt2170/misc
|
|
/usr/local/lgt2170/wenv
|
|
/usr/local/lgt2170/xml
|
|
/usr/local/logtalk
|
|
/usr/local/bin/cplgtdirs.sh
|