]> git.pld-linux.org Git - packages/automoc4.git/blame - automoc4.spec
- more fixes
[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
12BuildRequires: cmake
13BuildRequires: rpmbuild(macros) >= 1.293
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
6c095796 17automoc4.
c544c3b3 18
19%description -l pl.UTF-8
6c095796 20automoc3.
c544c3b3 21
22%prep
6c095796 23%setup -q
c544c3b3 24%patch0 -p0
25
26%build
27install -d build
28cd build
29%cmake \
30 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
31%if "%{_lib}" != "lib"
32 -DLIB_SUFFIX=64 \
33%endif
c544c3b3 34 ../
35
36%{__make}
37
38%install
39rm -rf $RPM_BUILD_ROOT
40
41%{__make} -C build install \
42 DESTDIR=$RPM_BUILD_ROOT
43
44%clean
45rm -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.061142 seconds and 4 git commands to generate.