From d9521da7b8b0098d13c5d2872937b451b0094cf0 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Thu, 26 Dec 2013 15:31:53 +0100 Subject: [PATCH] - new, based on kde4-kdesdk --- kde4-umbrello.spec | 117 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 kde4-umbrello.spec diff --git a/kde4-umbrello.spec b/kde4-umbrello.spec new file mode 100644 index 0000000..fea78cd --- /dev/null +++ b/kde4-umbrello.spec @@ -0,0 +1,117 @@ +# +# TODO: +# - add man files +# +%define orgname umbrello +%define _state stable +%define qtver 4.8.1 + +Summary: UML Modeler +Summary(pl.UTF-8): Modeler UML +Name: kde4-%{orgname} +Version: 4.12.0 +Release: 1 +License: GPL +Group: X11/Development/Tools +Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz +# Source0-md5: 97b2f51d76b71f6f4efe98a1ee1b76ee +URL: http://www.kde.org/ +BuildRequires: QtNetwork-devel >= %{qtver} +BuildRequires: QtScriptTools-devel >= %{qtver} +BuildRequires: automoc4 >= 0.9.88 +BuildRequires: boost-devel +BuildRequires: bzip2-devel +BuildRequires: cmake >= 2.8.0 +BuildRequires: db-devel +BuildRequires: docbook-dtd42-xml +BuildRequires: docbook-style-xsl +BuildRequires: gettext-devel +BuildRequires: hunspell-devel +BuildRequires: kde4-kdebase-devel >= %{version} +BuildRequires: kde4-kdepimlibs-devel >= %{version} +BuildRequires: libxml2-devel +BuildRequires: libxslt-devel +BuildRequires: qca-devel >= 2.0.0 +BuildRequires: qt4-build >= %{qtver} +BuildRequires: qt4-qmake >= %{qtver} +BuildRequires: rpm-pythonprov +BuildRequires: rpmbuild(macros) >= 1.600 +BuildRequires: shared-mime-info +BuildRequires: utempter-devel +BuildRequires: xorg-lib-libXpm-devel +BuildRequires: xorg-lib-libXtst-devel +Obsoletes: kde4-kdesdk-%{orgname} +Obsoletes: umbrello +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Umbrello UML Modeller is a UML diagram tool that can support you in +the software development process. Especially during the analysis and +design phases of this process, Umbrello UML Modeller will help you to +get a high quality product. UML can also be used to document your +software designs to help you and your fellow developers. + +UML is the diagramming language used to describing such models. You +can represent your ideas in UML using different types of diagrams. +Umbrello UML Modeller 1.2 supports the following types: +- class Diagram +- sequence Diagram +- collaboration Diagram +- use Case Diagram +- state Diagram +- activity Diagram +- component Diagram + +%description -l pl.UTF-8 +Modeler UML Umbrello to narzędzie do diagramów UML pomagające w +procesie tworzenia oprogramowania. Szczególnie podczas etapów analizy +i projektowania, modeler UML Umbrello może pomóc w uzyskaniu wysokiej +jakości produktu. UML może być używany do dokumentowania projektu +programu, aby pomóc programiście i jego współpracownikom. + +UML to język diagramów używany do opisu takich modeli. Można +przedstawiać idee w UML-u przy użyciu różnych rodzajów diagramów. +Modeler UML Umbrello 1.2 obsługuje następujące rodzaje: + - diagram klas + - diagram sekwencji + - diagram współpracy + - diagram przypadków użycia + - diagram stanów + - diagram aktywności + - diagram składników. + +%prep +%setup -q -n %{orgname}-%{version} + +%build +install -d build +cd build +%cmake \ + ../ + +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +install -d $RPM_BUILD_ROOT{%{_gimpdir}/palettes,%{_appdefsdir}} + +%{__make} -C build install \ + DESTDIR=$RPM_BUILD_ROOT \ + kde_htmldir=%{_kdedocdir} + +rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor + +%find_lang %{orgname} --with-kde + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f %{orgname}.lang +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/umbrello +%{_datadir}/apps/umbrello +%{_desktopdir}/kde4/umbrello.desktop +%{_iconsdir}/*/*x*/*/umbrello*.* +%{_iconsdir}/*/*/mimetypes/application-x-uml.png +%{_iconsdir}/hicolor/scalable/apps/umbrello.svgz -- 2.44.0