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