avatar
Rosa has added 12586a78e4
initial: add from SRPM
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,2 @@
1
sources:
2
  "cloog-parma-0.16.1.tar.gz": 1c30216ca3d1e1d1feb15203f6d1b48d17faeb38
... ... --- /dev/null
... ... +++ b/cloog.spec
... ... @@ -0,0 +1,179 @@
1
%define 	name		cloog-ppl
2
%define		sourcename	cloog-parma
3
%define		version		0.16.1
4
%define		release		%mkrel 1
5
%define		major		1
6
%define		libname		%mklibname cloog %major
7
%define		libnamedev	%mklibname -d cloog
8
9
Name:           %{name}
10
Version:        %{version}
11
Release:        %{release}
12
Summary:        The Chunky Loop Generator
13
14
Group:          System/Libraries
15
License:        GPLv2+
16
URL:            http://www.cloog.org
17
Source0:        ftp://gcc.gnu.org/pub/gcc/infrastructure/%{sourcename}-%{version}.tar.gz
18
BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
19
BuildRequires:  ppl-devel >= 0.11
20
BuildRequires:  ppl_c-devel >= 0.11
21
BuildRequires:	gmp-devel
22
BuildRequires:	texinfo
23
Requires(post): info-install
24
Requires(preun): info-install
25
26
%description
27
CLooG is a software which generates loops for scanning Z-polyhedra. That is,
28
CLooG finds the code or pseudo-code where each integral point of one or more
29
parametrized polyhedron or parametrized polyhedra union is reached. CLooG is
30
designed to avoid control overhead and to produce a very efficient code.
31
32
%package -n %{libname}
33
Summary: Parma Polyhedra Library backend (ppl) based version of the Cloog binaries
34
Group: Development/C
35
36
%description -n %{libname}
37
The dynamic shared libraries of the Chunky Loop Generator
38
39
%package -n %{libnamedev}
40
Summary:        Development tools for the ppl based version of Chunky Loop Generator
41
Group:          Development/C
42
Requires:       %{libname} = %{version}-%{release}
43
Requires:	gmp-devel
44
Requires:       ppl-devel >= 0.11
45
Requires:       ppl_c-devel >= 0.11
46
Provides: 	%{name}-devel = %{version}-%{release}
47
Provides:	lib%{name}-devel = %{version}-%{release}
48
%description -n %{libnamedev}
49
The header files and dynamic shared libraries of the Chunky Loop Generator.
50
51
%prep
52
%setup -q -n %{sourcename}-%{version}
53
54
%build
55
%configure2_5x --with-ppl=system --disable-static
56
%make
57
58
%install
59
rm -rf %{buildroot}
60
%makeinstall_std
61
rm -rf %{buildroot}/%{_infodir}/dir %{buildroot}/%{_libdir}/*.la
62
63
%clean
64
rm -rf %{buildroot}
65
66
%if %mdkversion < 200900 
67
%post -n %{libname} -p /sbin/ldconfig 
68
%endif 
69
%if %mdkversion < 200900 
70
%postun -n %{libname} -p /sbin/ldconfig 
71
%endif 
72
73
%files 
74
%defattr(-,root,root,-)
75
# %{_infodir}/cloog.info*
76
%{_bindir}/cloog
77
78
%files -n %{libname}
79
%defattr(-,root,root,-)
80
%{_libdir}/libcloog-ppl.so.%{major}*
81
82
%files -n %{libnamedev}
83
%defattr(-,root,root,-)
84
%{_includedir}/cloog
85
%{_libdir}/libcloog-ppl.so
86
%{_libdir}/pkgconfig/cloog-ppl.pc
87
88
%post -n %{libname}
89
%_install_info %{name}.info
90
91
%preun -n %{libname}
92
%_remove_install_info %{name}.info
93
94
95
%changelog
96
* Sun Apr 10 2011 Paulo Andrade <pcpa@mandriva.com.br> 0.16.1-1mdv2011.0
97
+ Revision: 652216
98
- Update to newer version
99
100
* Tue Mar 15 2011 Stéphane Téletchéa <steletch@mandriva.org> 0.15.9-1
101
+ Revision: 645073
102
- update to new version 0.15.9
103
104
* Mon Dec 20 2010 Funda Wang <fwang@mandriva.org> 0.15.8-2mdv2011.0
105
+ Revision: 623247
106
- fix file list
107
108
  + Oden Eriksson <oeriksson@mandriva.com>
109
    - rebuild
110
111
* Mon Feb 22 2010 Emmanuel Andry <eandry@mandriva.org> 0.15.8-1mdv2010.1
112
+ Revision: 509626
113
- New version 0.15.8
114
- fix URL ans SOURCE url
115
116
* Wed Feb 10 2010 Funda Wang <fwang@mandriva.org> 0.15.7-4mdv2010.1
117
+ Revision: 503518
118
- rebuild for new gmp
119
120
* Wed Jan 06 2010 Emmanuel Andry <eandry@mandriva.org> 0.15.7-3mdv2010.1
121
+ Revision: 486799
122
- add missing provides for devel package
123
124
* Tue Aug 18 2009 Christophe Fergeau <cfergeau@mandriva.com> 0.15.7-2mdv2010.0
125
+ Revision: 417805
126
- clean up librarification (don't put executable and info files in the library package)
127
- make sure the (badly named) libcloog1 package gets nicely upgraded by this one(otherwise we get file conflicts on libcloog.so.0.0.0)
128
129
* Thu Aug 13 2009 Emmanuel Andry <eandry@mandriva.org> 0.15.7-1mdv2010.0
130
+ Revision: 416105
131
- New version 0.15.7
132
- check major
133
- fix wrong major
134
135
* Wed May 20 2009 Christophe Fergeau <cfergeau@mandriva.com> 0.15.3-1mdv2010.0
136
+ Revision: 377969
137
- Fix "Group"
138
- import cloog-ppl
139
140
141
* Thu Apr 09 2009 Dodji Seketeli <dodji@redhat.com> - 0.15-0.8.git1334c
142
- Update to new upstream git snapshot
143
- Drop the cloog.info patch as now upstreamed
144
- No need to add an argument to the --with-ppl
145
  configure switch anymore as new upstream fixed this
146
147
* Wed Apr 08 2009 Dodji Seketeli <dodji@redhat.org> - 0.15-0.7.gitad322
148
- Add BuildRequire texinfo needed to regenerate the cloog.info doc
149
150
* Wed Apr 08 2009 Dodji Seketeli <dodji@redhat.org> - 0.15-0.6.gitad322
151
- Remove the cloog.info that is in the tarball
152
  That forces the regeneration of a new cloog.info with
153
  suitable INFO_DIR_SECTION, so that install-info doesn't cry
154
  at install time.
155
- Slightly changed the patch to make install-info actually
156
  install the cloog information in the info directory file.
157
- Run install-info --delete in %%preun, not in %%postun,
158
  otherwise the info file is long gone with we try to
159
  run install-info --delete on it.
160
161
* Mon Apr 06 2009 Dodji Seketeli <dodji@redhat.org> - 0.15-0.5.gitad322
162
- Added patch to fix #492794
163
- Need to add an argument to the --with-ppl switch now.
164
165
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-0.4.gitad322
166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
167
168
* Tue Feb 10 2009 Dodji Seketeli <dodji@redhat.org> 0.15-0.3.gitad322
169
- Updated to upstream git hash foo
170
- Generate cloog-ppl and cloog-ppl-devel packages instead of cloog and
171
  cloog-devel.
172
173
* Mon Dec 01 2008 Dodji Seketeli <dodji@redhat.com> 0.15-0.2.git57a0bc
174
- Updated to upstream git hash 57a0bcd97c08f44a983385ca0389eb624e66e3c7
175
- Remove the -fomit-frame-pointer compile flag
176
177
* Wed Sep 24 2008 Dodji Seketeli <dodji@redhat.com> 0.15-0.1.git95753
178
- Initial version from git hash 95753d83797fa9a389c0c07f7cf545e90d7867d7
179

Comments