| Summary: | Clthreads C++ libraries (needed to build and use aeolus) | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Philippe Didier <philippedidier> |
| Component: | New RPM package request | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Normal | CC: | zen25000 |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Linux | ||
| URL: | http://kokkinizita.linuxaudio.org/linuxaudio/aeolus/index.html | ||
| Whiteboard: | |||
| Source RPM: | clthreads | CVE: | |
| Status comment: | |||
| Bug Depends on: | |||
| Bug Blocks: | 4551, 8153 | ||
| Attachments: |
spec file (adapted from Mandriva's )
clthreads-2.2.1-fix-install.patch clthreads-2.4.0-linkage.patch my cleaned spec file diff between mdv imported spec file and cleaned spec file better cleaned spec file :-) diff between mdv imported spec file and cleaned spec file recleaned spec new svndiff |
||
|
Description
Philippe Didier
2012-11-19 14:46:47 CET
Created attachment 3121 [details]
spec file (adapted from Mandriva's )
Created attachment 3122 [details]
clthreads-2.2.1-fix-install.patch
first patch
Created attachment 3123 [details]
clthreads-2.4.0-linkage.patch
second patch
Philippe Didier
2012-11-19 15:00:05 CET
Blocks:
(none) =>
8153
Philippe Didier
2012-11-19 15:10:00 CET
URL:
http://www.kokkinizita.linuxaudio.org/linuxaudio/aeolus/index.html =>
http://kokkinizita.linuxaudio.org/linuxaudio/aeolus/index.html
Philippe Didier
2012-11-19 15:14:23 CET
Blocks:
(none) =>
4551 Please check Source0 and Url in your spec as I give up :\ wget http://www.kokkinizita.linuxaudio.org/linuxaudio/downloads/clthreads-2.4.0.tar.bz2 --2012-11-25 12:35:01-- http://www.kokkinizita.linuxaudio.org/linuxaudio/downloads/clthreads-2.4.0.tar.bz2 Resolving www.kokkinizita.linuxaudio.org (www.kokkinizita.linuxaudio.org)... failed: Name or service not known. wget: unable to resolve host address âwww.kokkinizita.linuxaudio.orgâ ...and lynx http://www.kokkinizita.linuxaudio.org/linuxaudio/aeolus/index.html Looking up www.kokkinizita.linuxaudio.org Unable to locate remote host www.kokkinizita.linuxaudio.org. Alert!: Unable to connect to remote host. lynx: Can't access startfile http://www.kokkinizita.linuxaudio.org/linuxaudio/aeolus/index.html Cheers, Barry CC:
(none) =>
zen25000 Ah - it don't like "www" :) http://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html http://kokkinizita.linuxaudio.org/linuxaudio/downloads/clthreads-2.4.0.tar.bz2 Hi Barry ! happy to see you again on other stuff ! Sorry for the mistake in the url ... you will find the same error inside the spec files I provide inside bug 8153 bug 8154 bug 4551 I had to change the address from the initial spec file : it was some years ago : http://kokkinizita.net/linuxaudio/downloads/index.html I stupidly added www. in the beginning of the new address (I didn't have any problem since I already have the tarballs on my harddisk) Do you want I correct and attach the spec files for the other bugs ? OK IT builds, but as apprentice "to be" I'll let you clean the spec ;)
Make sure you have rpmlint-mageia-policy installed from Cauldron repo.
rpmlint errors (run it on srpm built using bm --short-circuit -s):
clthreads.src:46: W: unversioned-explicit-obsoletes %{libname}-devel
clthreads.src: W: patch-not-applied Patch0: clthreads-2.2.1-fix-install.patch
clthreads.src: W: no-signature
clthreads.src: W: no-changelogname-tag
clthreads.src: W: name-repeated-in-summary C Clthreads
clthreads.src:3: W: mixed-use-of-spaces-and-tabs (spaces: line 3, tab: line 1)
1 packages and 0 specfiles checked; 0 errors, 6 warnings.
Also you have:
mixed use of %name %{name} etc - for vars always use %{...}
"rm -fr %buildroot" is not required in %install section
again %buildroot should be %{buildroot}
I prefer not to use tabs in e.g. %package -n %{develname} (just use single spaces)
Since "%define oldlibname" extends beyond the tabs used below the tab should be replaced with a single space (see guidelines)
I have imported the Mdv package, so now you need to checkout the package using:
mgarepo co clthreads
rename cltreads.spec to something else and copy your version to where it was.
You can then use:
$ svn diff (from within cltreads folder)
to see changes you have made from the original
When all the changes are made run
svn diff > svndiff
and attach svndiff here :)
I'm not allowed to use mgarepo co ... Nevertheless I can download the spec file from here : http://svnweb.mageia.org/packages/cauldron/ ;) I use Kompare to make a diff file I will attach my cleaned spec file (I had to remove the changelog to compare with the imported spec from mandriva) and the diff file Created attachment 3156 [details]
my cleaned spec file
cleaned spec file
Attachment 3121 is obsolete:
0 =>
1 Created attachment 3157 [details]
diff between mdv imported spec file and cleaned spec file
Philippe. Read all my comments again in #7 - I can see immediately 3 things wrong ;) Created attachment 3158 [details]
better cleaned spec file :-)
Attachment 3156 is obsolete:
0 =>
1 Created attachment 3159 [details]
diff between mdv imported spec file and cleaned spec file
Thanks for your patience and goodwilling Created attachment 3160 [details]
recleaned spec
Attachment 3158 is obsolete:
0 =>
1 Created attachment 3161 [details]
new svndiff
There were still some errors, but I fixed them. clthreads is now in Cauldron. Status:
NEW =>
RESOLVED |