]> git.pld-linux.org Git - packages/automoc4.git/blob - automoc4.spec
- url fixed
[packages/automoc4.git] / automoc4.spec
1
2 %define         _qtver  4.4.1
3
4 Summary:        automoc4
5 Summary(pl.UTF-8):      automoc4
6 Name:           automoc4
7 Version:        0.9.88
8 Release:        1
9 License:        GPL v2
10 Group:          X11/Applications
11 Source0:        ftp://ftp.kde.org/pub/kde/stable/%{name}/%{version}/%{name}-%{version}.tar.bz2
12 # Source0-md5:  91bf517cb940109180ecd07bc90c69ec
13 BuildRequires:  QtCore-devel >= %{_qtver}
14 BuildRequires:  cmake >= 2.6.1-2
15 BuildRequires:  qt4-build >= %{_qtver}
16 BuildRequires:  qt4-qmake >= %{_qtver}
17 BuildRequires:  rpmbuild(macros) >= 1.293
18 Obsoletes:      kde4-automoc
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 automoc4.
23
24 %description -l pl.UTF-8
25 automoc4.
26
27 %prep
28 %setup -q
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/Automoc4*.cmake
59 %{_libdir}/automoc4/automoc4.files.in
This page took 0.066829 seconds and 3 git commands to generate.