apollon/apollon.spec

Name: apollon
Summary: KDE filesharing client which uses gift
Version: 1.0.1
Release: 2
License: GPL
Group: Applications/Internet
URL: http://apollon.sourceforge.net/
Description: Apollon is a KDE filesharing client which uses gift.

CentOS 7 x86_64

The build could not start because of the following missing build requirements:

Build Status

CentOS 6 x86_64

The build could not start because of the following missing build requirements:

Build Status

Contents

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

# $Id$
# Authority: dries

# Screenshot: http://apollon.sourceforge.net/apollon1.png
# ScreenshotURL: http://apollon.sourceforge.net/pictures.html

# ExcludeDist: el3 fc1


%define desktop_vendor rpmforge

Summary: KDE filesharing client which uses gift
Name: apollon
Version: 1.0.1
Release: 2%{?dist}
License: GPL
Group: Applications/Internet
URL: http://apollon.sourceforge.net/

Source: http://dl.sf.net/apollon/apollon-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: gcc, make, libpng-devel, libart_lgpl-devel
BuildRequires: arts-devel, gcc-c++, gettext
BuildRequires: zlib-devel, qt-devel >= 3.2, libjpeg-devel
BuildRequires: kdelibs-devel, gift-devel, desktop-file-utils
%{?el4:BuildRequires: libselinux-devel}
%{?fc4:BuildRequires: libselinux-devel}
%{?fc3:BuildRequires: libselinux-devel}
%{?fc2:BuildRequires: libselinux-devel}
Requires: kdelibs, gift

%description
Apollon is a KDE filesharing client which uses gift.

%prep
%setup

%{__cat} <<EOF >apollon.desktop
[Desktop Entry]
Name=Apollon
Comment=File Sharing Client
Exec=apollon
Type=Application
Terminal=false
Icon=apollon
Encoding=UTF-8
Categories=Application;Network;
EOF

%build
source /etc/profile.d/qt.sh
# for i in $(find . -type f | egrep '\.ui'); do sed -i 's/version="3.2"/version="3.1"/g;' $i; done
%configure \
	--x-libraries="%{_prefix}/X11R6/%{_lib}"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
source  /etc/profile.d/qt.sh
%{__install} -d -m0755 %{buildroot}%{_datadir}/apps/apollon
%makeinstall
%find_lang %{name}

%{__install} -d -m0755 %{buildroot}%{_datadir}/applications/
desktop-file-install --vendor %{desktop_vendor}   \
	--dir %{buildroot}%{_datadir}/applications \
	--add-category X-Red-Hat-Extras            \
	apollon.desktop

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

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

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

%files -f %{name}.lang
%defattr(-, root, root, 0755)
%doc README
%doc %{_docdir}/HTML/en/apollon/*
%{_bindir}/apollon
%exclude %{_libdir}/libapollon.la
%{_libdir}/libapollon.so*
%exclude %{_datadir}/applnk/Applications/Apollon.desktop
%{_datadir}/applications/%{desktop_vendor}-apollon.desktop
%{_datadir}/apps/apollon/
%{_datadir}/icons/crystalsvg/*/filesystems/folder_apollon.png
%{_datadir}/icons/*/*/actions/*.png
%{_datadir}/icons/*/*/apps/*.png

%changelog
* Thu Mar 30 2006 Dries Verachtert <dries@ulyssis.org> - 1.0.1-2
- Simplify buildequirements: kdelibs-devel already requires xorg-x11-devel/XFree86-devel

* Fri Nov 26 2004 Dries Verachtert <dries@ulyssis.org> 1.0.1-1
- Update to version 1.0.1.

* Sat Aug 21 2004 Dries Verachtert <dries@ulyssis.org> 1.0b1-1
- Update to version 1.0 beta 1.

* Thu Feb 25 2004 Dries Verachtert <dries@ulyssis.org> 0.9.2-3
- moved the apollon menu entry to 'more internet applications'
  bug found by Sindre Pedersen Bjørda, thanks!

* Wed Feb 25 2004 Dries Verachtert <dries@ulyssis.org> 0.9.2-2
- removed the dependencies on gift plugins
  bug found by Sindre Pedersen Bjørda, thanks!

* Wed Feb 4 2004 Dries Verachtert <dries@ulyssis.org> 0.9.2-1
- update to version 0.9.2

* Sat Jan 10 2004 Dries Verachtert <dries@ulyssis.org> 0.9.1-2
- spec file cleanup
- other desktop file

* Mon Dec 29 2003 Dries Verachtert <dries@ulyssis.org> 0.9.1-1
- first packaging for Fedora Core 1