]> git.pld-linux.org Git - SPECS.git/blob - osl.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / osl.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # don't build static libraries
4
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
7 Name:           osl
8 Version:        0.9.2
9 Release:        1
10 License:        BSD
11 Group:          Libraries
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)
27
28 %description
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
34 interaction. 
35
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ę.
43
44 %package devel
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}
49 Requires:       gmp-devel
50
51 %description devel
52 Header files for OpenScop library.
53
54 %description devel -l pl.UTF-8
55 Pliki nagłówkowe biblioteki OpenScop.
56
57 %package static
58 Summary:        Static OpenScop library
59 Summary(pl.UTF-8):      Statyczna biblioteka OpenScop
60 Group:          Development/Libraries
61 Requires:       %{name}-devel = %{version}-%{release}
62
63 %description static
64 Static OpenScop library.
65
66 %description static -l pl.UTF-8
67 Statyczna biblioteka OpenScop.
68
69 %prep
70 %setup -q
71 %patch0 -p1
72 %patch1 -p1
73
74 %build
75 %{__libtoolize}
76 %{__aclocal} -I m4
77 %{__autoconf}
78 %{__automake}
79 %configure \
80         --disable-silent-rules
81
82 %{__make}
83
84 %install
85 rm -rf $RPM_BUILD_ROOT
86
87 %{__make} install \
88         DESTDIR=$RPM_BUILD_ROOT
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %post   -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
95
96 %post   devel -p /sbin/postshell
97 -/usr/sbin/fix-info-dir -c %{_infodir}
98
99 %postun devel -p /sbin/postshell
100 -/usr/sbin/fix-info-dir -c %{_infodir}
101
102 %files
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
107
108 %files devel
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_libdir}/libosl.so
111 %{_libdir}/libosl.la
112 %{_includedir}/osl
113 %dir %{_libdir}/osl
114 %{_libdir}/osl/osl-config.cmake
115 %{_infodir}/openscop.info*
116
117 %files static
118 %defattr(644,root,root,755)
119 %{_libdir}/libosl.a
This page took 0.923708 seconds and 3 git commands to generate.