rpms/kimdaba/devel kimdaba.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Sun Oct 23 11:23:41 UTC 2005


Author: rdieter

Update of /cvs/extras/rpms/kimdaba/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2226/devel

Modified Files:
	.cvsignore sources 
Added Files:
	kimdaba.spec 
Log Message:
auto-import kimdaba-2.1-4 on branch devel from kimdaba-2.1-4.src.rpm


--- NEW FILE kimdaba.spec ---

Summary: KDE Image Database
Name:	 kimdaba
Version: 2.1
Release: 4%{?dist}

License: GPL
Group:   Applications/Multimedia 
URL:	 http://ktown.kde.org/kimdaba/
Source:	 http://ktown.kde.org/kimdaba/download/kimdaba-2.1.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: libkipi-devel 
BuildRequires: libkexif-devel
BuildRequires: qt-devel >= 1:3.3
BuildRequires: kdelibs-devel >= 6:3.3

Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils

# Optional
# Requires: kipi-plugins


%description
An image database tool.  KimDaBa focuses on three key points:
  * It must be easy to describe a number of images at a time. 
  * It must be easy to search for images. 
  * It must be easy to browse and View the images.

Can (optionally) use kipi-plugins


%prep
%setup -q -n %{name}-%{version}%{?beta}


%build
unset QTDIR || : ; . /etc/profile.d/qt.sh
export QTLIB=${QTDIR}/lib QTINC=${QTDIR}/include

%configure \
  --disable-rpath \
  %{?debug:  --enable-debug --enable-warnings } \
  %{!?debug: --disable-debug --disable-warnings --enable-final --disable-dependency-tracking } 

make %{?_smp_mflags}



%install
rm -rf $RPM_BUILD_ROOT

make install DESTDIR=$RPM_BUILD_ROOT

desktop-file-install --vendor fedora --delete-original \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  --add-category "X-Fedora" \
  --add-category "Viewer" \
  --add-category "Application" \
  $RPM_BUILD_ROOT%{_datadir}/appl*/*/*.desktop

## File lists
# locale's
%find_lang %{name} || touch %{name}.lang
# HTML
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then
for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do
  lang=$(basename $lang_dir)
  echo "%lang($lang) %doc $HTML_DIR/$lang/*" >> %{name}.lang
done
fi


%clean
rm -rf $RPM_BUILD_ROOT


%post
touch --no-create %{_datadir}/icons/hicolor ||:
gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :

%postun
touch --no-create %{_datadir}/icons/hicolor ||:
gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :


%files -f %{name}.lang
%defattr(-,root,root)
%doc ChangeLog COPYING README TODO
%{_bindir}/*
%{_datadir}/applications/*.desktop
%{_datadir}/apps/%{name}
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/mimelnk/*/*.desktop


%changelog
* Sat Oct 22 2005 Rex Dieter <rexdieter[AT]users.sf.net> 2.1-4
- --add-category Application

* Sat Oct 22 2005 Rex Dieter <rexdieter[AT]users.sf.net> 2.1-3
- %%doc: COPYING
- Req(post,postun): update-desktop-database
- gtk-update-icon-cache
- remove unused crud (kde-redhat bits)
- Group: Applications/Multimedia
- drop %%{?debug_package} conditionals

* Sat Oct 22 2005 Rex Dieter <rexdieter[AT]users.sf.net> 2.1-2
- icon/mime spec

* Tue May 3 2005 Rex Dieter <rexdieter[AT]users.sf.net> 2.1-1
- real-deal 2.1 release (including -i18n bits)

* Mon May 2 2005 Rex Dieter <rexdieter[AT]users.sf.net> 2.1-0
- 2.1 (pre) release

* Mon Nov 15 2004 Rex Dieter <rexdieter[AT]users.sf.net> 2.0-0.fdr.1
- 2.0

* Fri Feb 27 2004 Rex Dieter <rexdieter at sf.net> 0:1.1-0.fdr.0
- first try



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/kimdaba/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	23 Oct 2005 11:22:22 -0000	1.1
+++ .cvsignore	23 Oct 2005 11:23:39 -0000	1.2
@@ -0,0 +1 @@
+kimdaba-2.1.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/kimdaba/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	23 Oct 2005 11:22:22 -0000	1.1
+++ sources	23 Oct 2005 11:23:39 -0000	1.2
@@ -0,0 +1 @@
+5c8b3e1d806c069830e893e5a433234a  kimdaba-2.1.tar.bz2




More information about the fedora-extras-commits mailing list