Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 575879 Details for
Bug 810059
Review request: opencl-utils - Useful OpenCL tools and utilities
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
My idea how to simplify the package structure.
02-draft-simplified-package-struc.patch (text/plain), 3.58 KB, created by
Alec Leamas
on 2012-04-07 07:42:16 UTC
(
hide
)
Description:
My idea how to simplify the package structure.
Filename:
MIME Type:
Creator:
Alec Leamas
Created:
2012-04-07 07:42:16 UTC
Size:
3.58 KB
patch
obsolete
>Draft: simplified package structure > >From: Alec Leamas <leamas.alec@gmail.com> > >Making simpler packages, excluding non-needed sources. >--- > > opencl-utils.spec | 49 +++++++++++-------------------------------------- > 1 files changed, 11 insertions(+), 38 deletions(-) > > >diff --git a/opencl-utils.spec b/opencl-utils.spec >index 5f80113..a013f96 100644 >--- a/opencl-utils.spec >+++ b/opencl-utils.spec >@@ -21,29 +21,16 @@ Patch0: %{name}-correctOpenCLpointers.patch > > BuildRequires: mesa-libGL-devel > >-%package CLRun >-Summary: Dynamic loader for OpenCL >- > %package devel > Summary: Devel files for OpenCL Utils >- >-%package CLRun-devel >-Summary: Devel files for OpenCL >-Requires: %{name}-devel >-Requires: %{name}-CLRun = %{version}-%{release} >+Requires: %{name} = %{version}-%{release} > > %description > #Modified from the homepage > OpenCL Utils is a project that aims to create various tools and utilities to > make the use of OpenCL more useful and efficient, such as: useful functions, >-optimization hints and common kernel templates. >- >-%description CLRun >-CLRun is a application that allows for dynamic loading of OpenCL, which is a >-part of OpenCL Utils. >-OpenCL Utils is a project that aims to create various tools and utilities to >-make the use of OpenCL more useful and efficient, such as: useful functions, >-optimization hints and common kernel templates. >+optimization hints and common kernel templates. This package holds only >+the CLRun library that allows for dynamic loading of OpenCL > > %description devel > This package includes the headers files for OpenCL Utils. >@@ -51,12 +38,6 @@ OpenCL Utils is a project that aims to create various tools and utilities to > make the use of OpenCL more useful and efficient, such as: useful functions, > optimization hints and common kernel templates. > >-%description CLRun-devel >-This package include source code for CLRun, which is a part of OpenCL Utils. >-OpenCL Utils is a project that aims to create various tools and utilities to >-make the use of OpenCL more useful and efficient, such as: useful functions, >-optimization hints and common kernel templates. >- > %prep > %setup -q -n %{name} > %patch0 -p0 >@@ -70,35 +51,27 @@ make clean > env CFLAGS="%{optflags} -fPIC -Wl,-soname=%{soname}" make > > %install >-mkdir -p %{buildroot}%{_libdir} %{buildroot}%{_datadir}/%{name} >-install -p -D -m 0644 src/clrun/Makefile %{buildroot}%{_includedir}/%{name}/clrun/Makefile >-install -p -D -m 0644 src/clrun/*.c %{buildroot}%{_includedir}/%{name}/clrun >-install -p -D -m 0644 src/clrun/*.h %{buildroot}%{_includedir}/%{name}/clrun >-install -p -D -m 0755 src/clrun/*.pl %{buildroot}%{_includedir}/%{name}/clrun >-cp -r src/include %{buildroot}%{_includedir}/%{name}/ >-cp -r examples %{buildroot}%{_datadir}/%{name}/examples >+mkdir -p %{buildroot}%{_includedir}/%{name} >+cp -ar src/include/* %{buildroot}%{_includedir}/%{name}/ > #install the library and the links >+mkdir -p %{buildroot}%{_libdir} > install -p -D -m 0755 src/clrun/libclrun.so %{buildroot}%{_libdir}/%{soname} > cd %{buildroot}%{_libdir} > soname=%{soname} > ln -sf $soname ${soname%%.*} > ln -sf $soname ${soname%%.*.*} > >-%files CLRun >+%files >+%doc examples > %{_libdir}/*.so.* > > %files devel >-%{_includedir}/%{name}/include/CL >- >-%files CLRun-devel >-%{_includedir}/%{name}/clrun/ >-%{_includedir}/%{name}/include/clrun.h >-%{_datadir}/%{name}/examples >+%{_includedir}/%{name} > %{_libdir}/*.so > >-%post CLRun -p /sbin/ldconfig >+%post -p /sbin/ldconfig > >-%postun CLRun -p /sbin/ldconfig >+%postun -p /sbin/ldconfig > > %changelog > * Thu Apr 5 2012 Jeremy Newton <alexjnewt@hotmail.com> - 0-3.svn16
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 810059
:
575645
|
575878
| 575879 |
575880