]> git.pld-linux.org Git - packages/automoc4.git/blobdiff - automoc4.spec
- url fixed
[packages/automoc4.git] / automoc4.spec
index 2023880356881028d66136a1e1b0994457e241db..f1b3f31cd5b0bda093c8fe4e53ae7b74aeb44c13 100644 (file)
@@ -1,29 +1,31 @@
-%define                orgname automoc
-%define                snap    811226
-
-Summary:       automoc
-Summary(pl.UTF-8):     automoc
-Name:          kde4-automoc
-Version:       4.0.81
-Release:       0.%{snap}.1
+
+%define                _qtver  4.4.1
+
+Summary:       automoc4
+Summary(pl.UTF-8):     automoc4
+Name:          automoc4
+Version:       0.9.88
+Release:       1
 License:       GPL v2
 Group:         X11/Applications
-Source0:       %{orgname}-0.0.%{snap}.tar.bz2
-# Source0-md5: ad6209138f9c80438c464c8922bd80ec
-Patch0:                %{name}-lib64.patch
-BuildRequires: cmake
+Source0:       ftp://ftp.kde.org/pub/kde/stable/%{name}/%{version}/%{name}-%{version}.tar.bz2
+# Source0-md5: 91bf517cb940109180ecd07bc90c69ec
+BuildRequires: QtCore-devel >= %{_qtver}
+BuildRequires: cmake >= 2.6.1-2
+BuildRequires: qt4-build >= %{_qtver}
+BuildRequires: qt4-qmake >= %{_qtver}
 BuildRequires: rpmbuild(macros) >= 1.293
+Obsoletes:     kde4-automoc
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-automoc.
+automoc4.
 
 %description -l pl.UTF-8
-automoc.
+automoc4.
 
 %prep
-%setup -q -n %{orgname}
-%patch0 -p0
+%setup -q
 
 %build
 install -d build
@@ -33,7 +35,6 @@ cd build
 %if "%{_lib}" != "lib"
        -DLIB_SUFFIX=64 \
 %endif
-       -DQT_QMAKE_EXECUTABLE=%{_bindir}/qmake-qt4 \
        ../
 
 %{__make}
@@ -54,5 +55,5 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/automoc4
 %dir %{_libdir}/automoc4
-%{_libdir}/automoc4/Automoc4Config.cmake
+%{_libdir}/automoc4/Automoc4*.cmake
 %{_libdir}/automoc4/automoc4.files.in
This page took 0.061512 seconds and 4 git commands to generate.