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