3 %bcond_without static_libs # don't build static libraries
5 Summary: OpenScop: Structures and formats for polyhedral tools to talk together
6 Summary(pl.UTF-8): OpenScop - struktury i formaty do komunikacji między narzędziami wielościanowymi
12 ##Source0Download: http://icps.u-strasbg.fr/~bastoul/development/openscop/
13 #Source0: http://icps.u-strasbg.fr/~bastoul/development/openscop/docs/%{name}-%{version}.tar.gz
14 #Source0Download: https://github.com/periscop/openscop/releases
15 Source0: https://github.com/periscop/openscop/releases/download/%{version}/%{name}-%{version}.tar.gz
16 # Source0-md5: 21b88885dd315da02b3b054c2ce1032e
17 Patch0: %{name}-missing.patch
18 Patch1: %{name}-info.patch
19 URL: http://icps.u-strasbg.fr/~bastoul/development/openscop/
20 BuildRequires: autoconf >= 2.53
21 BuildRequires: automake
22 BuildRequires: gmp-devel
23 BuildRequires: libtool
24 BuildRequires: rpm-pythonprov
25 BuildRequires: texinfo
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 OpenScop is an open specification that defines a file format and a set
30 of data structures to represent a static control part (SCoP for
31 short), i.e., a program part that can be represented in the polyhedral
32 model. The goal of OpenScop is to provide a common interface to
33 various polyhedral compilation tools in order to simplify their
36 %description -l pl.UTF-8
37 OpenScop to otwarta specyfikacja definiująca formaty plików oraz zbiór
38 struktur danych do reprezentacji części sterowania statycznego (w
39 skrócie SCoP - Static Control Part), czyli części programu, która może
40 być reprezentowana w modelu wielościanowym. Celem biblioteki OpenScop
41 jest zapewnienie wspólnego interfejsu do różnych narzędzi
42 kompilujących opatych na wielościanach, aby uprościć ich interakcję.
45 Summary: Header files for OpenScop library
46 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki OpenScop
47 Group: Development/Libraries
48 Requires: %{name} = %{version}-%{release}
52 Header files for OpenScop library.
54 %description devel -l pl.UTF-8
55 Pliki nagłówkowe biblioteki OpenScop.
58 Summary: Static OpenScop library
59 Summary(pl.UTF-8): Statyczna biblioteka OpenScop
60 Group: Development/Libraries
61 Requires: %{name}-devel = %{version}-%{release}
64 Static OpenScop library.
66 %description static -l pl.UTF-8
67 Statyczna biblioteka OpenScop.
80 --disable-silent-rules
85 rm -rf $RPM_BUILD_ROOT
88 DESTDIR=$RPM_BUILD_ROOT
91 rm -rf $RPM_BUILD_ROOT
93 %post -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
96 %post devel -p /sbin/postshell
97 -/usr/sbin/fix-info-dir -c %{_infodir}
99 %postun devel -p /sbin/postshell
100 -/usr/sbin/fix-info-dir -c %{_infodir}
103 %defattr(644,root,root,755)
104 %doc AUTHORS ChangeLog README THANKS
105 %attr(755,root,root) %{_libdir}/libosl.so.*.*.*
106 %attr(755,root,root) %ghost %{_libdir}/libosl.so.0
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_libdir}/libosl.so
114 %{_libdir}/osl/osl-config.cmake
115 %{_infodir}/openscop.info*
118 %defattr(644,root,root,755)