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