automatic version update by autodist [release 0.12.3-1mamba;Thu Aug 04 2016]

This commit is contained in:
Automatic Build System 2024-01-05 17:29:52 +01:00
parent 3c45512929
commit 0f9b43c477

View File

@ -1,15 +1,16 @@
%define program RSIBreak %define program RSIBreak
%define majver %(echo %version | cut -d. -f1-2)
Name: rsibreak Name: rsibreak
Version: 0.11 Version: 0.12.3
Release: 2mamba Release: 1mamba
Summary: A small utility which bothers you at certain intervals Summary: A small utility which bothers you at certain intervals
Group: Graphical Desktop/Applications/Utilities Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com> Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://www.rsibreak.org/ URL: https://userbase.kde.org/RSIBreak
Source: http://www.rsibreak.org/files/rsibreak-%{version}.tar.bz2 Source: http://www.mirrorservice.org/pub/kde/stable/rsibreak/%{majver}/rsibreak-%{version}.tar.xz
Patch0: %{name}-0.9.0-cmake_fix_for_plasma.patch Patch0: %{name}-0.9.0-cmake_fix_for_plasma.patch
Patch1: %{name}-0.9.0-memory_leak.patch Patch1: %{name}-0.9.0-memory_leak.patch
Patch2: %{name}-0.9.0-po_remove_duplicates.patch Patch2: %{name}-0.9.0-po_remove_duplicates.patch
@ -116,74 +117,38 @@ Ukrainian language support for %{program}.
#%patch2 -p1 #%patch2 -p1
%build %build
%cmake_kde4 -d build %cmake_kde5 -d build
%make %make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build %makeinstall -C build
%find_lang %{name} %find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang
%find_lang plasma_applet_%{name}
cat plasma_applet_%{name}.lang >> %{name}.lang
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang %files -f %{name}5_qt.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_kde4_bindir}/rsibreak %{_sysconfdir}/xdg/autostart/rsibreak_autostart.desktop
%{_kde4_autostartdir}/rsibreak.desktop %{_kde5_bindir}/rsibreak
%{_kde4_datadir}/desktoptheme/default/widgets/rsibreak.svg %{_datadir}/knotifications5/rsibreak.notifyrc
%dir %{_kde4_datadir}/rsibreak %{_kde5_dbusinterfacesdir}/org.rsibreak.rsiwidget.xml
%dir %{_kde4_datadir}/rsibreak/* %{_kde5_icondir}/hicolor/*/*/*.png
%{_kde4_dbusinterfacesdir}/org.rsibreak.rsiwidget.xml %{_kde5_xdgappsdir}/rsibreak.desktop
%{_kde4_icondir}/hicolor/*/*/*.png %lang(en) %{_docdir}/HTML/en/rsibreak
%{_kde4_libdir}/kde4/plasma_applet_rsibreak.so %lang(it) %{_docdir}/HTML/it/rsibreak/
%{_kde4_libdir}/kde4/plasma_engine_rsibreak.so %lang(nl) %{_docdir}/HTML/nl/rsibreak/
%{_kde4_servicesdir}/plasma-applet-rsibreak.desktop %lang(pt_BR) %{_docdir}/HTML/pt_BR/rsibreak/
%{_kde4_servicesdir}/plasma-engine-rsibreak.desktop %lang(sv) %{_docdir}/HTML/sv/rsibreak/
%{_kde4_xdgappsdir}/rsibreak.desktop %lang(uk) %{_docdir}/HTML/uk/rsibreak/
%doc %{_kde4_htmldir}/en/rsibreak/ %doc COPYING COPYING.DOC AUTHORS
%doc AUTHORS COPYING ChangeLog HACKING NEWS TODO
%files i18n-es
%defattr(-,root,root)
%doc %{_kde4_htmldir}/es/rsibreak/
%files i18n-et
%defattr(-,root,root)
%doc %{_kde4_htmldir}/et/rsibreak/
%files i18n-fr
%defattr(-,root,root)
%doc %{_kde4_htmldir}/fr/rsibreak/
%files i18n-it
%defattr(-,root,root)
%doc %{_kde4_htmldir}/it/rsibreak/
%files i18n-nl
%defattr(-,root,root)
%doc %{_kde4_htmldir}/nl/rsibreak/
%files i18n-pt
%defattr(-,root,root)
%doc %{_kde4_htmldir}/pt/rsibreak/
%files i18n-pt_BR
%defattr(-,root,root)
%doc %{_kde4_htmldir}/pt_BR/rsibreak/
%files i18n-sv
%defattr(-,root,root)
%doc %{_kde4_htmldir}/sv/rsibreak/
%files i18n-uk
%defattr(-,root,root)
%doc %{_kde4_htmldir}/uk/rsibreak/
%changelog %changelog
* Thu Aug 04 2016 Automatic Build System <autodist@mambasoft.it> 0.12.3-1mamba
- automatic version update by autodist
* Thu Sep 15 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11-2mamba * Thu Sep 15 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11-2mamba
- remove obsolete for rsibreak-i18n-nl which is instead provided - remove obsolete for rsibreak-i18n-nl which is instead provided