[1069] | 1 | Name: kdevplatform |
---|
| 2 | Summary: Libraries for use by KDE development tools |
---|
| 3 | Version: 1.0.0 |
---|
| 4 | Release: 3%{?_dist_release} |
---|
| 5 | |
---|
| 6 | Group: Development/Tools |
---|
| 7 | License: GPLv2 |
---|
| 8 | URL: http://www.kde.org/ |
---|
| 9 | Source0: ftp://ftp.kde.org/pub/kde/stable/kdevelop/4.0.0/src/kdevplatform-%{version}.tar.bz2 |
---|
| 10 | Source1: ftp://ftp.kde.org/pub/kde/stable/kdevelop/4.0.0/src/kdevplatform-%{version}.tar.bz2.md5sum |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 12 | |
---|
| 13 | BuildRequires: libboost-devel |
---|
| 14 | BuildRequires: gettext |
---|
| 15 | BuildRequires: kdelibs4-devel |
---|
| 16 | # ?? kompare support seems disabled |
---|
| 17 | BuildRequires: kdesdk-devel >= 4.4 |
---|
| 18 | BuildRequires: pcre-devel |
---|
| 19 | BuildRequires: subversion-devel |
---|
| 20 | BuildRequires: apr-util-devel |
---|
| 21 | |
---|
| 22 | Requires: %{name}-libs = %{version}-%{release} |
---|
| 23 | Requires(postun): gtk2 |
---|
| 24 | Requires(posttrans): gtk2 |
---|
| 25 | |
---|
| 26 | %description |
---|
| 27 | KDE Development platform, the foundations upon which |
---|
| 28 | KDevelop and Quanta are built. |
---|
| 29 | |
---|
| 30 | %package libs |
---|
| 31 | Summary: Runtime libraries for %{name} |
---|
| 32 | Group: System Environment/Libraries |
---|
| 33 | Requires: kdelibs4 |
---|
| 34 | |
---|
| 35 | %description libs |
---|
| 36 | %{summary}. |
---|
| 37 | |
---|
| 38 | %package devel |
---|
| 39 | Group: Development/Libraries |
---|
| 40 | Summary: Developer files for %{name} |
---|
| 41 | Requires: %{name}-libs = %{version}-%{release} |
---|
| 42 | Requires: libboost-devel |
---|
| 43 | Requires: commoncpp2-devel |
---|
| 44 | Requires: kdelibs4-devel |
---|
| 45 | Requires: subversion-devel |
---|
| 46 | |
---|
| 47 | %description devel |
---|
| 48 | %{summary}. |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | %prep |
---|
| 52 | %setup -q -n kdevplatform-%{version} |
---|
| 53 | |
---|
| 54 | |
---|
| 55 | %build |
---|
| 56 | mkdir -p %{_target_platform} |
---|
| 57 | pushd %{_target_platform} |
---|
| 58 | unset QTDIR || : ; . /etc/profile.d/qt4.sh |
---|
| 59 | %cmake \ |
---|
| 60 | -DCMAKE_BUILD_TYPE=release \ |
---|
| 61 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
| 62 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
| 63 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
| 64 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
| 65 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
| 66 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
| 67 | .. |
---|
| 68 | popd |
---|
| 69 | |
---|
| 70 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 71 | |
---|
| 72 | |
---|
| 73 | %install |
---|
| 74 | rm -rf %{buildroot} |
---|
| 75 | |
---|
| 76 | make install/fast DESTDIR=%{buildroot} -C %{_target_platform} |
---|
| 77 | |
---|
| 78 | %find_lang %{name} --all-name --with-kde |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | %clean |
---|
| 82 | rm -rf %{buildroot} |
---|
| 83 | |
---|
| 84 | |
---|
| 85 | %post |
---|
| 86 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : |
---|
| 87 | |
---|
| 88 | %post libs -p /sbin/ldconfig |
---|
| 89 | |
---|
| 90 | %postun |
---|
| 91 | if [ $1 -eq 0 ] ; then |
---|
| 92 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null |
---|
| 93 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
| 94 | fi |
---|
| 95 | |
---|
| 96 | %postun libs -p /sbin/ldconfig |
---|
| 97 | |
---|
| 98 | %posttrans |
---|
| 99 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 100 | |
---|
| 101 | |
---|
| 102 | %files -f %{name}.lang |
---|
| 103 | %defattr(-,root,root,-) |
---|
| 104 | %doc COPYING.PLUGINS COPYING.SRC |
---|
| 105 | %{_datadir}/kde4/apps/kdev*/ |
---|
| 106 | %{_datadir}/kde4/services/*.desktop |
---|
| 107 | %{_datadir}/kde4/servicetypes/*.desktop |
---|
| 108 | %{_datadir}/icons/hicolor/*/*/* |
---|
| 109 | |
---|
| 110 | %files libs |
---|
| 111 | %defattr(-,root,root,-) |
---|
| 112 | %{_libdir}/lib*.so.* |
---|
| 113 | %{_libdir}/kde4/*.so |
---|
| 114 | |
---|
| 115 | %files devel |
---|
| 116 | %defattr(-,root,root,-) |
---|
| 117 | %{_libdir}/lib*.so |
---|
| 118 | %{_includedir}/kde4/kdevplatform/ |
---|
| 119 | %{_libdir}/cmake/kdevplatform/ |
---|
| 120 | |
---|
| 121 | |
---|
| 122 | %changelog |
---|
| 123 | * Sun May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.0-3 |
---|
| 124 | - removed R: kdevplatform from libs package |
---|
| 125 | |
---|
| 126 | * Sat May 8 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.0-2 |
---|
| 127 | - Initial build for Vine Linux |
---|
| 128 | |
---|
| 129 | * Thu Apr 29 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.0.0-1 |
---|
| 130 | - kdevplatform-1.0.0 |
---|
| 131 | |
---|
| 132 | * Sat Apr 17 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.10.2-1 |
---|
| 133 | - kdevplatform-0.10.2 |
---|
| 134 | |
---|
| 135 | * Thu Apr 08 2010 Rex Dieter <rdieter@fedoraproject.org. - 0.10.0-1 |
---|
| 136 | - kdevplatform-0.10.0 |
---|
| 137 | |
---|
| 138 | * Mon Mar 08 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.9.99-1 |
---|
| 139 | - kdevplatform-0.9.99 |
---|
| 140 | |
---|
| 141 | * Mon Feb 22 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.9.98-1 |
---|
| 142 | - kdevplatform-0.9.98 |
---|
| 143 | |
---|
| 144 | * Sat Jan 16 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.9.97-2 |
---|
| 145 | - rebuild (boost) |
---|
| 146 | - BR: kdelibs4-devel |
---|
| 147 | |
---|
| 148 | * Thu Jan 07 2010 Rex Dieter <rdieter@fedoraproject.org> 0.9.97-1 |
---|
| 149 | - kdevplatform-0.9.97 |
---|
| 150 | - kdevplatform: file conflict with kdelibs (FindKDevPlatform.cmake) (#541690) |
---|
| 151 | |
---|
| 152 | * Sun Nov 22 2009 Rex Dieter <rdieter@fedoraproject.org> 0.9.95-0.6.20091015svn1035382 |
---|
| 153 | - rebuild (fc13+, qt-4.6.0-rc1) |
---|
| 154 | |
---|
| 155 | * Thu Oct 15 2009 Ben Boeckel <MathStuf@gmail.com> - 0.9.95-0.5.20091015svn1035382 |
---|
| 156 | - New snapshot |
---|
| 157 | |
---|
| 158 | * Sun Oct 11 2009 Ben Boeckel <MathStuf@gmail.com> - 0.9.95-0.4.beta5 |
---|
| 159 | - Fix finding Kompare includes |
---|
| 160 | |
---|
| 161 | * Tue Sep 29 2009 Ben Boeckel <MathStuf@gmail.com> - 0.9.95-0.3.beta5 |
---|
| 162 | - Use official release |
---|
| 163 | |
---|
| 164 | * Mon Sep 14 2009 Ben Boeckel <MathStuf@gmail.com> - 0.9.95-0.2 |
---|
| 165 | - Add icon scriptlets |
---|
| 166 | |
---|
| 167 | * Mon Sep 14 2009 Ben Boeckel <MathStuf@gmail.com> - 0.9.95-0.1 |
---|
| 168 | - Update tarball |
---|
| 169 | |
---|
| 170 | * Fri May 29 2009 Ben Boeckel <MathStuf@gmail.com> - 0.9.93-0.1 |
---|
| 171 | - 1.0 Beta 3 |
---|
| 172 | |
---|
| 173 | * Sat Feb 21 2009 Lorenzo Villani <lvillani@binaryhelix.net> - 0.9.91-0.2.20090221svn929301 |
---|
| 174 | - Post KDevplatform 1.0 Beta 1 snapshot |
---|
| 175 | |
---|
| 176 | * Fri Jan 09 2009 Lorenzo Villani <lvillani@binaryhelix.net> - 0.9.85-1 |
---|
| 177 | - 0.9.85 snapshot |
---|