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