rpms/qalculate-kde/devel qalculate-kde.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Deji Akingunola (deji) fedora-extras-commits at redhat.com
Fri Oct 14 17:46:10 UTC 2005


Author: deji

Update of /cvs/extras/rpms/qalculate-kde/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18652/devel

Modified Files:
	.cvsignore sources 
Added Files:
	qalculate-kde.spec 
Log Message:
auto-import qalculate-kde-0.8.2-2 on branch devel from qalculate-kde-0.8.2-2.src.rpm


--- NEW FILE qalculate-kde.spec ---
Summary: A multi-purpose desktop calculator for GNU/Linux
Name: qalculate-kde
Version: 0.8.2
Release: 2
License: GPL
Group: Applications/Engineering
URL: http://qalculate.sourceforge.net/
Source0: http://dl.sf.net/qalculate/qalculate-kde-%{version}.tar.gz
BuildRoot: %{_tmppath}/qalculate-kde-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libqalculate-devel, kdelibs-devel, gettext
Requires: gnuplot

%description
Qalculate! is a modern multi-purpose desktop calculator for GNU/Linux. It is
small and simple to use but with much power and versatility underneath.
Features include customizable functions, units, arbitrary precision, plotting.

This package provides a QT/KDE graphical interface for Qalculate! 

%prep
%setup -q 

%build
unset QTDIR || : ; . %{_sysconfdir}/profile.d/qt.sh
export QTLIB=${QTDIR}/lib QTINC=${QTDIR}/include
%configure --disable-rpath
make %{?_smp_mflags}
										
%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install

desktop-file-install --delete-original \
	--vendor fedora					\
	--dir %{buildroot}%{_datadir}/applications	\
	--mode 0644					\
	--add-category Application			\
	--add-category X-Fedora				\
        %{buildroot}%{_datadir}/applnk/Utilities/qalculate_kde.desktop

%find_lang qalculate_kde || touch qalculate_kde.lang
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d %{buildroot}$HTML_DIR ]; then
	for lang_dir in %{buildroot}$HTML_DIR/* ; do
		lang=$(basename $lang_dir)
		echo "%lang($lang) %doc $HTML_DIR/$lang/*" >> qalculate_kde.lang
	done
fi

rm -rf %{buildroot}/%{_bindir}/qalculate

%clean
rm -rf %{buildroot}

%files -f qalculate_kde.lang
%defattr(-, root, root,-)
%doc AUTHORS ChangeLog COPYING
%{_bindir}/qalculate-kde
%{_datadir}/applications/fedora-qalculate_kde.desktop
%{_datadir}/apps/qalculate_kde/
%{_datadir}/icons/hicolor/*/apps/*

%changelog
* Thu Oct 13 2005 Paul Howarth <paul at city-fan.org> - 0.8.2-2
- Rationalise buildreqs and runtime dependencies
- Rationalise desktop entries
- Use standard Fedora Extras idioms for QT env setup & file lists
- Add %%clean section
- Don't generate rpaths
- Don't include empty TODO file

* Tue Oct 11 2005 Deji Akingunola <deji.aking at gmail.com> - 0.8.2-1
- Upgraded to new version
- Install the desktop file
- Miscellaneous spec file cleanup

* Wed Oct 05 2005 Deji Akingunola <deji.aking at gmail.com> - 0.8.1.1
- Initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/qalculate-kde/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	14 Oct 2005 17:45:36 -0000	1.1
+++ .cvsignore	14 Oct 2005 17:46:08 -0000	1.2
@@ -0,0 +1 @@
+qalculate-kde-0.8.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/qalculate-kde/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	14 Oct 2005 17:45:36 -0000	1.1
+++ sources	14 Oct 2005 17:46:08 -0000	1.2
@@ -0,0 +1 @@
+3d55edc4b11af3e202358688ce409ecd  qalculate-kde-0.8.2.tar.gz




More information about the fedora-extras-commits mailing list