]> git.pld-linux.org Git - packages/automoc4.git/blame - automoc4.spec
- 0.9.88
[packages/automoc4.git] / automoc4.spec
CommitLineData
6c095796 1
5adf79e6 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
5adf79e6 11#Source0: ftp://ftp.kde.org/pub/kde/unstable/%{name}/%{version}/%{name}-%{version}.tar.bz2
12Source0: %{name}-%{version}.tar.bz2
9a333675 13# Source0-md5: 91bf517cb940109180ecd07bc90c69ec
43f0da92 14BuildRequires: QtCore-devel >= %{_qtver}
5adf79e6 15BuildRequires: cmake >= 2.6.1-2
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
c19602bd 26automoc4.
c544c3b3 27
28%prep
6c095796 29%setup -q
c544c3b3 30
31%build
32install -d build
33cd build
34%cmake \
35 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
36%if "%{_lib}" != "lib"
37 -DLIB_SUFFIX=64 \
38%endif
c544c3b3 39 ../
40
41%{__make}
42
43%install
44rm -rf $RPM_BUILD_ROOT
45
46%{__make} -C build install \
47 DESTDIR=$RPM_BUILD_ROOT
48
49%clean
50rm -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
2c743e4f 59%{_libdir}/automoc4/Automoc4*.cmake
c544c3b3 60%{_libdir}/automoc4/automoc4.files.in
This page took 0.042863 seconds and 4 git commands to generate.