|
|
8bd6414 |
Name: kdissert
|
|
|
bec48a3 |
Version: 1.0.7
|
|
|
b9929ac |
Release: 3%{?dist}
|
|
|
8bd6414 |
Summary: Mind-mapping tool for KDE
|
|
|
8bd6414 |
|
|
|
8bd6414 |
Group: Applications/Productivity
|
|
|
8bd6414 |
License: GPL
|
|
|
8bd6414 |
URL: http://freehackers.org/~tnagy/kdissert/
|
|
|
83db081 |
Source0: http://freehackers.org/~tnagy/%{name}/%{name}-%{version}.tar.bz2
|
|
|
8bd6414 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
8bd6414 |
|
|
|
f447e17 |
BuildRequires: kdelibs-devel, desktop-file-utils, gettext
|
|
|
8bd6414 |
Requires(post): desktop-file-utils
|
|
|
8bd6414 |
Requires(postun): desktop-file-utils
|
|
|
8bd6414 |
|
|
|
8bd6414 |
%description
|
|
|
8bd6414 |
Kdissert is a mindmapping-like tool to help students to produce complicated
|
|
|
8bd6414 |
documents very quickly and efficiently : presentations, dissertations,
|
|
|
8bd6414 |
thesis, reports, etc. The concept is innovative : mindmaps produced using
|
|
|
8bd6414 |
kdissert are processed to output near-ready-to-use documents. While
|
|
|
8bd6414 |
targetted mostly at students, kdissert can also help teachers, decision
|
|
|
8bd6414 |
makers, engineers and businessmen.
|
|
|
8bd6414 |
|
|
|
8bd6414 |
|
|
|
f447e17 |
%prep
|
|
|
83db081 |
%setup -q
|
|
|
83db081 |
export CFLAGS="$RPM_OPT_FLAGS"
|
|
|
83db081 |
export CXXFLAGS="$RPM_OPT_FLAGS"
|
|
|
03634c4 |
|
|
|
03634c4 |
|
|
|
03634c4 |
%build
|
|
|
bec48a3 |
./waf configure \
|
|
|
f447e17 |
--prefix=%{_prefix} \
|
|
|
f447e17 |
--execprefix=%{_exec_prefix} \
|
|
|
f447e17 |
--datadir=%{_datadir} \
|
|
|
83db081 |
--libdir=%{_libdir} \
|
|
|
83db081 |
--want-rpath=0
|
|
|
bec48a3 |
./waf build %{?_smp_mflags}
|
|
|
8bd6414 |
|
|
|
8bd6414 |
|
|
|
8bd6414 |
%install
|
|
|
8bd6414 |
rm -rf $RPM_BUILD_ROOT
|
|
|
bec48a3 |
./waf install --destdir=$RPM_BUILD_ROOT
|
|
|
8bd6414 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
|
|
|
8bd6414 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/applnk
|
|
|
8bd6414 |
desktop-file-install \
|
|
|
8bd6414 |
--delete-original \
|
|
|
8bd6414 |
--vendor fedora \
|
|
|
8bd6414 |
--dir %{buildroot}%{_datadir}/applications/kde \
|
|
|
8bd6414 |
--remove-category X-KDE-More \
|
|
|
8bd6414 |
--remove-category Utility \
|
|
|
8bd6414 |
--add-category Office \
|
|
|
8bd6414 |
--add-category X-Fedora \
|
|
|
8bd6414 |
--remove-key DocPath \
|
|
|
8bd6414 |
$RPM_BUILD_ROOT%{_datadir}/applications/kde/%{name}.desktop
|
|
|
8bd6414 |
%find_lang %{name}
|
|
|
8bd6414 |
|
|
|
8bd6414 |
|
|
|
8bd6414 |
%post
|
|
|
8bd6414 |
update-desktop-database &> /dev/null ||:
|
|
|
8bd6414 |
touch --no-create %{_datadir}/icons/hicolor || :
|
|
|
8bd6414 |
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
|
8bd6414 |
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
8bd6414 |
fi
|
|
|
8bd6414 |
|
|
|
8bd6414 |
|
|
|
8bd6414 |
%postun
|
|
|
8bd6414 |
update-desktop-database &> /dev/null ||:
|
|
|
8bd6414 |
touch --no-create %{_datadir}/icons/hicolor || :
|
|
|
8bd6414 |
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
|
8bd6414 |
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
8bd6414 |
fi
|
|
|
8bd6414 |
|
|
|
8bd6414 |
|
|
|
8bd6414 |
%clean
|
|
|
8bd6414 |
rm -rf $RPM_BUILD_ROOT
|
|
|
8bd6414 |
|
|
|
8bd6414 |
|
|
|
8bd6414 |
%files -f %{name}.lang
|
|
|
8bd6414 |
%defattr(-,root,root,-)
|
|
|
bec48a3 |
%doc AUTHORS COPYING README ROADMAP
|
|
|
8bd6414 |
%{_bindir}/*
|
|
|
8bd6414 |
%{_libdir}/kde*/*
|
|
|
8bd6414 |
%{_datadir}/apps/*
|
|
|
8bd6414 |
%{_datadir}/applications/kde/*.desktop
|
|
|
8bd6414 |
%{_datadir}/mimelnk/*/*.desktop
|
|
|
8bd6414 |
%{_datadir}/services/*.desktop
|
|
|
8bd6414 |
%{_datadir}/icons/*/*x*/*/*.png
|
|
|
8bd6414 |
%{_datadir}/config.kcfg/*
|
|
|
8bd6414 |
|
|
|
8bd6414 |
|
|
|
8bd6414 |
%changelog
|
|
|
b9929ac |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.7-3
|
|
|
b9929ac |
- Autorebuild for GCC 4.3
|
|
|
b9929ac |
|
|
|
5d1a045 |
* Fri Aug 31 2007 Lubomir Kundrak <lkundrak@redhat.com> - 1.0.7-2
|
|
|
03634c4 |
- Configuring belongs to the build phase.
|
|
|
03634c4 |
|
|
|
bec48a3 |
* Sun Dec 17 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.0.7-1
|
|
|
bec48a3 |
- Upstream 1.0.7
|
|
|
bec48a3 |
- Fixes for updated waf script
|
|
|
bec48a3 |
|
|
|
83db081 |
* Sun Sep 03 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.0.6b-1
|
|
|
83db081 |
- Version 1.0.6b
|
|
|
83db081 |
- Move flags to configure stage
|
|
|
83db081 |
- We don't want rpath, thanks
|
|
|
83db081 |
|
|
|
f447e17 |
* Sat Jul 22 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.0.6-1
|
|
|
f447e17 |
- Version 1.0.6
|
|
|
f447e17 |
- No longer using scons
|
|
|
f447e17 |
- Rework to use the shipped-with waf
|
|
|
f447e17 |
- BR gettext
|
|
|
f447e17 |
|
|
|
675a55a |
* Mon Feb 13 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.0.5-1.1
|
|
|
675a55a |
- FC5 Rebuild.
|
|
|
675a55a |
|
|
|
4cfe424 |
* Fri Oct 28 2005 Konstantin Ryabitsev <icon@fedoraproject.org> 1.0.5-1
|
|
|
4cfe424 |
- Extras rebuild.
|
|
|
4cfe424 |
|
|
|
8bd6414 |
* Mon Oct 24 2005 Konstantin Ryabitsev <icon@fedoraproject.org> 1.0.5-0.4
|
|
|
8bd6414 |
- Update the tarball to match the upstream version.
|
|
|
8bd6414 |
|
|
|
8bd6414 |
* Fri Oct 21 2005 Konstantin Ryabitsev <icon@fedoraproject.org> 1.0.5-0.3
|
|
|
8bd6414 |
- Remove rpath from SConstruct
|
|
|
8bd6414 |
|
|
|
8bd6414 |
* Thu Oct 20 2005 Konstantin Ryabitsev <icon@fedoraproject.org> 1.0.5-0.2
|
|
|
8bd6414 |
- Do not install icon into pixmaps
|
|
|
8bd6414 |
- Use post/postun to handle icon cache
|
|
|
8bd6414 |
|
|
|
8bd6414 |
* Thu Oct 20 2005 Konstantin Ryabitsev <icon@fedoraproject.org> 1.0.5-0.1
|
|
|
8bd6414 |
- Initial packaging
|
|
|
8bd6414 |
|