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

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Thu May 18 19:45:44 UTC 2006


Author: rdieter

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

Modified Files:
	.cvsignore sources 
Added Files:
	kphotoalbum.spec 
Log Message:
auto-import kphotoalbum-2.2-1 on branch devel from kphotoalbum-2.2-1.src.rpm


--- NEW FILE kphotoalbum.spec ---

Summary: KDE Photo Album 
Name:	 kphotoalbum
Version: 2.2
Release: 1%{?dist}

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

Obsoletes: kimdaba < %{version}

BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: libkipi-devel 
BuildRequires: qt-devel
BuildRequires: kdelibs-devel
BuildRequires: exiv2-devel

## Optional, not strictly required.
#Requires(hint): kipi-plugins

%description
A photo almbum tool.  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 \
  --disable-gcc-hidden-visibility \
  --enable-new-ldflags \
  --disable-debug --disable-warnings \
  --disable-dependancy-tracking --disable-final

make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT

make install DESTDIR=$RPM_BUILD_ROOT

desktop-file-install \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications/kde \
  --add-category "X-Fedora" --vendor="" \
  $RPM_BUILD_ROOT%{_datadir}/applications/kde/*.desktop

## File lists
# locale's
%find_lang %{name} || touch %{name}.lang
# HTML (1.0)
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
  if [ -d $lang_dir ]; then
    lang=$(basename $lang_dir)
    echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
    # replace absolute symlinks with relative ones
    pushd $lang_dir
      for i in *; do
        [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
      done
    popd
  fi
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}/apps/kphotoalbum/
%{_datadir}/applications/kde/*.desktop
%config %{_datadir}/config/*rc
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/mimelnk/*/*.desktop


%changelog
* Tue May 16 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2.2-1
- renamed kphotoalbum

* Wed Mar 1 2006 Rex Dieter <rexdieter[AT]users.sf.net>
- fc5: gcc/glibc respin

* Thu Nov 10 2005 Rex Dieter <rexdieter[AT]users.sf.net> 2.1-6
- relative symlinks
- simplify configure

* 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/kphotoalbum/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	18 May 2006 19:45:03 -0000	1.1
+++ .cvsignore	18 May 2006 19:45:44 -0000	1.2
@@ -0,0 +1 @@
+kphotoalbum-2.2.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/kphotoalbum/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	18 May 2006 19:45:03 -0000	1.1
+++ sources	18 May 2006 19:45:44 -0000	1.2
@@ -0,0 +1 @@
+0584b3d5f54d8a2e19cd7bc40967c026  kphotoalbum-2.2.tar.bz2




More information about the fedora-extras-commits mailing list