]> git.pld-linux.org Git - packages/PLDSetupAssistant.git/blob - PLDSetupAssistant.spec
- yup, kde4-kdebase-workspace-devel is enough
[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 BuildRequires:  cmake >= 2.8.0
16 BuildRequires:  kde4-kdebase-workspace-devel >= %{kdever}
17 BuildRequires:  kde4-kdelibs-devel >= %{kdever}
18 BuildRequires:  rpmbuild(macros) >= 1.293
19 Requires:       kde4-knetworkmanager
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 PLD Setup Assistant.
24
25 %description -l pl.UTF-8
26 Asystent konfiguracji PLD.
27
28 %prep
29 %setup -q
30
31 %build
32 install -d build
33 cd build
34 %cmake .. \
35         -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
36         -DCMAKE_INSTALL_PREFIX=%{_prefix} \
37 %if "%{_lib}" == "lib64"
38         -DLIB_SUFFIX=64
39 %endif
40
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} -C build install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %attr(755,root,root) %{_bindir}/pldsetupassistant
55 %{_datadir}/apps/pldsetupassistant
This page took 0.074628 seconds and 4 git commands to generate.