kdissert/kdissert.spec

Name: kdissert
Summary: Mindmapping tool for creating texts
Version: 0.2.7
Release: 1.2
License: GPL
Group: Applications/Productivity
URL: http://freehackers.org/~tnagy/kdissert/
Description: Kdissert is a mind-mapping tool for helping students to create texts like dissertations, reports and thesis

CentOS 7 x86_64

The build could not start because the following file is missing: kdissert-0.2.7.tar.bz2

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: kdissert-0.2.7.tar.bz2

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: <tnagy256$yahoo,fr>


%{?rh7:%define _without_freedesktop 1}
%{?el2:%define _without_freedesktop 1}
%{?rh6:%define _without_freedesktop 1}

%define desktop_vendor rpmforge

Summary: Mindmapping tool for creating texts
Name: kdissert
Version: 0.2.7
Release: 1.2%{?dist}
License: GPL
Group: Applications/Productivity
URL: http://freehackers.org/~tnagy/kdissert/

Source: http://freehackers.org/~tnagy/kdissert/kdissert-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: kdelibs-devel

%description
Kdissert is a mind-mapping tool for helping students to create texts
like dissertations, reports and thesis

%prep
%setup

%{__cat} <<EOF >kdissert.desktop
[Desktop Entry]
Name=KDissert Mind-mapping Tool
Comment=Helps to create structured text documents
Exec=kdissert
Icon=kdissert.png
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Application;Office;TextEditor;
StartupNotify=true
EOF

%build
source "/etc/profile.d/qt.sh"
%{__libtoolize} --force --copy
#%{__aclocal} --force
%{__automake} --add-missing
%{__autoconf}
%{__autoheader}
%configure
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
source "/etc/profile.d/qt.sh"
%makeinstall
%find_lang %{name}

%{__install} -Dp -m0644 src/hi128-app-kdissert.png %{buildroot}%{_datadir}/pixmaps/kdissert.png

%if %{?_without_freedesktop:1}0
	%{__install} -Dp -m0644 kdissert.desktop %{buildroot}%{_datadir}/applications/kdissert.desktop
%else
	%{__install} -d -m0755 %{buildroot}%{_datadir}/applications/
	desktop-file-install --vendor %{desktop_vendor}    \
		--dir %{buildroot}%{_datadir}/applications \
		--add-category X-Red-Hat-Base              \
		kdissert.desktop
%endif

%clean
%{__rm} -rf %{buildroot}

%post
/sbin/ldconfig 2>/dev/null

%postun
/sbin/ldconfig 2>/dev/null

%files -f %{name}.lang
%defattr(-, root, root, 0755)
%doc AUTHORS COPYING README
%doc %{_docdir}/HTML/en/kdissert/
%{_bindir}/kdissert
%exclude %{_libdir}/libkdiss*.la
%{_datadir}/applications/kde/kdissert.desktop
%{_datadir}/applnk/Utilities/kdissert.desktop
%{_datadir}/apps/kdissert/
%{_datadir}/config.kcfg/kdissert.kcfg
%{_datadir}/icons/crystalsvg/*/actions/kdissert_*.png
%{_datadir}/icons/hicolor/*/apps/kdissert.png
%{_datadir}/mimelnk/application/x-kdissert.desktop
%{_datadir}/pixmaps/kdissert.png
%{_libdir}/libkdiss*.so
%{!?_without_freedesktop:%{_datadir}/applications/%{desktop_vendor}-kdissert.desktop}
%{?_without_freedesktop:%{_datadir}/gnome/apps/Applications/kdissert.desktop}

%changelog
* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 0.2.7-1.2
- Rebuild for Fedora Core 5.

* Tue Nov 02 2004 Dag Wieers <dag@wieers.com> - 0.2.7-1
- Updated to release 0.2.7.

* Thu Jul 22 2004 Dag Wieers <dag@wieers.com> - 0.2.5-1
- Initial package. (using DAR)