]> git.pld-linux.org Git - packages/clips.git/blame - clips.spec
- rel 3
[packages/clips.git] / clips.spec
CommitLineData
c6c6cc38 1Summary: CLIPS - a productive development and delivery expert system tool
f2c68373 2Summary(pl.UTF-8): CLIPS - narzędzie do tworzenia i wdrażania systemów eksperckich
d2e45378 3Name: clips
7cc201d0 4Version: 6.26
e20350f0 5Release: 3
87852678 6License: Public Domain
d2e45378 7Group: Development/Languages
87852678 8Source0: http://www.ghg.net/clips/download/source/clipssrc.tar.Z
315bf15f 9# Source0-md5: ccba9d912375e57a1b7d9eba12da4198
87852678 10Source1: http://www.ghg.net/clips/download/documentation/3CCP.pdf
97f15b60 11# Source1-md5: a6a60733af08f9e9e6d0928272ad4dd9
87852678 12Source2: http://www.ghg.net/clips/download/documentation/abstract.pdf
97f15b60 13# Source2-md5: cd3ecddc4e538b8af0e5cf08ab7fd89c
87852678 14Source3: http://www.ghg.net/clips/download/documentation/apg.pdf
315bf15f 15# Source3-md5: fae2267d96fb95603345e91c9990caaa
87852678 16Source4: http://www.ghg.net/clips/download/documentation/arch5-1.pdf
97f15b60 17# Source4-md5: 9a13d2ed18fe6ab67902d5bce29957cb
87852678 18Source5: http://www.ghg.net/clips/download/documentation/bpg.pdf
315bf15f 19# Source5-md5: 63891971aa782dc67c2de0579647247e
87852678 20Source6: http://www.ghg.net/clips/download/documentation/ig.pdf
315bf15f 21# Source6-md5: 89beca5caa08b30d8285cca7f1df1d26
87852678 22Source7: http://www.ghg.net/clips/download/documentation/usrguide.pdf
315bf15f 23# Source7-md5: 44e54697a8acf3509bc4ca51d88b65bd
87852678 24Source8: http://www.ghg.net/clips/download/source/%{name}.hlp
315bf15f
JR
25# Source8-md5: 55f662f8aa8400aff8bf5a5cb882f708
26Source9: http://www.ghg.net/clips/download/executables/examples/AllExamples.tar.Z
27# Source9-md5: f5c02b997199f3ede779b8502af2ba09
87852678 28Patch0: %{name}-automake.patch
4f06cbb4 29URL: http://www.ghg.net/clips/CLIPS.html
87852678
MM
30BuildRequires: autoconf
31BuildRequires: automake
2f1fb22c 32BuildRequires: libtool
d2e45378 33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35%description
c6c6cc38
JB
36CLIPS is a productive development and delivery expert system tool
37which provides a complete environment for the construction of rule
38and/or object based expert systems. CLIPS is being used by numerous
39users throughout the public and private community including: all NASA
40sites and branches of the military, numerous federal bureaus,
41government contractors, universities, and many companies.
42
aba45452
JR
43%description -l pl.UTF-8
44CLIPS jest narzędziem do tworzenia i wdrażania systemów eksperckich
45zapewniającym kompletne środowisko do tworzenia systemów eksperckich
46opartych na regułach lub obiektach. CLIPS jest używany przez wielu
47użytkowników prywatnych i publicznych, tym: NASA i różne gałęzie
48wojska, biura federalne, kontrahentów rządowych, uniwersytety i wiele
c6c6cc38 49firm.
d2e45378 50
51%package doc
c6c6cc38 52Summary: CLIPS documentation
f2c68373 53Summary(pl.UTF-8): Dokumentacja do CLIPS
d2e45378 54Group: Development/Languages
65ea02f8 55Requires: %{name} = %{version}-%{release}
d2e45378 56
57%description doc
87852678 58CLIPS documentation and examples.
c6c6cc38 59
aba45452
JR
60%description doc -l pl.UTF-8
61Dokumentacja i przykłady do CLIPSa.
87852678
MM
62
63%package devel
64Summary: CLIPS development files
f2c68373 65Summary(pl.UTF-8): Nagłówki do CLIPSa
87852678 66Group: Development/Languages
65ea02f8 67Requires: %{name} = %{version}-%{release}
87852678
MM
68
69%description devel
70Includes for programs using embadded CLIPS enviroment.
71
aba45452
JR
72%description devel -l pl.UTF-8
73Pliki nagłówkowe dla programów używających wbudowanego środowiska CLIPSa.
87852678
MM
74
75%package static
76Summary: CLIPS static libraries
f2c68373 77Summary(pl.UTF-8): Statyczne biblioteki do CLIPSa
87852678 78Group: Development/Languages
65ea02f8 79Requires: %{name}-devel = %{version}-%{release}
87852678
MM
80
81%description static
82Static libraries for programs using embadded CLIPS enviroment.
83
aba45452
JR
84%description static -l pl.UTF-8
85Statyczne biblioteki dla programów używających wbudowanego środowiska
87852678 86CLIPSa.
d2e45378 87
88%prep
315bf15f 89%setup -q -T -c -a0 -a9
87852678 90%patch0 -p0
d2e45378 91
92%build
315bf15f 93cd clipssrc/clipssrc/
24bc387d 94rm -f missing
287a3544 95%{__libtoolize}
24bc387d 96%{__aclocal}
97%{__autoheader}
4a0019ed 98%{__autoconf}
24bc387d 99%{__automake}
87852678
MM
100
101echo '#undef HELP_DEFAULT' > usrsetup.h
102echo '#define HELP_DEFAULT "%{_datadir}/misc/%{name}.hlp"' >> usrsetup.h
103
104%configure
0cc346c9 105%{__make}
d2e45378 106
107%install
108rm -rf $RPM_BUILD_ROOT
24bc387d 109install -d $RPM_BUILD_ROOT{%{_datadir}/misc,%{_examplesdir}/%{name}-%{version}}
d2e45378 110
315bf15f 111%{__make} -C clipssrc/clipssrc install \
4f06cbb4 112 DESTDIR=$RPM_BUILD_ROOT
d2e45378 113
984fd5c2
AF
114install %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} \
115 %{SOURCE6} %{SOURCE7} .
d2e45378 116
87852678
MM
117install %{SOURCE8} $RPM_BUILD_ROOT%{_datadir}/misc/%{name}.hlp
118
315bf15f 119cp -r Examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
24bc387d 120
315bf15f 121cp -f clipssrc/readme.txt COPYING
87852678 122
d2e45378 123%clean
124rm -rf $RPM_BUILD_ROOT
125
880b27d1 126%post -p /sbin/ldconfig
127%postun -p /sbin/ldconfig
d2e45378 128
129%files
130%defattr(644,root,root,755)
24bc387d 131%doc COPYING
d2e45378 132%attr(755,root,root) %{_bindir}/clips
87852678
MM
133%attr(755,root,root) %{_libdir}/libclips.so.*.*.*
134%{_datadir}/misc/%{name}.hlp
135
136%files devel
137%defattr(644,root,root,755)
138%{_libdir}/libclips.so
139%{_libdir}/libclips.la
140%{_includedir}/%{name}
141
142%files static
143%defattr(644,root,root,755)
144%{_libdir}/libclips.a
d2e45378 145
146%files doc
147%defattr(644,root,root,755)
87852678
MM
148%doc *.pdf
149%{_examplesdir}/%{name}-%{version}
This page took 0.052766 seconds and 4 git commands to generate.