automatic version update by autodist [release 17.08.0-1mamba;Sat Aug 26 2017]
This commit is contained in:
parent
bd271a18df
commit
309c00ca39
@ -1,5 +1,5 @@
|
||||
Name: umbrello
|
||||
Version: 17.04.3
|
||||
Version: 17.08.0
|
||||
Release: 1mamba
|
||||
Summary: UML modelling tool and code generator
|
||||
Group: Graphical Desktop/Applications/Development
|
||||
@ -11,9 +11,8 @@ Source: http://download.kde.org/stable/applications/%{version}/src/umbrel
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: kdelibs-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libqt4-devel
|
||||
BuildRequires: libqt5-devel
|
||||
BuildRequires: libsoprano-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libxml2-devel
|
||||
@ -23,7 +22,6 @@ BuildRequires: automoc4
|
||||
BuildRequires: cmake
|
||||
Provides: umbrello4
|
||||
Obsoletes: umbrello4
|
||||
Requires: kdelibs%{?_kde4_version: >= %{_kde4_version}}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
@ -35,7 +33,7 @@ UML modelling tool and code generator. This package is part of KDE4.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%cmake_kde4 -d build \
|
||||
%cmake_kde5 -d build \
|
||||
-DKDE4_BUILD_TESTS=OFF \
|
||||
-DBUILD_UNITTESTS=OFF
|
||||
|
||||
@ -54,48 +52,39 @@ exit 0
|
||||
|
||||
%posttrans
|
||||
update-desktop-database -q >/dev/null 2>&1
|
||||
update-mime-database %{_kde4_mimedir} >/dev/null 2>&1
|
||||
gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1
|
||||
update-mime-database %{_kde5_mimedir} >/dev/null 2>&1
|
||||
gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1
|
||||
exit 0
|
||||
|
||||
%postun
|
||||
if [ $1 -eq 0 ]; then
|
||||
update-desktop-database -q >/dev/null 2>&1
|
||||
update-mime-database %{_kde4_mimedir} >/dev/null 2>&1
|
||||
touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1
|
||||
gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1
|
||||
update-mime-database %{_kde5_mimedir} >/dev/null 2>&1
|
||||
touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1
|
||||
gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_kde4_bindir}/po2xmi
|
||||
%{_kde4_bindir}/xmi2pot
|
||||
%{_kde4_bindir}/umbrello
|
||||
%{_kde4_xdgappsdir}/umbrello.desktop
|
||||
%dir %{_kde4_datadir}/umbrello
|
||||
%{_kde4_datadir}/umbrello/common.ent
|
||||
%{_kde4_datadir}/umbrello/docbook2xhtml.xsl
|
||||
%dir %{_kde4_datadir}/umbrello/headings
|
||||
%{_kde4_datadir}/umbrello/headings/*
|
||||
#%dir %{_kde4_datadir}/umbrello/icons
|
||||
#%dir %{_kde4_datadir}/umbrello/icons/hicolor/
|
||||
#%{_kde4_datadir}/umbrello/icons/hicolor/*
|
||||
%dir %{_kde4_datadir}/umbrello/layouts
|
||||
%{_kde4_datadir}/umbrello/layouts/*.desktop
|
||||
#%dir %{_kde4_datadir}/umbrello/pics
|
||||
#%{_kde4_datadir}/umbrello/pics/*
|
||||
%{_kde4_datadir}/umbrello/umbrelloui.rc
|
||||
%{_kde4_datadir}/umbrello/xmi.css
|
||||
%{_kde4_datadir}/umbrello/xmi2docbook.xsl
|
||||
%doc %lang(en) %{_kde4_htmldir}/en/umbrello/*
|
||||
#%{_kde4_datadir}/umbrello/icons/hicolor/*/actions/*.png
|
||||
%{_kde4_icondir}/hicolor/*/apps/umbrello.png
|
||||
%{_kde4_icondir}/hicolor/*/mimetypes/application-x-uml.png
|
||||
%{_kde4_icondir}/hicolor/scalable/apps/umbrello.svgz
|
||||
%{_bindir}/po2xmi5
|
||||
%{_bindir}/umbrello5
|
||||
%{_bindir}/xmi2pot5
|
||||
%{_datadir}/applications/org.kde.umbrello5.desktop
|
||||
%{_datadir}/icons/hicolor/*/apps/umbrello.png
|
||||
%{_datadir}/icons/hicolor/*/mimetypes/application-x-uml.png
|
||||
%{_datadir}/icons/hicolor/scalable/apps/umbrello.svgz
|
||||
%{_datadir}/metainfo/org.kde.umbrello.appdata.xml
|
||||
%dir %{_datadir}/umbrello5
|
||||
%{_datadir}/umbrello5/*
|
||||
%dir %{_datadir}/doc/HTML/en/umbrello
|
||||
%{_datadir}/doc/HTML/en/umbrello/*
|
||||
%doc AUTHORS COPYING COPYING.DOC THANKS
|
||||
|
||||
%changelog
|
||||
* Sat Aug 26 2017 Automatic Build System <autodist@mambasoft.it> 17.08.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Aug 09 2017 Automatic Build System <autodist@mambasoft.it> 17.04.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user