SPECS: ape.spec (NEW) - initial

prism prism at pld-linux.org
Sat Dec 10 16:16:36 CET 2005


Author: prism                        Date: Sat Dec 10 15:16:35 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

---- Files affected:
SPECS:
   ape.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/ape.spec
diff -u /dev/null SPECS/ape.spec:1.1
--- /dev/null	Sat Dec 10 16:16:36 2005
+++ SPECS/ape.spec	Sat Dec 10 16:16:30 2005
@@ -0,0 +1,71 @@
+# $Revision$, $Date$
+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}
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/12/10 15:16:30  prism
+- initial
+
================================================================



More information about the pld-cvs-commit mailing list