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