]> git.pld-linux.org Git - packages/automoc4.git/blame - automoc4.spec
- unify qtver macro
[packages/automoc4.git] / automoc4.spec
CommitLineData
6c095796 1
45308b8b 2%define qtver 4.4.1
43f0da92 3
6c095796 4Summary: automoc4
5Summary(pl.UTF-8): automoc4
6Name: automoc4
9a333675 7Version: 0.9.88
6c095796 8Release: 1
c544c3b3 9License: GPL v2
10Group: X11/Applications
68e6aaf2 11Source0: ftp://ftp.kde.org/pub/kde/stable/%{name}/%{version}/%{name}-%{version}.tar.bz2
9a333675 12# Source0-md5: 91bf517cb940109180ecd07bc90c69ec
45308b8b 13BuildRequires: QtCore-devel >= %{qtver}
5adf79e6 14BuildRequires: cmake >= 2.6.1-2
45308b8b 15BuildRequires: qt4-build >= %{qtver}
16BuildRequires: qt4-qmake >= %{qtver}
c544c3b3 17BuildRequires: rpmbuild(macros) >= 1.293
63a3d438 18Obsoletes: kde4-automoc
c544c3b3 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
6c095796 22automoc4.
c544c3b3 23
24%description -l pl.UTF-8
c19602bd 25automoc4.
c544c3b3 26
27%prep
6c095796 28%setup -q
c544c3b3 29
30%build
31install -d build
32cd build
33%cmake \
34 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
35%if "%{_lib}" != "lib"
36 -DLIB_SUFFIX=64 \
37%endif
c544c3b3 38 ../
39
40%{__make}
41
42%install
43rm -rf $RPM_BUILD_ROOT
44
45%{__make} -C build install \
46 DESTDIR=$RPM_BUILD_ROOT
47
48%clean
49rm -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
2c743e4f 58%{_libdir}/automoc4/Automoc4*.cmake
c544c3b3 59%{_libdir}/automoc4/automoc4.files.in
This page took 0.035338 seconds and 4 git commands to generate.