]>
Commit | Line | Data |
---|---|---|
04bca2f2 | 1 | Summary: APE - Advanced Petri nets Environment |
8a6d3990 | 2 | Summary(pl.UTF-8): APE - Zaawansowane środowisko sieci Petriego |
04bca2f2 MŁ |
3 | Name: ape |
4 | Version: 0.5.2.1 | |
5 | Release: 1 | |
6 | License: GPL v2 | |
7 | Group: X11/Applications/Science | |
8 | Source0: http://fm.ia.agh.edu.pl/download/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: f2649352d48bfacdaa01cb872a5ee8a3 | |
10 | Source1: %{name}.desktop | |
11 | URL: http://fm.ia.agh.edu.pl/ | |
12 | BuildRequires: qt-devel >= 3 | |
13 | BuildRequires: qmake | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | APE tool is intended to be an advanced environment for modelling and | |
18 | analysis of Petri nets. The tool supports a few classes of low level | |
19 | Petri nets: place-transition nets, priority nets, simple time nets | |
20 | and simple time nets with priorities. | |
21 | ||
8a6d3990 JR |
22 | %description -l pl.UTF-8 |
23 | APE jest narzędziem mającym dostarczać zaawansowane środowisko do | |
2d07d60d | 24 | modelowania i analizy sieci Petriego. Wspiera kilka klas |
8a6d3990 | 25 | niskopoziomowych sieci Petriego: sieci miejsc i przejść, sieci |
2d07d60d JB |
26 | priorytetowe, proste sieci czasowe oraz proste priorytetowe sieci |
27 | czasowe. | |
04bca2f2 MŁ |
28 | |
29 | %prep | |
30 | %setup -q | |
31 | ||
32 | %build | |
33 | export QTDIR=%{_prefix} | |
2d07d60d | 34 | qmake |
04bca2f2 MŁ |
35 | %{__make} \ |
36 | CFLAGS="%{rpmcflags}" \ | |
37 | CXXFLAGS="%{rpmcxxflags}" | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
2d07d60d | 41 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/apps/%{name},%{_pixmapsdir},%{_desktopdir}} |
04bca2f2 MŁ |
42 | |
43 | # project is not ready yet for this | |
44 | #%{__make} install \ | |
45 | # DESTDIR=$RPM_BUILD_ROOT | |
46 | ||
47 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} | |
48 | install %{name} $RPM_BUILD_ROOT%{_bindir} | |
49 | install images/ape.png $RPM_BUILD_ROOT%{_pixmapsdir} | |
50 | install aperc $RPM_BUILD_ROOT%{_datadir}/apps/%{name} | |
51 | cp -af examples $RPM_BUILD_ROOT%{_datadir}/apps/%{name} | |
52 | ||
53 | %clean | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %files | |
57 | %defattr(644,root,root,755) | |
58 | %attr(755,root,root) %{_bindir}/* | |
59 | %{_desktopdir}/*.desktop | |
60 | %{_pixmapsdir}/* | |
61 | %{_datadir}/apps/%{name} |