[521] | 1 | %define SYSINFO_DISTRO vine |
---|
| 2 | |
---|
| 3 | Name: kio_sysinfo |
---|
[1400] | 4 | Summary: KIO slave which shows basic system information |
---|
[560] | 5 | Version: 20090930 |
---|
[1400] | 6 | Release: 2%{?_dist_release} |
---|
[521] | 7 | |
---|
| 8 | Group: System Environment/Libraries |
---|
| 9 | License: GPLv2+ |
---|
| 10 | URL: http://www.kde.org/ |
---|
| 11 | Source0: http://ktown.kde.org/~lukas/kio_sysinfo/%{name}-%{version}.tar.bz2 |
---|
[1400] | 12 | |
---|
[521] | 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[1400] | 14 | BuildRequires: kdelibs4-devel |
---|
[521] | 15 | BuildRequires: cmake |
---|
| 16 | BuildRequires: dbus-devel giflib-devel pcre-devel |
---|
| 17 | BuildRequires: gettext |
---|
| 18 | |
---|
| 19 | %description |
---|
| 20 | This is a sysinfo:/ KIO slave, which shows basic system information often |
---|
| 21 | requested by users. |
---|
| 22 | |
---|
| 23 | |
---|
| 24 | %prep |
---|
| 25 | %setup -q |
---|
| 26 | |
---|
| 27 | %build |
---|
| 28 | mkdir -p %{_target_platform} |
---|
| 29 | pushd %{_target_platform} |
---|
| 30 | unset QTDIR || : ; . /etc/profile.d/qt4.sh |
---|
[560] | 31 | %cmake \ |
---|
[521] | 32 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
| 33 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
| 34 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
| 35 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
| 36 | -DSYSINFO_DISTRO:STRING=%{SYSINFO_DISTRO} .. |
---|
| 37 | popd |
---|
| 38 | |
---|
| 39 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | %install |
---|
| 43 | rm -rf %{buildroot} |
---|
| 44 | mkdir %{buildroot} |
---|
| 45 | make install DESTDIR=%{buildroot} -C %{_target_platform} |
---|
| 46 | |
---|
| 47 | %find_lang kio_sysinfo |
---|
| 48 | |
---|
| 49 | %clean |
---|
| 50 | rm -rf %{buildroot} |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | %files -f kio_sysinfo.lang |
---|
| 54 | %defattr(-,root,root,-) |
---|
| 55 | %doc README COPYING |
---|
| 56 | %{_libdir}/kde4/kio_sysinfo.so |
---|
| 57 | %{_libdir}/kde4/libksysinfopart.so |
---|
| 58 | %{_datadir}/applications/kde4/kfmclient_sysinfo.desktop |
---|
| 59 | %{_datadir}/kde4/apps/sysinfo/about/ |
---|
| 60 | %{_datadir}/kde4/services/ksysinfopart.desktop |
---|
| 61 | %{_datadir}/kde4/services/sysinfo.protocol |
---|
| 62 | %{_datadir}/mime/packages/x-sysinfo.xml |
---|
| 63 | |
---|
| 64 | |
---|
| 65 | %changelog |
---|
[1400] | 66 | * Sat Jul 3 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 20090930-2 |
---|
| 67 | - BR: kdelibs4-devel instead of kdelibs-devel |
---|
| 68 | |
---|
[560] | 69 | * Sat Feb 13 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 20090930-1 |
---|
| 70 | - new upstream release |
---|
| 71 | |
---|
[521] | 72 | * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 20090620-3 |
---|
| 73 | - Initial build for Vine Linux |
---|
| 74 | |
---|
| 75 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090620-2 |
---|
| 76 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 77 | |
---|
| 78 | * Sat Jun 20 2009 Lukáš Tinkl <ltinkl@redhat.com> - 20090620-1 |
---|
| 79 | - new upstream version |
---|
| 80 | - drop patches |
---|
| 81 | - added battery status |
---|
| 82 | - updated translations |
---|
| 83 | |
---|
| 84 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090216-3 |
---|
| 85 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 86 | |
---|
| 87 | * Mon Feb 16 2009 Jaroslav Reznik <jreznik@redhat.com> 20090216-2 |
---|
| 88 | - gettext requires |
---|
| 89 | - conversion patch |
---|
| 90 | |
---|
| 91 | * Mon Feb 16 2009 Jaroslav Reznik <jreznik@redhat.com> 20090216-1 |
---|
| 92 | - owns about directory |
---|
| 93 | - new version |
---|
| 94 | |
---|
| 95 | * Wed Nov 21 2008 Jaroslav Reznik <jreznik@redhat.com> 20081121-1 |
---|
| 96 | - initial package |
---|
| 97 | - use SYSINFO_DISTRO |
---|