Spec URL: http://vameo.org/liviofiles/nautilus-share.spec SRPM URL will not be built by me (I messed up with Rawhide packages) Description: Nautilus extension designed for easier folders sharing via Samba (CIFS) protocol in *NIX systems. It's my first OFFICIAL package for Fedora. I'm seeking for a sponsor.
(In reply to comment #0) > SRPM URL will not be built by me (I messed up with Rawhide packages) - What to you mean? Please upload srpm, otherwise we cannot review your package. You can create your srpm by "rpm -bs foo.spec". Anyway some comments (just from a quick look at your spec file) - Perhaps "Requires: dbus libglade libdaemon" can all be removed. rpmbuild checks the dependency of this package for libraries and adds them to Requires automatically. - Please update License tag (please refer to: http://fedoraproject.org/wiki/Packaging/LicensingGuidelines http://fedoraproject.org/wiki/Licensing ) - Make it sure that all directories created by this package are owned by this package. - For example, the directory %{_datadir}/nautilus-share/ is not owned by any package. ! Note - When you write --------------------------------------------------------------------- %files %{_datadir}/nautilus-share/ --------------------------------------------------------------------- This contains the directory %{_datadir}/nautilus-share/ itself and all files/directories/etc under %{_datadir}/nautilus-share/.
Sorry, I can't build SRPM because I can't install -devel packages. I have gtk2 from Rawhide, but gtk2-devel won't install because of mesa issues, I tried, believe me. SPEC fixed.
New SPEC URL: http://liviopl.jogger.pl/files/nautilus-share.spec
I've added few BuildRequires and fixed some questions from yesterday.
You can still create srpm by "rpm -bs --nodeps foo.spec". By the way, do you mean that you never tried to rebuild your spec by yourself? How can you check your spec file without it?
[[ You can still create srpm by "rpm -bs --nodeps foo.spec". ]] I can't because I can't install required -devels to build because of mesa issue in Rawhide. Friend helped me with BRs.
Main problem when trying to install gtk2-devel isn't updateing everything to Rawhide versions, but this: --> Processing Conflict: pam conflicts db4 >= 4.6.0 --> Processing Conflict: mesa-libGL-devel conflicts xorg-x11-proto-devel <= 7.2-12
Again, [livio@rocket ~]$ sudo yum --enablerepo=development --enablerepo=livna-development install gtk2-devel > log Error: Missing Dependency: compiz = 0.5.2 is needed by package compiz-fusion-plugins-extra Error: Missing Dependency: compiz = 0.5.2 is needed by package compiz-fusion-plugins-unsupported Error: Missing Dependency: compiz = 0.5.2 is needed by package compiz-fusion-plugins-main - can be fixed by removing Compiz Fusion plugins Error: Missing Dependency: firefox = 2.0.0.6 is needed by package gnome-python2-gtkmozembed Error: mesa-libGL-devel conflicts with xorg-x11-proto-devel <= 7.2-12 Error: Missing Dependency: libpoppler-glib.so.1 is needed by package gimp - probably can be fixed by removing gimp Error: Missing Dependency: firefox = 2.0.0.6 is needed by package ruby-gtkmozembed - probably can be fixed by removing ruby libraries [livio@rocket ~]$ sudo rpm -e mesa-libGL-devel xorg-x11-proto-devel błąd: pakiet mesa-libGL-devel nie jest zainstalowany (isn't installed) błąd: pakiet xorg-x11-proto-devel nie jest zainstalowany [livio@rocket ~]$
Don't ask here. Please make it sure that you can build your srpm by yourself before submitting to review request.
I'm not asking here for anything. I'm showing you the issue that makes me unable to build SRPM.
(In reply to comment #5) > You can still create srpm by "rpm -bs --nodeps foo.spec". You shoulda written "rpmbuild -bs --nodeps foo.spec". This should work in any case :)
SRPM: http://liviopl.jogger.pl/files/nautilus-share-0.7.2-6.fc7.src.rpm Made using --nodeps. Sclerosis doesn't hurt.
Updated SRPM: http://liviopl.jogger.pl/files/nautilus-share-0.7.2-7.fc7.src.rpm SPEC URL: http://liviopl.jogger.pl/files/nautilus-share.spec
By the way was the problem of buildroot issue you had already solved?
Don't remember. Should I try a scratch build?
If you are talking about koji scratch build, I guess you cannot do because you are not sponsored. Anyway: * Please remove redundant BuildRequires. - For example, gtk2-devel requires glib2-devel, so "BuildRequires: glib2-devel is not needed". There are some other redundant BuildRequires (eel2-devel has many dependencies) - And is libglade-devel (not libglade2-devel) really needed for BuildRequires? * For perl module dependency, please write the module name, not direct rpm name like "Requires: perl(XML::Parser)" c.f. http://fedoraproject.org/wiki/Packaging/Perl * Try to add 'INSTALL="install -p"' to 'make install' to keep timestamps on installed files. This method "usually" works for recent makefiles. * The file "INSTALL" is usually unneeded. This file is generally needed for people who want to compile/install a package by themselves and not needed for rpm users.
[offtopic] I was sponsored by ecik. My first package was gnome-applet-tvn24, approved, included in repo. [/offtopic] [[ Please remove redundant BuildRequires. ]] Ok... [[ And is libglade-devel (not libglade2-devel) really needed for BuildRequires? ]] Probably not, but if requires libglade, it was automatic thing, to add -devel. [[ For perl module dependency, please write the module name, not direct rpm name like "Requires: perl(XML::Parser)" ]] I have "perl-XML-Parser". Don't understand, what you're talking about. [[ The file "INSTALL" is usually unneeded. This file is generally needed for people who want to compile/install a package by themselves and not needed for rpm users. ]] Read the content, then say something... It contains info about Samba configuration, not the usual yada-yada. SRPM URL: http://liviopl.fedorapeople.org/nautilus-share-0.7.2-8.fc7.src.rpm SPEC URL: http://liviopl.fedorapeople.org/nautilus-share.spec
For 0.7.2-8: * rpmlint for src - Please change the permission of tarball in srpm to 0644. * BuildRequires - Please try to delete more BuildRequires * dbus-devel is required by gnome-vfs2-devel * gtk2-devel is required by eel2-devel * gnome-vfs2-devel is required by eel2-devel - And "BuildRequires: perl-XML-Parser" should be changed to "BuildRequires: perl(XML::Parser)". * License - This license is GPLv2+, not GPL+. * Timestamps - Please try to add 'INSTALL="install -p"' to 'make install', not 'make' in %build section. * Static archive removal - Please check if this configure accepts --disable-static option and this disables static archive creation automatically.
1. Ok. 2. Ok. 3. Ok. 4. Ok. 5. Works: [[ checking whether to build shared libraries... yes checking whether to build static libraries... no ]] SPEC URL: http://liviopl.fedorapeople.org/nautilus-share.spec SRPM URL: http://liviopl.fedorapeople.org/nautilus-share-0.7.2-9.fc8.src.rpm
For 0.7.2-9: * libtool .la file - --disable-static removes static archive creation, however usually libtool .la file is still created. You have to delete .la files as before. * Permission of source tarball. - Please don't change in spec file (build time). Fix the permission before creatin srpm and don't write "chmod 0644 %{SOURCE0}".
1. rpmbuils fails to build because the .la files don't exist. 2. Fixed SPEC URL: http://liviopl.fedorapeople.org/nautilus-share.spec SRPM URL: http://liviopl.fedorapeople.org/nautilus-share-0.7.2-10.fc8.src.rpm
libtool .la file is left. [tasaka1@localhost ~]$ rpm -q nautilus-share nautilus-share-0.7.2-9.fc9 [tasaka1@localhost ~]$ rpm -ql nautilus-share | grep la$ /usr/lib/nautilus/extensions-1.0/libnautilus-share.la
Ok. SPEC URL: http://liviopl.fedorapeople.org/nautilus-share.spec SRPM URL: http://liviopl.fedorapeople.org/nautilus-share-0.7.2-11.fc8.src.rpm
Okay. -------------------------------------------------------- This package (nautilus-share) is APPROVED by me --------------------------------------------------------
New Package CVS Request ======================= Package Name: nautilus-share Short Description: Easy sharing folder via Samba (CIFS protocol) Owners: liviopl Branches: F-7 F-8 InitialCC: liviopl Cvsextras Commits: yes
cvs done.
thanks.