]> git.pld-linux.org Git - packages/why3.git/commitdiff
- package examples auto/th/why3-0.73-2
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 16 May 2013 12:06:14 +0000 (14:06 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 16 May 2013 12:06:14 +0000 (14:06 +0200)
- rel 2

why3.spec

index 53c1153dc953d875e404da609fdfa358f2ec2bd6..d1e2dc0089b19a6ffbeee42feb529410c8b02df5 100644 (file)
--- a/why3.spec
+++ b/why3.spec
@@ -1,7 +1,7 @@
 Summary:       Software verification platform
 Name:          why3
 Version:       0.73
-Release:       1
+Release:       2
 Group:         Applications
 License:       LGPLv2 with exceptions
 Source0:       https://gforge.inria.fr/frs/download.php/31257/%{name}-%{version}.tar.gz
@@ -31,6 +31,14 @@ library of proof task transformations that can be chained to produce a
 suitable input for a large set of theorem provers, including SMT
 solvers, TPTP provers, as well as interactive proof assistants.
 
+%package examples
+Summary:       Example problems for why3
+Group:         Applications
+Requires:      %{name} = %{version}-%{release}
+
+%description examples
+Example problems for why3.
+
 %prep
 %setup -q
 
@@ -42,6 +50,7 @@ solvers, TPTP provers, as well as interactive proof assistants.
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/%{_examplesdir}/%{name}-%{version}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
@@ -50,6 +59,8 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_datadir}/gtksourceview-2.0
 mv $RPM_BUILD_ROOT%{_datadir}/%{name}/lang $RPM_BUILD_ROOT%{_datadir}/gtksourceview-2.0/language-specs
 
+cp -a examples/* $RPM_BUILD_ROOT/%{_examplesdir}/%{name}-%{version}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -60,3 +71,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/%{name}
 %{_datadir}/gtksourceview-2.0/language-specs/why.lang
 %{_libdir}/%{name}
+
+%files examples
+%defattr(644,root,root,755)
+%{_examplesdir}/%{name}-%{version}
This page took 0.084557 seconds and 4 git commands to generate.