]> git.pld-linux.org Git - packages/automoc4.git/commitdiff
- from kde4-automoc.spec
authorshadzik <shadzik@pld-linux.org>
Tue, 24 Jun 2008 19:27:55 +0000 (19:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    automoc4.spec -> 1.1

automoc4.spec [new file with mode: 0644]

diff --git a/automoc4.spec b/automoc4.spec
new file mode 100644 (file)
index 0000000..2023880
--- /dev/null
@@ -0,0 +1,58 @@
+%define                orgname automoc
+%define                snap    811226
+
+Summary:       automoc
+Summary(pl.UTF-8):     automoc
+Name:          kde4-automoc
+Version:       4.0.81
+Release:       0.%{snap}.1
+License:       GPL v2
+Group:         X11/Applications
+Source0:       %{orgname}-0.0.%{snap}.tar.bz2
+# Source0-md5: ad6209138f9c80438c464c8922bd80ec
+Patch0:                %{name}-lib64.patch
+BuildRequires: cmake
+BuildRequires: rpmbuild(macros) >= 1.293
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+automoc.
+
+%description -l pl.UTF-8
+automoc.
+
+%prep
+%setup -q -n %{orgname}
+%patch0 -p0
+
+%build
+install -d build
+cd build
+%cmake \
+       -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+%if "%{_lib}" != "lib"
+       -DLIB_SUFFIX=64 \
+%endif
+       -DQT_QMAKE_EXECUTABLE=%{_bindir}/qmake-qt4 \
+       ../
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/automoc4
+%dir %{_libdir}/automoc4
+%{_libdir}/automoc4/Automoc4Config.cmake
+%{_libdir}/automoc4/automoc4.files.in
This page took 0.085454 seconds and 4 git commands to generate.