Re: [CentOS] Creating Spec file for RPM

2017-11-23 Thread Antonio Trande
On 23/11/2017 19:24, Joseph L. Casale wrote:
> -Original Message-
> From: CentOS [mailto:centos-boun...@centos.org] On Behalf Of Andrew W
> Sent: Thursday, November 23, 2017 10:39 AM
> To: centos@centos.org
> Subject: [CentOS] Creating Spec file for RPM
>  
>> Im trying to learn how to create RPMs but am a little confused by the
>> spec file.
>>
>> Im trying to package up some Python scripts, rather than binary files,
>> and I want them to be installed in a subdirectory under /usr/local which
>> I shall refer to as /usr/local/X
>>
>> Ive put the scripts in a tarball under /home/me/X/RPM/SOURCES
> 
> You are using rpm-build and not building as root, right?
> 
>> but Im getting terribly confused over what to put in theĀ  %build
>> %install and %files sections
>>
>>
>> If I set $RPM_BUILD_ROOT to /home/me/X/RPM/temp then put
>>
>> %prep
>>
>> %setup -q
>>
>> that will unpack the tarball, yes?, but where to, /home/me/X/RPM/temp ?
>>
>> how would I then tell it to move the files I want from there into
>> /usr/local/X and set appropriate permissions on them? The examples
>> online all assume you have a makefile with a make install target, could
>> I simply use the cp command under the %install section? But where am I
>> copying from and to?
> 

No special permissions.
Use 'rpmbuild' tool that works in a dedicated directory in your home.

See https://wiki.centos.org/HowTos/SetupRpmBuildEnvironment

-- 
---
Antonio Trande
Fedora Project
mailto 'sagitter at fedoraproject dot org'
GPG key: 0x5E212EE1D35568BE
GPG key server: https://keys.fedoraproject.org/
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mailing list mail from @yahoo addresses

2016-11-09 Thread Antonio Trande
On 11/09/2016 09:21 PM, Phil Wyett wrote:
> On Wed, 2016-11-09 at 12:16 -0800, Bart Schaefer wrote:
>> For what it's worth, I just received the auto-notification of having been
>> kicked off the list for excessive bounces.  So gmail is honoring Yahoo's
>> DMARC.
> 
> Hi,
> 
> Your not the only one. I got it a few hours ago.
> 
> Regards
> 
> Phil
> 
> 

Me too.
Must we do something about?

-- 
---
Antonio Trande
mailto: sagitter 'at' fedoraproject 'dot' org
https://fedoraproject.org/wiki/User:Sagitter
GPG Key: 0x6CE6D08A
Check on https://keys.fedoraproject.org/



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to build rpm

2016-07-29 Thread Antonio Trande
On 07/29/2016 06:12 AM, qw wrote:
> Hi,
> 
> For software development, projects are built through makefile. After 
> building, I can run binary program. rpm is more convenient. Is there some 
> tool that can build rpm?
> 
> Thanks!
> 
> Regards
> 
> Andrew
> ___

Detailed guidelines to create a RPM:
https://fedoraproject.org/wiki/How_to_create_an_RPM_package

-- 
---
Antonio Trande
mailto: sagitter 'at' fedoraproject 'dot' org
http://fedoraos.wordpress.com/
https://fedoraproject.org/wiki/User:Sagitter
GPG Key: 0x6CE6D08A
Check on https://keys.fedoraproject.org/



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Any idea how to install PDSH on CentOS 7?

2015-11-19 Thread Antonio Trande
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 11/19/2015 12:56 PM, Julius Lerm wrote:
> Does anyone have any idea how to install PDSH on CentOS 7? PDSH
> seems to be completely missing from EPEL now, for CentOS 7.
> 
> Is there another repository available where we can get PDSH?
> 
> Thanks,
> 
> Julius ___


It seems that PDSH has never been packaged for EPEL7 or latest build
is very very old.
Try to contact the package maintainer: Ben Woodard 

- -- 
Antonio Trande

mailto: sagitter 'at' fedoraproject 'dot' org
http://fedoraos.wordpress.com/
https://fedoraproject.org/wiki/User:Sagitter
GPG Key: 0x565E653C
Check on https://keys.fedoraproject.org/
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJWTcpEAAoJEF5tK7VWXmU8uGAIAL4Eh9OgYTdztaSbpKvEnqg3
f67UuQ0L62X7ICNjUMpMi61hxuEhR/YH4uUo4fsbce3Ptm0Caixyq0Lp+T8x1RlR
dJSijbfUcHCODhaAJ6VWPTbq0eXdl2CpGwO2xX0daLb8nc1q2F5Ekpq3BpC4UjcM
S6F/QWmBIqrX1PXQLwsLIq5MhUfqtfWJob1u8Q16JanKVds984VXvYxLh4CFEeEL
si5DIrIAGI+tBdBWbuzQGAkKRXbJSQoSR9ZOhir12KNVVb5htzpfptN+ppDF2RSg
quaTVPrbRHQOFvlvfdFY1E5rnAoV/sfC0kPrJOwArbyrEO+Bm7fhtfn0BpMr+sQ=
=39Lj
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos