RPM Package Maker
System Software
Score 82%
Description:

rpmpm is a frontend for creating RPM packages quickly and easily. It requires root access.

Since version 0.8 minimal spec files are kept in:
/usr/src/packages/SPECS/mini
Last changelog:

11 years ago

1.2
- Handle large scripts correctly
- Automatically handle version changes
- Moving to root dir works from another partition
- Recognize lowercase documents

1.1 - Small improvements and bugfixes

1.0
- Support for Installwatch
- URL tag is now clickable & editable
- Spec files can be deleted with the Delete key
- Spec files can be created from Template, RPM, spec file
- Rename dialog was added
- Better: autodetection, configure script, messages

0.9
- Slightly better autodetection & spec editor
- KProcess instead of QProcess (for more control)
- No more segfaults (hopefully)
- Configure options are now available

0.8
- Faster RPM creation (no compression, decompression step)
- Minimized default.spec => all spec files have changed
- Specs (minimal) are now kept in /usr/src/packages/SPECS/mini

0.7
- Proper exiting (stopping all processes)
- Added a dialog asking whether to abort

0.6
- Better (more useful) error reporting
- A simple configure script was added

0.5
- Spec files can now be edited with a special form
- A few bugs fixed
- More help

0.4
- Uses kdesu if it is available
- Added an extra check for autodetection
- More info

0.3
- Konqueror servicemenus
- New RPMs are now moved to the input's root directory

0.2 - Bugfixes (after testing many packages)

0.1 - First release

jz18

8 years ago

for mandriva 2009.1 plisssssssssssssssssssssssssssssssssssssssssssssssssssssssssss

Report

giorgiotani

10 years ago

Hi, I used rpmpm to build my first generic Linux RPM for PeaZip and I must say that your program works very well, and that it is simple and effective.
My RPM is still quite simple, so I had not tried to do particulary advanced tasks, however the first impression of use of rpmpm is VERY good.

Report

nescius

11 years ago

Too bad its still too hard, i tried it with most rencent amarok 1.4beta3.3 rpm source package in mandriva which works fine, but i was unable to add its spec only open it and edit but it wasn't in main window. Also deleting these default specs is slightly annoying problem.Nevertheless this peace of software is just that entire community needs for next step of world domination,you could do wizard interface since rpm packaging isn't so easy.. perhaps?And if you'll need translation, i could do czech.

Report

C

bico

11 years ago

> i tried it with ... rpm source package
I din't try src.rpm-s but its a good idea to test these, too (probably I will provide an input for these in the future).
> i was unable to add its spec
Did you run it as root? rpmpm doesn't work yet otherwise.
> deleting these default specs is slightly annoying problem
Yeah, I know (with the DEL key). I couldn,t manage to add a context menu to the list. Maybe a button will do.
> And if you'll need translation, i could do czech.
WOW that would be great? I just don't understand yet how translating apps work. If I do, I will surely ask you. Thanks again!

Report

nescius

11 years ago

about source rpm all i did was trying to compile its content to another. package with different compile flags, option for recompiling srpms is not needed in my opinion.
> Did you run it as root? rpmpm doesn't work yet otherwise.
no, i dont use root usually, but /usr/src/ is owned by me and every night controled for permisions by cron, ill wonder if it will fix that :)i didn't know how to integrate translation engine into app niether, but i found these http://developer.kde.org/documentation/library/kdeqt/kde3arch/kde-i18n-howto.html
http://developer.kde.org/documentation/makefile_am_howto/en/_translations_.html
I hope it will be usable for you.

Report

clearthought

11 years ago

great idea, thanks!

Report

C

bico

11 years ago

Well, a much improved version of RPM Package Maker is out once again, and this is probably the final version before I rename it to simply Package Maker and add some more types of input/output.

rpmpm performs now much more then what I have planned initially for version 1.0, and, if the Lord wants me to, and I shall live, I am going to further improve it in the second half of this year. Until then, enjoy this new release!

Report

danywv

11 years ago

[daniel@localhost rpmpm-0.9]$ ./configure && make
Checking for KDE... /usr
Checking for qmake... /usr/bin/qmake
Creating project file... ok
Creating Makefile... ok

Good - your configure finished. Start make now.

/usr/lib/qt-3.3/bin/uic main_form.ui -o .ui/main_form.h
/usr/lib/qt-3.3/bin/uic output.ui -o .ui/output.h
/usr/lib/qt-3.3/bin/uic prefix.ui -o .ui/prefix.h
/usr/lib/qt-3.3/bin/uic specedit.ui -o .ui/specedit.h
g++ -c -pipe -Wall -W -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT -I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/include -I/usr/include/kio -I/usr/lib/qt-3.3/include -I.ui/ -I. -I.moc/ -o .obj/main.o main.cpp
In file included from main.cpp:2:
.ui/main_form.h:15:22: error: ktempdir.h: No such file or directory
.ui/main_form.h:16:22: error: kprocess.h: No such file or directory
.ui/main_form.h:58: error: ISO C++ forbids declaration of ‘KProcess’ with no type
.ui/main_form.h:58: error: expected ‘;’ before ‘*’ token
.ui/main_form.h:60: error: ISO C++ forbids declaration of ‘KTempDir’ with no type
.ui/main_form.h:60: error: expected ‘;’ before ‘*’ token
.ui/main_form.h:61: error: ISO C++ forbids declaration of ‘KProcess’ with no type
.ui/main_form.h:61: error: expected ‘;’ before ‘*’ token
.ui/main_form.h:62: error: ISO C++ forbids declaration of ‘KProcess’ with no type
.ui/main_form.h:62: error: expected ‘;’ before ‘*’ token
.ui/main_form.h:63: error: ISO C++ forbids declaration of ‘KProcess’ with no type
.ui/main_form.h:63: error: expected ‘;’ before ‘*’ token
.ui/main_form.h:64: error: ISO C++ forbids declaration of ‘KProcess’ with no type
.ui/main_form.h:64: error: expected ‘;’ before ‘*’ token
.ui/main_form.h:71: error: ‘KProcess’ has not been declared
.ui/main_form.h:80: error: ‘KProcess’ has not been declared
.ui/main_form.h:92: error: ‘KProcess’ has not been declared
.ui/main_form.h:93: error: ‘KProcess’ has not been declared
make: *** [.obj/main.o] Error 1

Report

danywv

11 years ago

Followed trisz's advice and copied kde headers into the directory..it passed the previous error but:


g++ -c -pipe -Wall -W -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT -I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/include -I/usr/include/kio -I/usr/lib/qt-3.3/include -I.ui/ -I. -I.moc/ -o .obj/main.o main.cpp
/usr/lib/qt-3.3/bin/uic main_form.ui -i main_form.h -o .ui/main_form.cpp
g++ -c -pipe -Wall -W -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT -I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/include -I/usr/include/kio -I/usr/lib/qt-3.3/include -I.ui/ -I. -I.moc/ -o .obj/main_form.o .ui/main_form.cpp
In file included from .ui/main_form.cpp:31:
.ui/../main_form.ui.h:37:17: error: job.h: No such file or directory
/usr/lib/qt-3.3/include/qtooltip.h:86: warning: ‘class QToolTip’ has virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/qnetworkprotocol.h:58: warning: ‘class QNetworkProtocolFactoryBase’ has virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/qfiledialog.h:78: warning: ‘class QFilePreview’ has virtual functions but non-virtual destructor
.ui/../main_form.ui.h:60: warning: unused parameter ‘unused’
make: *** [.obj/main_form.o] Error 1

Report

C

bico

11 years ago

There is also a job.h header file needed by KProcess located in the kio subdirectory in the KDE include dir. On my system: /opt/kde3/include/kio/job.h
- this I really have to correct - sorry for your problems

Report

trisz

11 years ago

The output is:

g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include -I/usr/include/kio -I/usr/include/qt3 -I.ui/ -I. -I.moc/ -o .obj/main.o main.cpp
In file included from main.cpp:2:
.ui/main_form.h:15:22: error: ktempdir.h: No such file or directory
.ui/main_form.h:16:22: error: kprocess.h: No such file or directory
.ui/main_form.h:58: error: ISO C++ forbids declaration of 'KProcess' with no type
.ui/main_form.h:58: error: expected ';' before '*' token
.ui/main_form.h:60: error: ISO C++ forbids declaration of 'KTempDir' with no type
.ui/main_form.h:60: error: expected ';' before '*' token
.ui/main_form.h:61: error: ISO C++ forbids declaration of 'KProcess' with no type
.ui/main_form.h:61: error: expected ';' before '*' token
.ui/main_form.h:62: error: ISO C++ forbids declaration of 'KProcess' with no type
.ui/main_form.h:62: error: expected ';' before '*' token
.ui/main_form.h:63: error: ISO C++ forbids declaration of 'KProcess' with no type
.ui/main_form.h:63: error: expected ';' before '*' token
.ui/main_form.h:64: error: ISO C++ forbids declaration of 'KProcess' with no type
.ui/main_form.h:64: error: expected ';' before '*' token
.ui/main_form.h:71: error: 'KProcess' has not been declared
.ui/main_form.h:80: error: 'KProcess' has not been declared
.ui/main_form.h:92: error: 'KProcess' has not been declared
.ui/main_form.h:93: error: 'KProcess' has not been declared
make: *** [.obj/main.o] Error 1

But I have both files (ktempdir.h and kprocess.h), and the /usr/include/kde is in the path.
I copied the content of the /usr/include/kde into the rpmpm-0.9 dir, and compiled successfully.

