Sophie

Sophie

distrib > Mandriva > 2008.0 > x86_64 > by-pkgid > 94703cc92269b7da161839967d6c05d2 > files > 2

knowit-0.10-6mdk.src.rpm

%define	version 0.10
%define name knowit
%define release %mkrel 6

Name: %{name}
Version: %{version}
Release: %{release}
Summary: Knowledge management program for KDE
Url: http://knowit.sourceforge.net/
Source: %{name}-%{version}.tar.bz2
BuildRoot: %_tmppath/%{name}-buildroot
License: GPL
Group: Office
BuildRequires: kdelibs-devel


%description 
KnowIt is a simple tool for managing notes. It is similar to
TuxCards, but KDE-based. Notes are organized in tree-like hierarchy,
texts are in RichText format, so bold, italic and lists are supported,
with more to come.

%prep
rm -rf $RPM_BUILD_ROOT

%setup -q

%build

./configure --prefix=%_prefix --libdir=%_libdir \
%if "%{_lib}" != "lib"
	--enable-libsuffix="%(A=%{_lib}; echo ${A/lib/})"
%endif

%make

%install

%makeinstall

# Create LMDK menu entries
install -d %buildroot/%_menudir/

kdedesktop2mdkmenu.pl %name Office/Accessories %buildroot/%_datadir/applnk/Applications/* %buildroot/%_menudir/%name


%find_lang %name

%post
%update_menus

%postun
%clean_menus

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %name.lang
%defattr(-,root,root)
%_bindir/*
%_datadir/applnk/Applications/*
%_datadir/apps/%name
%_docdir/HTML/en/%name
%_iconsdir/hicolor/16x16/apps/*
%_iconsdir/hicolor/32x32/apps/*
#%_datadir/mimelnk/application/*
%_menudir/*

%changelog
* Sat Jan 07 2006 Anssi Hannula <anssi@mandriva.org> 0.10-6mdk
- fix x86_64 build

* Mon Dec 26 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.10-5mdk
- Remove redundant Buildrequires

* Fri Oct 28 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.10-4mdk
- Add BuildRequires

* Fri Oct 28 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.10-3mdk
- Fix BuildRequires

* Fri Jul 16 2004 Michael Scherer <misc@mandrake.org> 0.10-2mdk 
- rebuild for new gcc

* Fri May 07 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 0.10-1mdk
- 0.10

* Mon Dec 15 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.9-1mdk
- new