2 Summary(pl.UTF-8): Prosty pamiętnik
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
13 BuildRequires: qt-devel
14 BuildRequires: sed >= 4.0
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
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
31 sed -i -e 's/^\(CONFIG.*\)$/\1 thread/' dnevnik.pro
35 QMAKE_CXXFLAGS_RELEASE="%{rpmcflags}"
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{_bindir}
44 install dnevnik $RPM_BUILD_ROOT%{_bindir}
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
51 %attr(755,root,root) %{_bindir}/*