]>
Commit | Line | Data |
---|---|---|
0891d1de | 1 | Summary: Simple diary |
fb239b86 | 2 | Summary(pl.UTF-8): Prosty pamiętnik |
0891d1de TP |
3 | Name: dnevnik |
4 | Version: 1.0 | |
adc54ea9 | 5 | Release: 2 |
0891d1de TP |
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/ | |
ee592652 | 11 | BuildRequires: libstdc++-devel |
276cc65a | 12 | BuildRequires: qmake |
adc54ea9 JB |
13 | BuildRequires: qt-devel |
14 | BuildRequires: sed >= 4.0 | |
0891d1de TP |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
627a0fd8 | 18 | Moj Dnevnik is a simple diary that is written in C++ using the Qt |
0891d1de TP |
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 | ||
365ba712 JR |
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 | |
0891d1de TP |
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 | ||
adc54ea9 JB |
31 | sed -i -e 's/^\(CONFIG.*\)$/\1 thread/' dnevnik.pro |
32 | ||
0891d1de | 33 | %build |
adc54ea9 JB |
34 | qmake \ |
35 | QMAKE_CXXFLAGS_RELEASE="%{rpmcflags}" | |
36 | ||
0891d1de | 37 | %{__make} \ |
adc54ea9 | 38 | QTDIR=%{_prefix} |
0891d1de TP |
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}/* |