]> git.pld-linux.org Git - SPECS.git/blob - qfaktury.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / qfaktury.spec
1 Summary:        Free software for creating, managing, and printing invoices
2 Summary(pl.UTF-8):      Darmowy i wszechstronny system fakturujący
3 Name:           qfaktury
4 Version:        0.6.2
5 Release:        2
6 License:        GPL v3
7 Group:          X11/Applications
8 Source0:        http://dl.sourceforge.net/sourceforge/qfaktury/%{name}-%{version}.tar.gz
9 # Source0-md5:  047f8239bf6187c9da9b69f90f284c15
10 Patch0:         %{name}-desktop.patch
11 Patch1:         build.patch
12 ##              Patch for / in prefix
13 Patch2:         qfaktury-prefix_with_slash.patch
14 URL:            http://qfaktury.sourceforge.net/
15 BuildRequires:  qt4-build
16 BuildRequires:  qt4-qmake
17 BuildRequires:  Qt3Support-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 QFaktury is a software for creating, managing, and printing invoices.
22 It also maintains a database for contractor information, and a
23 database for product information. QFaktury was created for a Polish
24 financial system, but it can be useful in other countries with or
25 without small modifications.
26
27 %description -l pl.UTF-8
28 QFaktury to całkowicie darmowy i wszechstronny system fakturujący
29 pracujący pod kontrolą systemu Linux. Umożliwia on drukowanie faktur,
30 faktur pro forma i korekt, a także łatwe zarządzanie fakturami,
31 towarami i baza kontrahentów. Za pomocą programu QFaktury możliwe jest
32 również przygotowanie faktury w formacie PDF czy XML. System integruje
33 się z programem e-Przelewy.
34
35 %prep
36 %setup -q 
37 #%patch0 -p1
38 %patch1 -p1
39 %patch2 -p0
40 sed -i -e 's|/usr/lib/qt4/mkspecs|/usr/share/qt4/mkspecs|g' Makefile
41
42 %build
43 %{__make} \
44         QMAKE=/usr/bin/qmake-qt4 \
45         CXXFLAGS="%{rpmcxxflags}"
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_desktopdir}
50
51 %{__make} install \
52         INSTALL_ROOT=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc ReadMe.txt
60 %attr(755,root,root) %{_bindir}/qfaktury
61 %{_datadir}/qfaktury
62 %{_desktopdir}/QFaktury.desktop
This page took 0.043288 seconds and 3 git commands to generate.