]> git.pld-linux.org Git - packages/automoc4.git/blame - automoc4.spec
- added missing BRs
[packages/automoc4.git] / automoc4.spec
CommitLineData
6c095796 1
2Summary: automoc4
3Summary(pl.UTF-8): automoc4
4Name: automoc4
5Version: 0.9.83
6Release: 1
c544c3b3 7License: GPL v2
8Group: X11/Applications
6c095796 9Source0: ftp://ftp.kde.org/pub/kde/unstable/4.0.83/support/%{name}-%{version}.tar.bz2
10# Source0-md5: 7876af12da90bd357fc547c4f4828603
c544c3b3 11Patch0: %{name}-lib64.patch
053f0b1d 12BuildRequires: QtCore-devel
c544c3b3 13BuildRequires: cmake
053f0b1d
SP
14BuildRequires: qt4-build
15BuildRequires: qt4-qmake
c544c3b3 16BuildRequires: rpmbuild(macros) >= 1.293
63a3d438 17Obsoletes: kde4-automoc
c544c3b3 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
6c095796 21automoc4.
c544c3b3 22
23%description -l pl.UTF-8
6c095796 24automoc3.
c544c3b3 25
26%prep
6c095796 27%setup -q
c544c3b3 28%patch0 -p0
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
58%{_libdir}/automoc4/Automoc4Config.cmake
59%{_libdir}/automoc4/automoc4.files.in
This page took 0.070119 seconds and 4 git commands to generate.