|
|
@ -40,7 +40,9 @@ make %{?_smp_mflags}
|
|
|
|
make install INSTALL_ROOT=%{buildroot} INSTALL="install -p"
|
|
|
|
make install INSTALL_ROOT=%{buildroot} INSTALL="install -p"
|
|
|
|
rm -rf %{buildroot}/%{_datadir}/app-install
|
|
|
|
rm -rf %{buildroot}/%{_datadir}/app-install
|
|
|
|
desktop-file-install %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
desktop-file-install %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
%find_lang %{name} --with-qt
|
|
|
|
install -d %{buildroot}/%{_datadir}/goldendict/locale
|
|
|
|
|
|
|
|
install -pm 644 locale/*.qm %{buildroot}/%{_datadir}/goldendict/locale
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%doc LICENSE.txt
|
|
|
|
%doc LICENSE.txt
|
|
|
|