forked from pool/umbrello
Accepting request 182113 from KDE:Distro:Factory
Update KDE to KDE 4.10.90 OBS-URL: https://build.opensuse.org/request/show/182113 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umbrello?expand=0&rev=1
This commit is contained in:
74
umbrello.spec
Normal file
74
umbrello.spec
Normal file
@@ -0,0 +1,74 @@
|
||||
#
|
||||
# spec file for package umbrello (Version 4.7.80_20111122)
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
Name: umbrello
|
||||
BuildRequires: libkde4-devel
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: subversion-devel
|
||||
License: GPL-2.0 and GFDL-1.2
|
||||
Group: Development/Tools/Other
|
||||
Summary: UML Modeller
|
||||
Url: http://www.kde.org/
|
||||
Version: 4.10.90
|
||||
Release: 1
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Provides: kde4-umbrello = 4.3.0
|
||||
Obsoletes: kde4-umbrello < 4.3.0
|
||||
%kde4_runtime_requires
|
||||
|
||||
%description
|
||||
Umbrello is a UML modelling application.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
%ifarch ppc64
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mminimal-toc"
|
||||
%endif
|
||||
export CXXFLAGS="$RPM_OPT_FLAGS -fPIC"
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
||||
%cmake_kde4 -d build -- -DCMAKE_CXXFLAGS="$RPM_OPT_FLAGS" -DCMAKE_CFLAGS="$RPM_OPT_FLAGS"
|
||||
#make_jobs
|
||||
make
|
||||
|
||||
%install
|
||||
cd build
|
||||
%makeinstall
|
||||
%suse_update_desktop_file umbrello Development Design
|
||||
%kde_post_install
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING COPYING.DOC README
|
||||
%{_kde4_bindir}/umbrello
|
||||
%{_kde4_applicationsdir}/umbrello.desktop
|
||||
%{_kde4_htmldir}/en/umbrello
|
||||
%{_kde4_iconsdir}/hicolor/*/apps/umbrello.*
|
||||
%{_kde4_iconsdir}/hicolor/*/mimetypes/application-x-uml.*
|
||||
%{_kde4_appsdir}/umbrello/
|
||||
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user