Bug 8152 - Clthreads C++ libraries (needed to build and use aeolus)
Summary: Clthreads C++ libraries (needed to build and use aeolus)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: New RPM package request (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL: http://kokkinizita.linuxaudio.org/lin...
Whiteboard:
Keywords:
Depends on:
Blocks: 4551 8153
  Show dependency treegraph
 
Reported: 2012-11-19 14:46 CET by Philippe Didier
Modified: 2012-11-25 22:35 CET (History)
1 user (show)

See Also:
Source RPM: clthreads
CVE:
Status comment:


Attachments
spec file (adapted from Mandriva's ) (2.72 KB, text/plain)
2012-11-19 14:47 CET, Philippe Didier
Details
clthreads-2.2.1-fix-install.patch (880 bytes, patch)
2012-11-19 14:49 CET, Philippe Didier
Details | Diff
clthreads-2.4.0-linkage.patch (406 bytes, patch)
2012-11-19 14:49 CET, Philippe Didier
Details | Diff
my cleaned spec file (1.66 KB, text/plain)
2012-11-25 15:18 CET, Philippe Didier
Details
diff between mdv imported spec file and cleaned spec file (3.00 KB, text/plain)
2012-11-25 15:20 CET, Philippe Didier
Details
better cleaned spec file :-) (1.65 KB, text/plain)
2012-11-25 16:27 CET, Philippe Didier
Details
diff between mdv imported spec file and cleaned spec file (3.04 KB, patch)
2012-11-25 16:28 CET, Philippe Didier
Details | Diff
recleaned spec (1.66 KB, text/x-rpm-spec)
2012-11-25 16:50 CET, Philippe Didier
Details
new svndiff (3.19 KB, patch)
2012-11-25 16:51 CET, Philippe Didier
Details | Diff

Description Philippe Didier 2012-11-19 14:46:47 CET
needed to build aeolus
bug 4551

I will attach
spec file
patches
Comment 1 Philippe Didier 2012-11-19 14:47:41 CET
Created attachment 3121 [details]
spec file (adapted from Mandriva's )
Comment 2 Philippe Didier 2012-11-19 14:49:04 CET
Created attachment 3122 [details]
clthreads-2.2.1-fix-install.patch

first patch
Comment 3 Philippe Didier 2012-11-19 14:49:56 CET
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

Comment 4 Barry Jackson 2012-11-25 13:41:34 CET
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

Comment 6 Philippe Didier 2012-11-25 14:20:47 CET
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 ?
Comment 7 Barry Jackson 2012-11-25 14:22:51 CET
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 :)
Comment 8 Philippe Didier 2012-11-25 15:14:09 CET
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
Comment 9 Philippe Didier 2012-11-25 15:18:04 CET
Created attachment 3156 [details]
my cleaned spec file

cleaned spec file

Attachment 3121 is obsolete: 0 => 1

Comment 10 Philippe Didier 2012-11-25 15:20:54 CET
Created attachment 3157 [details]
diff between mdv imported spec file and cleaned spec file
Comment 12 Barry Jackson 2012-11-25 15:32:22 CET
Philippe.
Read all my comments again in #7 - I can see immediately 3 things wrong ;)
Comment 13 Philippe Didier 2012-11-25 16:27:26 CET
Created attachment 3158 [details]
better cleaned spec file  :-)

Attachment 3156 is obsolete: 0 => 1
Attachment 3157 is obsolete: 0 => 1

Comment 14 Philippe Didier 2012-11-25 16:28:09 CET
Created attachment 3159 [details]
diff between mdv imported spec file and cleaned spec file
Comment 15 Philippe Didier 2012-11-25 16:28:53 CET
Thanks for your patience and goodwilling
Comment 16 Philippe Didier 2012-11-25 16:50:58 CET
Created attachment 3160 [details]
recleaned spec

Attachment 3158 is obsolete: 0 => 1
Attachment 3159 is obsolete: 0 => 1

Comment 17 Philippe Didier 2012-11-25 16:51:45 CET
Created attachment 3161 [details]
new svndiff
Comment 18 Barry Jackson 2012-11-25 22:35:09 CET
There were still some errors, but I fixed them.

clthreads is now in Cauldron.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.