One more note for the future development:

The rpmbuild utility determines the dependences, the checkinstall script does not. So, it is worth to use the rpmbuild first (and the alien for Debian), then, if it does not work, the checkinstall. Moreover, the checkinstall does not maintain package build information database like spec files in the /usr/src/... dir.

Report

C

bico

11 years ago

Thanks for the feedback! I will correct this in the next release.

Report

chamois

11 years ago

hello
my english is not good so i'll try to do my best .
I'm on Fc4 and i use the fedora-rpmdevtools to build my package using a simple account instead of root.how can i adapt rpmpm in order to built my package with a specific builder account using his building evironnemnt instead of using the normal building environnement

/usr/src/redhat/

/BUILD/ RPMS/ SOURCES/ SPECS/ SRPMS/

Report

C

bico

11 years ago

Well, rpmpm was not designed for this, but someone reported that it can work:

"I must symlink Your rpm environment to my rpm environment .

ln -s $HOME/RPM/SPECS /usr/src/packages/SPECS/mini
and
ln -s $HOME/RPM/SOURCES /usr/src/packages/SOURCES"

I hope it works for you, too.

Report

trisz

11 years ago

The source cannot be compiled under Debian testing, but the rpm package can be repacked and works well.

The rpm package must be installed in your system (this package contains the rpmbuild utility). You have to create the /usr/src/packages/SOURCES directory (not present in Debian) before run it. The obtained rpm package can be converted to deb with the

alien package_name.rpm

command.

The rpmpm also can be modified/developed in order to use on Debian systems:

1. testing the presence of /usr/src/packages/SOURCES
2. testing the presence of the rpmbuild and alien utilities
3. finally running the alien command.

(I would/could like to offer to the developer a new iconset for the new deb&rpm package maker.)

Report

C

bico

11 years ago

Thank you very much for this info. I am planning to implement this in the next release or in the one after 1.0.

Didn't compile? Could you send me the output with the error messages?

Report

keba

11 years ago

Hey Bico,

how do you insert these bible verses in the signature? automatically? Is this also possible for the KMail signatures? I like them

Keba

Report

C

bico

11 years ago

I'm glad you like the verses, but I use automatic solutions only where things are boring and repetitive (see RPM Package Maker).

Report

trisz

11 years ago

There are problems with the earlier package creators, like RMT installer and Kconfigure. I cannot try out this utility because I use a Debian system. I think the PRM Package Maker can be modified in order to make deb packages too.
So, I agree with Cypress.

Report

C

bico

11 years ago

RMT installer ? I hope I didn't reinvent the wheel, because I hate when that happens.

Report

trisz

11 years ago

No.
The RMT installer (a Kommander script) does not work well, and cannot be downloaded any more. It has to be replaced with a new package maker. The Kconfigure suffers from several bugs and does not make the installations easier but more difficult. Thus, there is not a usefull package maker frontend for linux. Do you call the checkinstall script for package creation?

Report

Cypress

11 years ago

One for DEB files wuld be great. Shouldn't be too hard to make.

Report

C

bico

11 years ago

Good idea! I have been thinking about this also (see the TODO list), I just don't have the time for it yet.

Report

C

bico

11 years ago

Thanks a lot for the positive feedback! It had motivated me to release a new (hopefully better) version!

Report

x-a-n-a-x

11 years ago

I love this tool !
It's so useful.

Report

11 years ago

1.2
- Handle large scripts correctly
- Automatically handle version changes
- Moving to root dir works from another partition
- Recognize lowercase documents

1.1 - Small improvements and bugfixes

1.0
- Support for Installwatch
- URL tag is now clickable & editable
- Spec files can be deleted with the Delete key
- Spec files can be created from Template, RPM, spec file
- Rename dialog was added
- Better: autodetection, configure script, messages

0.9
- Slightly better autodetection & spec editor
- KProcess instead of QProcess (for more control)
- No more segfaults (hopefully)
- Configure options are now available

0.8
- Faster RPM creation (no compression, decompression step)
- Minimized default.spec => all spec files have changed
- Specs (minimal) are now kept in /usr/src/packages/SPECS/mini

0.7
- Proper exiting (stopping all processes)
- Added a dialog asking whether to abort

0.6
- Better (more useful) error reporting
- A simple configure script was added

0.5
- Spec files can now be edited with a special form
- A few bugs fixed
- More help

0.4
- Uses kdesu if it is available
- Added an extra check for autodetection
- More info

0.3
- Konqueror servicemenus
- New RPMs are now moved to the input's root directory

0.2 - Bugfixes (after testing many packages)

0.1 - First release

product-maker 25 132

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
1.2
updated Nov 20 2009
added Jan 02 2006
downloads today
0
page views today 2