Browse Source

updated: kdevplatform

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@1069 ec354946-7b23-47d6-9f5a-488ba84defc7
inagaki 14 years ago
parent
commit
d3f6293306
1 changed files with 177 additions and 0 deletions
  1. 177 0
      k/kdevplatform/kdevplatform-vl.spec

+ 177 - 0
k/kdevplatform/kdevplatform-vl.spec

@@ -0,0 +1,177 @@
+Name:           kdevplatform
+Summary:        Libraries for use by KDE development tools
+Version:        1.0.0 
+Release:        3%{?_dist_release}
+
+Group:          Development/Tools
+License:        GPLv2
+URL:            http://www.kde.org/
+Source0:        ftp://ftp.kde.org/pub/kde/stable/kdevelop/4.0.0/src/kdevplatform-%{version}.tar.bz2
+Source1:        ftp://ftp.kde.org/pub/kde/stable/kdevelop/4.0.0/src/kdevplatform-%{version}.tar.bz2.md5sum
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
+
+BuildRequires:  libboost-devel
+BuildRequires:  gettext
+BuildRequires:  kdelibs4-devel
+# ?? kompare support seems disabled
+BuildRequires:  kdesdk-devel >= 4.4
+BuildRequires:  pcre-devel
+BuildRequires:  subversion-devel
+BuildRequires:  apr-util-devel
+
+Requires: %{name}-libs = %{version}-%{release}
+Requires(postun): gtk2
+Requires(posttrans): gtk2
+
+%description
+KDE Development platform, the foundations upon which
+KDevelop and Quanta are built.
+
+%package libs
+Summary: Runtime libraries for %{name}
+Group:   System Environment/Libraries
+Requires: kdelibs4
+
+%description libs
+%{summary}.
+
+%package devel
+Group:    Development/Libraries
+Summary:  Developer files for %{name}
+Requires: %{name}-libs = %{version}-%{release}
+Requires: libboost-devel
+Requires: commoncpp2-devel
+Requires: kdelibs4-devel
+Requires: subversion-devel
+
+%description devel
+%{summary}.
+
+
+%prep
+%setup -q -n kdevplatform-%{version}
+
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+unset QTDIR || : ; . /etc/profile.d/qt4.sh
+%cmake \
+    -DCMAKE_BUILD_TYPE=release \
+    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
+    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
+    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
+    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
+    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
+    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
+    ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+
+%install
+rm -rf %{buildroot}
+
+make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
+
+%find_lang %{name} --all-name --with-kde
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%post libs -p /sbin/ldconfig
+
+%postun
+if [ $1 -eq 0 ] ; then
+    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%postun libs -p /sbin/ldconfig
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
+
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc COPYING.PLUGINS COPYING.SRC
+%{_datadir}/kde4/apps/kdev*/
+%{_datadir}/kde4/services/*.desktop
+%{_datadir}/kde4/servicetypes/*.desktop
+%{_datadir}/icons/hicolor/*/*/*
+
+%files libs
+%defattr(-,root,root,-)
+%{_libdir}/lib*.so.*
+%{_libdir}/kde4/*.so
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/lib*.so
+%{_includedir}/kde4/kdevplatform/
+%{_libdir}/cmake/kdevplatform/
+
+
+%changelog
+* Sun May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.0-3
+- removed R: kdevplatform from libs package
+
+* Sat May  8 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.0-2
+- Initial build for Vine Linux
+
+* Thu Apr 29 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.0.0-1
+- kdevplatform-1.0.0
+
+* Sat Apr 17 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.10.2-1
+- kdevplatform-0.10.2
+
+* Thu Apr 08 2010 Rex Dieter <rdieter@fedoraproject.org. - 0.10.0-1
+- kdevplatform-0.10.0
+
+* Mon Mar 08 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.9.99-1
+- kdevplatform-0.9.99
+
+* Mon Feb 22 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.9.98-1
+- kdevplatform-0.9.98
+
+* Sat Jan 16 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.9.97-2 
+- rebuild (boost)
+- BR: kdelibs4-devel
+
+* Thu Jan 07 2010 Rex Dieter <rdieter@fedoraproject.org> 0.9.97-1
+- kdevplatform-0.9.97
+- kdevplatform: file conflict with kdelibs (FindKDevPlatform.cmake) (#541690)
+
+* Sun Nov 22 2009 Rex Dieter <rdieter@fedoraproject.org> 0.9.95-0.6.20091015svn1035382
+- rebuild (fc13+, qt-4.6.0-rc1)
+
+* Thu Oct 15 2009 Ben Boeckel <MathStuf@gmail.com> - 0.9.95-0.5.20091015svn1035382
+- New snapshot
+
+* Sun Oct 11 2009 Ben Boeckel <MathStuf@gmail.com> - 0.9.95-0.4.beta5
+- Fix finding Kompare includes
+
+* Tue Sep 29 2009 Ben Boeckel <MathStuf@gmail.com> - 0.9.95-0.3.beta5
+- Use official release
+
+* Mon Sep 14 2009 Ben Boeckel <MathStuf@gmail.com> - 0.9.95-0.2
+- Add icon scriptlets
+
+* Mon Sep 14 2009 Ben Boeckel <MathStuf@gmail.com> - 0.9.95-0.1
+- Update tarball
+
+* Fri May 29 2009 Ben Boeckel <MathStuf@gmail.com> - 0.9.93-0.1
+- 1.0 Beta 3
+
+* Sat Feb 21 2009 Lorenzo Villani <lvillani@binaryhelix.net> - 0.9.91-0.2.20090221svn929301
+- Post KDevplatform 1.0 Beta 1 snapshot
+
+* Fri Jan 09 2009 Lorenzo Villani <lvillani@binaryhelix.net> - 0.9.85-1
+- 0.9.85 snapshot