]> git.pld-linux.org Git - packages/dnevnik.git/blob - dnevnik.spec
- converted to UTF-8
[packages/dnevnik.git] / dnevnik.spec
1 Summary:        Simple diary
2 Summary(pl.UTF-8):   Prosty pamiętnik
3 Name:           dnevnik
4 Version:        1.0
5 Release:        2
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://www.devbase.net/dnevnik/%{name}.tar.gz
9 # Source0-md5:  1ceb91aa6cd8b7aad673bc04c5144247
10 URL:            http://www.devbase.net/dnevnik/
11 BuildRequires:  libstdc++-devel
12 BuildRequires:  qmake
13 BuildRequires:  qt-devel
14 BuildRequires:  sed >= 4.0
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Moj Dnevnik is a simple diary that is written in C++ using the Qt
19 library, so it works on Linux, *BSD, Unix, Windows, and Mac. It holds
20 all data in simple text file and the GUI is in Serbian.
21
22 %description -l pl.UTF-8
23 Moj Dnevnik jest prostym pamiętnikiem napisanym w C++ z użyciem
24 biblioteki Qt, zatem działa pod Linuksem, *BSD, Uniksem, Windowsem
25 oraz Makiem. Wszystkie dane trzyma w prostym pliku tekstowym, a GUI
26 jest po serbsku.
27
28 %prep
29 %setup -q -n %{name}
30
31 sed -i -e 's/^\(CONFIG.*\)$/\1 thread/' dnevnik.pro
32
33 %build
34 qmake \
35         QMAKE_CXXFLAGS_RELEASE="%{rpmcflags}"
36
37 %{__make} \
38         QTDIR=%{_prefix}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{_bindir}
43
44 install dnevnik $RPM_BUILD_ROOT%{_bindir}
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %attr(755,root,root) %{_bindir}/*
This page took 0.078769 seconds and 3 git commands to generate.