I'm just create a rpm package for gmediafinder, the package builds, but rpmlint
spits out a few bugs.
gmediafinder.spec
rpmlint output:Code:Name: gmediafinder Version: 1.0.1 Release: 1%{?dist} Summary: A program to stream an/or download files License: GPLv2 Group: Applications/Internet URL: http://gnomefiles.org/content/show.php/Gmediafinder?content=138588&PHPSESSID=9c909890a42ce1ac7a555efab2b34b83 # Translation: # https://www.transifex.net/projects/p/gmf/resource/gmediafinderpot/ # GITHUB # https://github.com/smolleyes/gmediafinder # Obtaining source # git clone git://github.com/smolleyes/gmediafinder.git && tar cjf gmediafinder-%%{version}.tar.bz2 gmediafinder/ && rm -rf gmediafinder Source0: %{name}-%{version}.tar.bz2 # patch for invalid-desktopfile Patch0: %{name}-desktop.patch BuildArch: noarch BuildRequires: hicolor-icon-theme BuildRequires: python-mechanize BuildRequires: python-setuptools BuildRequires: python-distutils-extra Requires: gstreamer-ffmpeg Requires: gstreamer-python Requires: gstreamer-plugins-bad Requires: gstreamer-plugins-base Requires: gstreamer-plugins-good Requires: pygtk2 Requires: python-BeautifulSoup Requires: python-gdata Requires: python-distutils-extra Requires: python-mechanize Requires: python-virtkey Requires: python-configobj Requires: pygtk2-libglade Requires: projectM-libvisual %description Gmediafinder is a software to search stream an/or download files form YouTube without flash, Google and some mp3 search-engines (you know the rules...) its support full-screen mode, visualization and use the gstreamer engine for YouTube you can select you preferred resolution and give priority to mp4 format for video seeking! (and lower CPU usage than flv...) %prep %setup -q -n %{name} %patch0 -p1 # delete unused directories and files find -name .git -type d -or -name debian -type d -or -name win32 -type d | xargs rm -rfv # fix permissions find . -name 'gpl-2.0.txt' -exec chmod 644 '{}' \; find . -name 'CHANGELOG' -exec chmod 644 '{}' \; find . -name 'README' -exec chmod 644 '{}' \; find . -name 'VERSION' -exec chmod 644 '{}' \; find . -name '__init__.py' -exec chmod 644 '{}' \; find . -name 'mainGui.glade' -exec chmod 644 '{}' \; %build python setup.py build %install python setup.py install --root=$RPM_BUILD_ROOT cp -R data/img/throbber.png $RPM_BUILD_ROOT%{_datadir}/%{name}/ %post update-desktop-database -q %{_datadir}/applications if [ -x /usr/bin/gtk-update-icon-cache ]; then /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor fi %postun update-desktop-database -q %{_datadir}/applications if [ -x /usr/bin/gtk-update-icon-cache ]; then /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor fi %find_lang %{name} %files %doc CHANGELOG gpl-2.0.txt README VERSION %{_bindir}/* %{_desktopdir}/%{name}.desktop %{python_sitelib}/*/* %{_datadir}/%{name}/* %{_datadir}/icons/hicolor/22x22/apps/gmediafinder.png %{_datadir}/icons/hicolor/24x24/apps/gmediafinder.png %{_datadir}/icons/hicolor/48x48/apps/gmediafinder.png %{_datadir}/locale/*/LC_MESSAGES/gmediafinder.mo %{_datadir}/pyshared/GmediaFinder/*
http://wiki.rosalab.ru/ru/index.php/...cutable-scriptCode:rpmlint gmediafinder-1.0.1-1.fc18.noarch.rpm gmediafinder.noarch: W: spelling-error %description -l en_US gstreamer -> streamer, g streamer, steamer gmediafinder.noarch: W: spelling-error %description -l en_US flv -> fl, flt, flu gmediafinder.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/GmediaFinder/engines.py 0644L /usr/bin/env gmediafinder.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/GmediaFinder/Translation.py 0644L /usr/bin/python gmediafinder.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/GmediaFinder/pykey.py 0644L /usr/bin/env gmediafinder.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/GmediaFinder/checklinks.py 0644L /usr/bin/env gmediafinder.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/GmediaFinder/gmediafinder.py 0644L /usr/bin/env gmediafinder.noarch: W: no-manual-page-for-binary gmediafinder gmediafinder.noarch: W: file-not-in-%lang /usr/share/locale/ar/LC_MESSAGES/gmediafinder.mo gmediafinder.noarch: W: file-not-in-%lang /usr/share/locale/cs_CZ/LC_MESSAGES/gmediafinder.mo gmediafinder.noarch: W: file-not-in-%lang /usr/share/locale/de_DE/LC_MESSAGES/gmediafinder.mo gmediafinder.noarch: W: file-not-in-%lang /usr/share/locale/en/LC_MESSAGES/gmediafinder.mo gmediafinder.noarch: W: file-not-in-%lang /usr/share/locale/es/LC_MESSAGES/gmediafinder.mo gmediafinder.noarch: W: file-not-in-%lang /usr/share/locale/fr/LC_MESSAGES/gmediafinder.mo gmediafinder.noarch: W: file-not-in-%lang /usr/share/locale/it/LC_MESSAGES/gmediafinder.mo gmediafinder.noarch: W: file-not-in-%lang /usr/share/locale/pl_PL/LC_MESSAGES/gmediafinder.mo gmediafinder.noarch: W: file-not-in-%lang /usr/share/locale/ro/LC_MESSAGES/gmediafinder.mo gmediafinder.noarch: W: file-not-in-%lang /usr/share/locale/ru/LC_MESSAGES/gmediafinder.mo gmediafinder.noarch: W: file-not-in-%lang /usr/share/locale/sr/LC_MESSAGES/gmediafinder.mo gmediafinder.noarch: W: file-not-in-%lang /usr/share/locale/zh_CN/LC_MESSAGES/gmediafinder.mo 1 packages and 0 specfiles checked; 5 errors, 15 warnings.
https://fedoraproject.org/wiki/Packa...g_Locale_Files
what must I do to eliminate the error.


Reply With Quote
