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