From 04bca2f2a7a9fe4eea2b9584c81eadf9a83667bb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20=C5=81ukaszek?= Date: Sat, 10 Dec 2005 15:16:30 +0000 Subject: [PATCH 1/1] - initial Changed files: ape.desktop -> 1.1 ape.spec -> 1.1 --- ape.desktop | 11 ++++++++++ ape.spec | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 ape.desktop create mode 100644 ape.spec diff --git a/ape.desktop b/ape.desktop new file mode 100644 index 0000000..6220c4b --- /dev/null +++ b/ape.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=APE +Comment=Advanced Petri networks Environment +Exec=ape +Type=Application +Terminal=false +MapNotify=false +Encoding=UTF-8 +Categories=Qt;Education;Science; +Icon=ape.png +# vi: encoding=utf-8 diff --git a/ape.spec b/ape.spec new file mode 100644 index 0000000..4dc4eae --- /dev/null +++ b/ape.spec @@ -0,0 +1,60 @@ +Summary: APE - Advanced Petri nets Environment +Summary(pl): APE - Zaawansowane ¶rodowisko sieci Petriego +Name: ape +Version: 0.5.2.1 +Release: 1 +License: GPL v2 +Group: X11/Applications/Science +Source0: http://fm.ia.agh.edu.pl/download/%{name}-%{version}.tar.gz +# Source0-md5: f2649352d48bfacdaa01cb872a5ee8a3 +Source1: %{name}.desktop +URL: http://fm.ia.agh.edu.pl/ +BuildRequires: qt-devel >= 3 +BuildRequires: qmake +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +APE tool is intended to be an advanced environment for modelling and +analysis of Petri nets. The tool supports a few classes of low level +Petri nets: place-transition nets, priority nets, simple time nets +and simple time nets with priorities. + +%description -l pl +APE jest narzêdziem maj±cym dostarczaæ zaawansowane ¶rodowisko do +modelowania i analizy sieci Petriego. Wspiera kilka klas niskopoziomowych +sieci Petriego: sieci miejsc i przej¶æ, sieci priorytetowe, proste sieci +czasowe oraz proste priorytetowe sieci czasowe. + +%prep +%setup -q + +%build +export QTDIR=%{_prefix} +%{_bindir}/qmake +%{__make} \ + CFLAGS="%{rpmcflags}" \ + CXXFLAGS="%{rpmcxxflags}" + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/apps/%{name}{,examples},%{_pixmapsdir},%{_desktopdir}} + +# project is not ready yet for this +#%{__make} install \ +# DESTDIR=$RPM_BUILD_ROOT + +install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} +install %{name} $RPM_BUILD_ROOT%{_bindir} +install images/ape.png $RPM_BUILD_ROOT%{_pixmapsdir} +install aperc $RPM_BUILD_ROOT%{_datadir}/apps/%{name} +cp -af examples $RPM_BUILD_ROOT%{_datadir}/apps/%{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/* +%{_desktopdir}/*.desktop +%{_pixmapsdir}/* +%{_datadir}/apps/%{name} -- 2.43.0