]> git.pld-linux.org Git - packages/ape.git/blob - ape.spec
- massive change ( validate errors warrings from desktop-file-validate)
[packages/ape.git] / ape.spec
1 Summary:        APE - Advanced Petri nets Environment
2 Summary(pl.UTF-8):      APE - Zaawansowane środowisko sieci Petriego
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
22 %description -l pl.UTF-8
23 APE jest narzędziem mającym dostarczać zaawansowane środowisko do
24 modelowania i analizy sieci Petriego. Wspiera kilka klas
25 niskopoziomowych sieci Petriego: sieci miejsc i przejść, sieci
26 priorytetowe, proste sieci czasowe oraz proste priorytetowe sieci
27 czasowe.
28
29 %prep
30 %setup -q
31
32 %build
33 export QTDIR=%{_prefix}
34 qmake
35 %{__make} \
36         CFLAGS="%{rpmcflags}" \
37         CXXFLAGS="%{rpmcxxflags}"
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/apps/%{name},%{_pixmapsdir},%{_desktopdir}}
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}
This page took 0.062313 seconds and 3 git commands to generate.