]> git.pld-linux.org Git - packages/automoc4.git/blob - automoc4.spec
- 0.9.88
[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/unstable/%{name}/%{version}/%{name}-%{version}.tar.bz2
12 Source0:        %{name}-%{version}.tar.bz2
13 # Source0-md5:  91bf517cb940109180ecd07bc90c69ec
14 BuildRequires:  QtCore-devel >= %{_qtver}
15 BuildRequires:  cmake >= 2.6.1-2
16 BuildRequires:  qt4-build >= %{_qtver}
17 BuildRequires:  qt4-qmake >= %{_qtver}
18 BuildRequires:  rpmbuild(macros) >= 1.293
19 Obsoletes:      kde4-automoc
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 automoc4.
24
25 %description -l pl.UTF-8
26 automoc4.
27
28 %prep
29 %setup -q
30
31 %build
32 install -d build
33 cd build
34 %cmake \
35         -DCMAKE_INSTALL_PREFIX=%{_prefix} \
36 %if "%{_lib}" != "lib"
37         -DLIB_SUFFIX=64 \
38 %endif
39         ../
40
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} -C build install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %post   -p /sbin/ldconfig
53 %postun -p /sbin/ldconfig
54
55 %files
56 %defattr(644,root,root,755)
57 %attr(755,root,root) %{_bindir}/automoc4
58 %dir %{_libdir}/automoc4
59 %{_libdir}/automoc4/Automoc4*.cmake
60 %{_libdir}/automoc4/automoc4.files.in
This page took 0.054331 seconds and 3 git commands to generate.