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