]> git.pld-linux.org Git - packages/kde4-kcolorchooser.git/blob - kde4-kcolorchooser.spec
- up to 4.7.2
[packages/kde4-kcolorchooser.git] / kde4-kcolorchooser.spec
1 %define         _state          stable
2 %define         qtver           4.7.4
3
4 Summary:        Color chooser
5 Summary(pl.UTF-8):      Program do wybierania kolorów
6 Name:           kcolorchooser
7 Version:        4.7.2
8 Release:        1
9 License:        GPL
10 Group:          X11/Applications/Graphics
11 Source0:        ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{name}-%{version}.tar.bz2
12 # Source0-md5:  b812ba74b8c3c452626d00c9308fd41a
13 URL:            http://www.kde.org/
14 BuildRequires:  cmake >= 2.8.0
15 BuildRequires:  kde4-kdelibs-devel >= %{version}
16 BuildRequires:  rpmbuild(macros) >= 1.600
17 BuildRequires:  xorg-lib-libX11-devel
18 Requires:       kde4-kdebase >= %{version}
19 Obsoletes:      kde4-kdegraphics-kcolorchooser < 4.6.99
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Color chooser.
24
25 %description -l pl.UTF-8
26 Program do wybierania kolorów.
27
28 %prep
29 %setup -q
30
31 %build
32 install -d build
33 cd build
34 %cmake \
35         -DGWENVIEW_SEMANTICINFO_BACKEND=Nepomuk \
36         ../
37
38 %{__make}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %{__make} -C build/ install \
44         DESTDIR=$RPM_BUILD_ROOT \
45         kde_htmldir=%{_kdedocdir}
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %attr(755,root,root) %{_bindir}/kcolorchooser
53 %{_desktopdir}/kde4/kcolorchooser.desktop
54 %{_iconsdir}/[!l]*/*/*/kcolorchooser.*
This page took 0.889191 seconds and 4 git commands to generate.