rpm editor for MasterPdfEditor

jd1008 jd1008 at gmail.com
Wed Oct 29 02:27:50 UTC 2014


On 10/28/2014 07:19 PM, poma wrote:
> On 28.10.2014 20:01, Mickey wrote:
>> On 10/28/2014 10:40 AM, Doug wrote:
>>> On 10/28/2014 07:39 AM, Ranjan Maitra wrote:
>>>> Hi,
>>>>
>>>> Is there a fedora rpm available/repo for MasterPdfEditor?
>>>>
>>>> http://code-industry.net/pdfeditor.php
>>>>
>>>> I would like to try this out, but thought that I would ask around for
>>>> a rpm first before installing manually. Searching on DDG did not
>>>> yield a definitive answer.
>>>>
>>>> Many thanks,
>>>> Ranjan
>>>>
>>>>
>>>>
>>> There are rpms for 32-bit and 64-bit systems. I don't think they're
>>> system specific.They're not even zipped. Just download the rpm you
>>> need and install it.
>>>
>>>  From a root prompt, "rpm -Uvh filename.rpm" without the quote marks,
>>> of course. For filename, you put the complete downloaded filename,
>>> including the
>>> dot-version number, if it comes with one.
>>>
>>> Post back if you install it, and tell us all how you like it,or if you
>>> had any trouble.
>>>
>>> --doug
>> I downloaded from http://code-industry.net/free-pdf-editor.php  the rpm
>> at bottom of page and tried to install and got many Errors, how do I fix
>> this ??
>>
>>
>> [root at localhost mickey]# yum -y localinstall
>> master-pdf-editor-2.1.00.i386.rpm
>> Loaded plugins: langpacks, refresh-packagekit, versionlock
>> Examining master-pdf-editor-2.1.00.i386.rpm: master-pdf-editor-2.1.00-2.i386
>> Marking master-pdf-editor-2.1.00.i386.rpm to be installed
>> Resolving Dependencies
>> --> Running transaction check
>> ---> Package master-pdf-editor.i386 0:2.1.00-2 will be installed
>> --> Finished Dependency Resolution
>> http://repos.fedorapeople.org/repos/spot/chromium-stable/fedora-20/i386/repodata/repomd.xml:
>> [Errno 14] HTTPS Error 404 - Not Found
>> Trying other mirror.
>>
>> Dependencies Resolved
>>
>> =============================================================================================================================================================
>>    Package                                Arch Version
>> Repository                                           Size
>> =============================================================================================================================================================
>> Installing:
>>    master-pdf-editor                      i386 2.1.00-2
>> /master-pdf-editor-2.1.00.i386                       20 M
>>
>> Transaction Summary
>> =============================================================================================================================================================
>> Install  1 Package
>>
>> Total size: 20 M
>> Installed size: 20 M
>> Downloading packages:
>> Running transaction check
>> Running transaction test
>>
>>
>> Transaction check error:
>>     file / from install of master-pdf-editor-2.1.00-2.i386 conflicts with
>> file from package filesystem-3.2-19.fc20.i686
>>     file /opt from install of master-pdf-editor-2.1.00-2.i386 conflicts
>> with file from package filesystem-3.2-19.fc20.i686
>>     file /usr from install of master-pdf-editor-2.1.00-2.i386 conflicts
>> with file from package filesystem-3.2-19.fc20.i686
>>     file /usr/share from install of master-pdf-editor-2.1.00-2.i386
>> conflicts with file from package filesystem-3.2-19.fc20.i686
>>     file /usr/share/applications from install of
>> master-pdf-editor-2.1.00-2.i386 conflicts with file from package
>> filesystem-3.2-19.fc20.i686
>>     file /usr/share/doc from install of master-pdf-editor-2.1.00-2.i386
>> conflicts with file from package filesystem-3.2-19.fc20.i686
>>     file /usr/share/icons from install of master-pdf-editor-2.1.00-2.i386
>> conflicts with file from package filesystem-3.2-19.fc20.i686
>>     file /usr/share/icons/hicolor from install of
>> master-pdf-editor-2.1.00-2.i386 conflicts with file from package
>> fedora-logos-21.0.1-1.fc20.i686
>>     file /usr/share/icons/hicolor/16x16/apps from install of
>> master-pdf-editor-2.1.00-2.i386 conflicts with file from package
>> fedora-logos-21.0.1-1.fc20.i686
>>     file /usr/share/icons/hicolor/32x32/apps from install of
>> master-pdf-editor-2.1.00-2.i386 conflicts with file from package
>> fedora-logos-21.0.1-1.fc20.i686
>>     file /usr/share/icons/hicolor/16x16 from install of
>> master-pdf-editor-2.1.00-2.i386 conflicts with file from package
>> fedora-logos-21.0.1-1.fc20.i686
>>     file /usr/share/icons/hicolor/32x32 from install of
>> master-pdf-editor-2.1.00-2.i386 conflicts with file from package
>> fedora-logos-21.0.1-1.fc20.i686
>>     file /usr/share/icons/hicolor from install of
>> master-pdf-editor-2.1.00-2.i386 conflicts with file from package
>> hicolor-icon-theme-0.13-1.fc20.noarch
>>     file /usr/share/icons/hicolor/128x128 from install of
>> master-pdf-editor-2.1.00-2.i386 conflicts with file from package
>> hicolor-icon-theme-0.13-1.fc20.noarch
>>     file /usr/share/icons/hicolor/128x128/apps from install of
>> master-pdf-editor-2.1.00-2.i386 conflicts with file from package
>> hicolor-icon-theme-0.13-1.fc20.noarch
>>     file /usr/share/icons/hicolor/16x16/apps from install of
>> master-pdf-editor-2.1.00-2.i386 conflicts with file from package
>> hicolor-icon-theme-0.13-1.fc20.noarch
>>     file /usr/share/icons/hicolor/32x32/apps from install of
>> master-pdf-editor-2.1.00-2.i386 conflicts with file from package
>> hicolor-icon-theme-0.13-1.fc20.noarch
>>     file /usr/share/icons/hicolor/64x64/apps from install of
>> master-pdf-editor-2.1.00-2.i386 conflicts with file from package
>> hicolor-icon-theme-0.13-1.fc20.noarch
>>     file /usr/share/icons/hicolor/16x16 from install of
>> master-pdf-editor-2.1.00-2.i386 conflicts with file from package
>> hicolor-icon-theme-0.13-1.fc20.noarch
>>     file /usr/share/icons/hicolor/32x32 from install of
>> master-pdf-editor-2.1.00-2.i386 conflicts with file from package
>> hicolor-icon-theme-0.13-1.fc20.noarch
>>     file /usr/share/icons/hicolor/64x64 from install of
>> master-pdf-editor-2.1.00-2.i386 conflicts with file from package
>> hicolor-icon-theme-0.13-1.fc20.noarch
>>     file /usr/share/icons/hicolor/16x16/apps from install of
>> master-pdf-editor-2.1.00-2.i386 conflicts with file from package
>> anaconda-20.25.16-1.fc20.i686
>>     file /usr/share/icons/hicolor/32x32/apps from install of
>> master-pdf-editor-2.1.00-2.i386 conflicts with file from package
>> anaconda-20.25.16-1.fc20.i686
>>     file /usr/share/icons/hicolor/16x16 from install of
>> master-pdf-editor-2.1.00-2.i386 conflicts with file from package
>> anaconda-20.25.16-1.fc20.i686
>>     file /usr/share/icons/hicolor/32x32 from install of
>> master-pdf-editor-2.1.00-2.i386 conflicts with file from package
>> anaconda-20.25.16-1.fc20.i686
>>     file /usr/share/icons/hicolor from install of
>> master-pdf-editor-2.1.00-2.i386 conflicts with file from package
>> xsane-0.999-12.fc20.i686
>>     file /usr/share/icons/hicolor/16x16/apps from install of
>> master-pdf-editor-2.1.00-2.i386 conflicts with file from package
>> xsane-0.999-12.fc20.i686
>>     file /usr/share/icons/hicolor/32x32/apps from install of
>> master-pdf-editor-2.1.00-2.i386 conflicts with file from package
>> xsane-0.999-12.fc20.i686
>>     file /usr/share/icons/hicolor/16x16 from install of
>> master-pdf-editor-2.1.00-2.i386 conflicts with file from package
>> xsane-0.999-12.fc20.i686
>>     file /usr/share/icons/hicolor/32x32 from install of
>> master-pdf-editor-2.1.00-2.i386 conflicts with file from package
>> xsane-0.999-12.fc20.i686
>>     file /usr from install of master-pdf-editor-2.1.00-2.i386 conflicts
>> with file from package jre-1.7.0_67-fcs.i586
>>
>> Error Summary
>>
> # rpm -ivh master-pdf-editor-2.1.00.x86_64.rpm
> Preparing...                          ################################# [100%]
> 	file / from install of master-pdf-editor-2.1.00-2.x86_64 conflicts with file from package filesystem-3.2-19.fc20.x86_64
>
> $ rpmrebuild -ep master-pdf-editor-2.1.00.x86_64.rpm
> ...
> %dir %attr(0775, root, root) "/"
> %dir %attr(0755, root, root) "/opt"
> ...
> %dir %attr(0755, root, root) "/usr"
> %dir %attr(0755, root, root) "/usr/share"
> %dir %attr(0755, root, root) "/usr/share/applications"
> ...
> %dir %attr(0755, root, root) "/usr/share/doc"
> %dir %attr(0755, root, root) "/usr/share/icons"
> %dir %attr(0755, root, root) "/usr/share/icons/hicolor"
> ...
>
> What do you think, are these lines needed?
>
>

Look, you can get rid of these errors thus:

Assuming you downloaded the rpm in some dir.
Mine is in
/usr/s/usr/src/redhat/RPMS/x86_64/master-pdf-editor-2.1.00.x86_64.rpm

Run the command:
rpmrebuild -d  /usr/src/redhat/RPMS/x86_64 -ep 
/usr/src/redhat/RPMS/x86_64/master-pdf-editor-2.1.00.x86_64.rpm

This will put you in the editor to edit the spec file.

In the spec file, do 2 things. The first is totally optional:

Change
Release:       2
to
Release:       2.fc20

then scroll down to
%files
and delete the first line beneath %files  :
%dir %attr(0775, root, root) "/"  <<<<, Delete this line

Then write and exitDo you want to continue ? (y/N)

:wq!

This will prompt you with a question.
Do you want to continue ? (y/N)

Answer with y

The new rpm file will appear in /usr/src/redhat/RPMS/x86_64/

and will have the .fc20 as part of it's name.

yum localinstall .......etc.....




More information about the users mailing list