]> git.pld-linux.org Git - packages/automoc4.git/blob - automoc4.spec
- from kde4-automoc.spec
[packages/automoc4.git] / automoc4.spec
1 %define         orgname automoc
2 %define         snap    811226
3
4 Summary:        automoc
5 Summary(pl.UTF-8):      automoc
6 Name:           kde4-automoc
7 Version:        4.0.81
8 Release:        0.%{snap}.1
9 License:        GPL v2
10 Group:          X11/Applications
11 Source0:        %{orgname}-0.0.%{snap}.tar.bz2
12 # Source0-md5:  ad6209138f9c80438c464c8922bd80ec
13 Patch0:         %{name}-lib64.patch
14 BuildRequires:  cmake
15 BuildRequires:  rpmbuild(macros) >= 1.293
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 automoc.
20
21 %description -l pl.UTF-8
22 automoc.
23
24 %prep
25 %setup -q -n %{orgname}
26 %patch0 -p0
27
28 %build
29 install -d build
30 cd build
31 %cmake \
32         -DCMAKE_INSTALL_PREFIX=%{_prefix} \
33 %if "%{_lib}" != "lib"
34         -DLIB_SUFFIX=64 \
35 %endif
36         -DQT_QMAKE_EXECUTABLE=%{_bindir}/qmake-qt4 \
37         ../
38
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} -C build install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %post   -p /sbin/ldconfig
51 %postun -p /sbin/ldconfig
52
53 %files
54 %defattr(644,root,root,755)
55 %attr(755,root,root) %{_bindir}/automoc4
56 %dir %{_libdir}/automoc4
57 %{_libdir}/automoc4/Automoc4Config.cmake
58 %{_libdir}/automoc4/automoc4.files.in
This page took 0.051093 seconds and 4 git commands to generate.