Accepting request 115037 from multimedia:apps
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/115037 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/picard?expand=0&rev=12
This commit is contained in:
commit
30d86e592b
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 11 07:42:52 UTC 2012 - saschpe@suse.de
|
||||||
|
|
||||||
|
- Remove obsolete SUSE version checks
|
||||||
|
- Call icon_theme_cache_post(un) (bnc#756522)
|
||||||
|
- Remove Mandriva checks, not tested nor enabled in this project
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Apr 1 16:52:18 CEST 2012 - ohering@suse.de
|
Sun Apr 1 16:52:18 CEST 2012 - ohering@suse.de
|
||||||
|
|
||||||
|
51
picard.spec
51
picard.spec
@ -46,29 +46,19 @@ BuildRequires: gcc-c++
|
|||||||
BuildRequires: libdiscid-devel
|
BuildRequires: libdiscid-devel
|
||||||
BuildRequires: libofa-devel
|
BuildRequires: libofa-devel
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: python-mutagen
|
||||||
|
Requires: python-mutagen
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
BuildRequires: hicolor-icon-theme
|
BuildRequires: hicolor-icon-theme
|
||||||
BuildRequires: python-mutagen
|
|
||||||
BuildRequires: python-qt4
|
BuildRequires: python-qt4
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
Requires: python-mutagen
|
|
||||||
Requires: python-qt4
|
Requires: python-qt4
|
||||||
%py_requires
|
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
BuildRequires: PyQt4
|
BuildRequires: PyQt4
|
||||||
BuildRequires: python-mutagen
|
|
||||||
Requires: python-mutagen
|
|
||||||
%endif
|
|
||||||
%if 0%{?mandriva_version}
|
|
||||||
BuildRequires: python-qt4
|
|
||||||
%endif
|
%endif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{!?py_sitedir: %define py_sitedir %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
%{!?py_ver_int: %define py_ver_int %(python -c "import sys; v=sys.version_info[:2]; print '%%d%%d'%%v" 2>/dev/null)}
|
|
||||||
%if 0%{?py_ver_int} == 24
|
|
||||||
Requires: python-ctypes
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
MusicBrainz Picard is a cross-platform MusicBrainz tag editor written in
|
MusicBrainz Picard is a cross-platform MusicBrainz tag editor written in
|
||||||
@ -132,41 +122,22 @@ desktop-file-install --delete-original --remove-category="Application" \
|
|||||||
mkdir -vp %{buildroot}/%{_libdir}/%{name}
|
mkdir -vp %{buildroot}/%{_libdir}/%{name}
|
||||||
cp -avL %{name}_libdiscid_dummy %{buildroot}/%{_libdir}/%{name}
|
cp -avL %{name}_libdiscid_dummy %{buildroot}/%{_libdir}/%{name}
|
||||||
|
|
||||||
%if 0%{?mandriva_version} > 2006
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%update_menus
|
%icon_theme_cache_post
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%clean_menus
|
%icon_theme_cache_postun
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1020
|
|
||||||
|
|
||||||
%files lang -f %{name}.lang
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} < 1130
|
|
||||||
%lang(sco) %dir %{_datadir}/locale/sco
|
|
||||||
%lang(sco) %dir %{_datadir}/locale/sco/LC_MESSAGES
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%else
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%endif
|
|
||||||
%doc AUTHORS.txt COPYING.txt NEWS.txt
|
%doc AUTHORS.txt COPYING.txt NEWS.txt
|
||||||
%{_bindir}/picard
|
%{_bindir}/picard
|
||||||
/%{_libdir}/%{name}
|
%{_libdir}/%{name}
|
||||||
%{_datadir}/applications/%{name}.desktop
|
%{_datadir}/applications/%{name}.desktop
|
||||||
%{py_sitedir}/picard*
|
%{python_sitearch}/picard*
|
||||||
%{_datadir}/icons/hicolor/16x16/apps/picard.png
|
%{_datadir}/icons/hicolor/*/apps/picard.png
|
||||||
%{_datadir}/icons/hicolor/24x24/apps/picard.png
|
|
||||||
%{_datadir}/icons/hicolor/32x32/apps/picard.png
|
%files lang -f %{name}.lang
|
||||||
%{_datadir}/icons/hicolor/48x48/apps/picard.png
|
%defattr(-,root,root)
|
||||||
%{_datadir}/icons/hicolor/128x128/apps/picard.png
|
|
||||||
%{_datadir}/icons/hicolor/256x256/apps/picard.png
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user