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