File qfaktury.spec of Package qfaktury

# spec file for package qfaktury (0.6.2_1)
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# norootforbuild
Packager:	Mariusz Fik <>

Summary:	Free software for creating, managing, and printing invoices
Name:		qfaktury
Version:	0.6.2_1
Release:	1
License:	GPL v3
Group:		Productivity/Office/Finance
Source1:	qfaktury.desktop
Patch0:		remove_local_prefix.patch
BuildRequires:	libqt4-devel fdupes update-desktop-files
BuildRoot:	%{_tmppath}/%{name}-%{version}-build

QFaktury is a software for creating, managing, and printing invoices.
It also maintains a database for contractor information, and a
database for product information. QFaktury was created for a Polish
financial system, but it can be useful in other countries with or
without small modifications.

%description -l pl
QFaktury to całkowicie darmowy i wszechstronny system fakturujący
pracujący pod kontrolą systemu Linux. Umożliwia on drukowanie faktur,
faktur pro forma i korekt, a także łatwe zarządzanie fakturami,
towarami i baza kontrahentów. Za pomocą programu QFaktury możliwe jest
również przygotowanie faktury w formacie PDF czy XML. System integruje
się z programem e-Przelewy.

%setup -q -n %{name}-%{version}

rm -rf build

#mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/icons
#mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/templates
#%{__install} -Dp -m 0644 icons/* $RPM_BUILD_ROOT%{_datadir}/%{name}/icons
#%{__install} -Dp -m 0644 templates/* $RPM_BUILD_ROOT%{_datadir}/%{name}/templates
%{__install} -D -m 644 icons/qfaktury_128.png "$RPM_BUILD_ROOT%{_datadir}/pixmaps/qfaktury.png"
%{__install} -D -m 644 %{SOURCE1} "$RPM_BUILD_ROOT%{_datadir}/applications/qfaktury.desktop"
%{__rm} "$RPM_BUILD_ROOT%{_datadir}/applications/QFaktury.desktop"
%suse_update_desktop_file $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop

%{__rm} -rf $RPM_BUILD_ROOT

%doc ChangeLog.txt Copyright.txt plans.txt ReadMe.txt
%dir %{_datadir}/qfaktury
%dir %{_datadir}/%{name}/icons
%dir %{_datadir}/%{name}/templates
#%dir %{_datadir}/applications
#%dir %{_datadir}/pixmaps

* Thu Jul 16 2009 Mariusz Fik <> - 0.6.2_1
  - upstream update
* Tue Feb 10 2009 Mariusz Fik <> - 0.5.0
 - initial package, upstream version
openSUSE Build Service is sponsored by