]> git.pld-linux.org Git - packages/ape.git/commitdiff
- initial AC-branch AC-STABLE auto/ac/ape-0_5_2_1-1
authorMichał Łukaszek <mlukaszek+pld@gmail.com>
Sat, 10 Dec 2005 15:16:30 +0000 (15:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ape.desktop -> 1.1
    ape.spec -> 1.1

ape.desktop [new file with mode: 0644]
ape.spec [new file with mode: 0644]

diff --git a/ape.desktop b/ape.desktop
new file mode 100644 (file)
index 0000000..6220c4b
--- /dev/null
@@ -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 (file)
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}
This page took 0.084383 seconds and 4 git commands to generate.