]> git.pld-linux.org Git - packages/exaile.git/blobdiff - exaile.spec
- %%make simplification
[packages/exaile.git] / exaile.spec
index aa7c6c7da4d5d08dc426146abd0f3601cd1c1fcc..9df6e3bd88f1256a31c2c0d198f13af4628687d6 100644 (file)
@@ -1,22 +1,34 @@
+# TODO:
+#      separate plugins/*
+#
 Summary:       A powerful GTK+2 media player
 Summary(pl.UTF-8):     Potężny odtwarzacz multimediów oparty na GTK+2
 Name:          exaile
-Version:       0.2.8
-Release:       2
+Version:       0.3.2.0
+Release:       1
+# GPL v2 in COPYING; GPL v1+ in license.txt; Artistic/Perl in lib/wmainfo.py
 License:       GPL
 Group:         X11/Applications/Multimedia
-Source0:       http://www.exaile.org/files/%{name}_%{version}.tar.gz
-# Source0-md5: a07d5acdebbc42a72e297963f5aec249
-Patch0:                %{name}-python-2.5.patch
-Patch1:                %{name}-FHS.patch
+Source0:       http://launchpad.net/exaile/0.3.2/0.3.2.0/+download/%{name}-%{version}.tar.gz
+# Source0-md5: fdd1f75118032a5aa0932cb449b2c533
 URL:           http://www.exaile.org/
-BuildRequires: python-pygtk-devel >= 2.8
+BuildRequires: gettext-devel
+BuildRequires: help2man
+BuildRequires: intltool
+BuildRequires: python-pygtk-devel >= 2:2.18.0
+BuildRequires: rpmbuild(macros) >= 1.268
+Requires:      gstreamer-plugins-base >= 0.10
+Requires:      gstreamer-plugins-good >= 0.10
 Requires:      python-dbus >= 0.71
 Requires:      python-gstreamer
 Requires:      python-mutagen
+Requires:      python-pygobject >= 2.26.0
+Requires:      python-pygtk-glade >= 2:2.18.0
 Requires:      python-sqlite
-Requires:      gstreamer-plugins-base >= 0.10
-Requires:      gstreamer-plugins-good >= 0.10
+Suggests:      brasero
+Suggests:      k3b
+Suggests:      python-gnome-extras-mozilla
+Suggests:      serpentine
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -56,35 +68,39 @@ Niektóre możliwości to:
 - przesyłanie ścieżek odtworzonych na iPodzie do last.fm
 
 %prep
-%setup -q -n %{name}_%{version}
-%patch0 -p1
-%patch1 -p1
+%setup -q
+
+# useless, there are bigger correspondent locales
+rm -f po/{es_ES.po,frp.po,he_IL.po,it_IT.po,tr_TR.po}
 
 %build
-%{__make}
+%{__make} \
+       PREFIX=%{_prefix} \
+       LIBINSTALLDIR=/%{_lib}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
+       PREFIX=%{_prefix} \
        DESTDIR=$RPM_BUILD_ROOT \
-       LIBDIR=%{_libdir}
+       LIBINSTALLDIR=/%{_lib}
+
+%find_lang %{name} --all-name
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc TODO
 %attr(755,root,root) %{_bindir}/%{name}
+%dir %{_sysconfdir}/xdg/exaile
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/exaile/settings.ini
+%{_libdir}/%{name}
 %dir %{_datadir}/%{name}
-%attr(755,root,root) %{_datadir}/%{name}/exaile.py
-%{_datadir}/%{name}/exaile.glade
-%attr(755,root,root) %{python_sitearch}/mmkeys.so
-%{_datadir}/%{name}/images
-%{_datadir}/%{name}/po
+%{_datadir}/%{name}/data
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png
+%{_mandir}/man1/exaile.1*
+# maybe seperate subpackages for plugins?
 %{_datadir}/%{name}/plugins
-%{_datadir}/%{name}/sql
-%{_datadir}/%{name}/xl
-%{_desktopdir}/*.desktop
-%{_pixmapsdir}/*
This page took 0.14556 seconds and 4 git commands to generate.