- spank blekot
[packages/PLDSetupAssistant.git] / PLDSetupAssistant.spec
1 #
2 %define         kdever          4.4.3
3
4 Summary:        PLD Setup Assistant
5 Summary(pl.UTF-8):      Asystent konfiguracji PLD
6 Name:           PLDSetupAssistant
7 Version:        0.1
8 Release:        1
9 License:        GPL
10 Group:          X11/Applications
11 Source0:        %{name}-%{version}.tar.bz2
12 # Source0-md5:  eda58a079150838a503c232e06a0aa8c
13 #URL:           http://
14 # leave only required ones
15 # AUTO: --   /usr/share/apps/cmake/modules/FindAutomoc4.cmake:56 (find_package_handle_standard_args)
16 BuildRequires:  automoc4
17 BuildRequires:  cmake >= 2.8.0
18 BuildRequires:  kde4-kdebase-workspace-devel >= %{kdever}
19 BuildRequires:  kde4-kdelibs-devel >= %{kdever}
20 # AUTO: --   Qt libraries, includes, moc, uic or/and rcc NOT found!
21 BuildRequires:  qt4-build
22 # AUTO: --   Qt qmake not found!
23 BuildRequires:  qt4-qmake
24 BuildRequires:  rpmbuild(macros) >= 1.293
25 Requires:       kde4-knetworkmanager
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 PLD Setup Assistant.
30
31 %description -l pl.UTF-8
32 Asystent konfiguracji PLD.
33
34 %prep
35 %setup -q
36
37 %build
38 install -d build
39 cd build
40 %cmake .. \
41         -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
42         -DCMAKE_INSTALL_PREFIX=%{_prefix} \
43 %if "%{_lib}" == "lib64"
44         -DLIB_SUFFIX=64
45 %endif
46
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} -C build install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %attr(755,root,root) %{_bindir}/pldsetupassistant
61 %{_datadir}/apps/pldsetupassistant
This page took 0.033645 seconds and 3 git commands to generate.