From 75ace44d2b7752c96a767c0394f75472ca5d3857 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 11 Sep 2016 14:50:39 +0300 Subject: [PATCH] install plugins from contrib --- picard.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/picard.spec b/picard.spec index 44b37cf..b7ca772 100644 --- a/picard.spec +++ b/picard.spec @@ -55,6 +55,10 @@ install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} %py_install %py_postclean + +# install plugins +cp -a contrib/plugins/* $RPM_BUILD_ROOT%{py_sitedir}/%{name}/plugins + %find_lang %{name} %find_lang %{name}-countries -a %{name}.lang %find_lang %{name}-attributes -a %{name}.lang @@ -70,7 +74,7 @@ rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(644,root,root,755) -%doc AUTHORS.txt NEWS.txt +%doc README.md AUTHORS.txt NEWS.txt %attr(755,root,root) %{_bindir}/%{name} %dir %{py_sitedir}/%{name} %{py_sitedir}/%{name}/*.py* -- 2.43.0