[521] | 1 | %define beta 0 |
---|
| 2 | |
---|
| 3 | Name: kdeaddons |
---|
| 4 | Version: 3.5.8 |
---|
| 5 | %if %{beta} |
---|
| 6 | Release: 1%{beta}%{?_dist_release} |
---|
| 7 | %else |
---|
| 8 | Release: 1%{?_dist_release} |
---|
| 9 | %endif |
---|
| 10 | Summary: additional plugins and scripts for some KDE applications |
---|
| 11 | %if %{beta} |
---|
| 12 | Source: ftp://ftp.kde.org/pub/kde/unstable/%{version}-%{beta}/src/%{name}-%{version}-%{beta}.tar.bz2 |
---|
| 13 | %else |
---|
| 14 | Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2 |
---|
| 15 | %endif |
---|
| 16 | URL: http://www.kde.org/ |
---|
| 17 | Group: Applications/Other |
---|
| 18 | License: GPL |
---|
| 19 | |
---|
| 20 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 21 | BuildRequires: qt-devel >= 3.3.2, arts-devel >= 1:1.5.0 |
---|
| 22 | BuildRequires: kdelibs-devel >= %{version} |
---|
| 23 | BuildRequires: kdebase-devel >= %{version} |
---|
| 24 | BuildRequires: kdemultimedia-devel >= %{version} |
---|
| 25 | BuildRequires: libxml2-devel >= 2.6.0 |
---|
| 26 | BuildRequires: libxslt-devel >= 1.0.18 |
---|
| 27 | BuildRequires: zlib-devel libjpeg-devel libpng-devel gettext |
---|
| 28 | Requires: qt >= 3.3.2 |
---|
| 29 | Requires: arts >= 1:1.5.0 |
---|
| 30 | Requires: kdelibs >= %{version} |
---|
| 31 | Requires: kdebase >= %{version} |
---|
| 32 | Requires: kdemultimedia >= %{version} |
---|
| 33 | |
---|
| 34 | %description |
---|
| 35 | kdeaddons contains additional plugins and scripts for some KDE applications. |
---|
| 36 | |
---|
| 37 | %prep |
---|
| 38 | %setup -q |
---|
| 39 | |
---|
| 40 | %build |
---|
| 41 | export KDEDIR=%{_prefix} |
---|
| 42 | unset QTDIR || : ; . /etc/profile.d/qt.sh |
---|
| 43 | |
---|
| 44 | ./configure --prefix=%{_prefix} \ |
---|
| 45 | --with-qt-libraries=$QTDIR/lib \ |
---|
| 46 | --with-extra-includes=%{_includedir}/kde/arts \ |
---|
| 47 | --with-xinerama \ |
---|
| 48 | --enable-new-ldflags \ |
---|
| 49 | --disable-dependency-tracking \ |
---|
| 50 | --enable-final \ |
---|
| 51 | --disable-rpath |
---|
| 52 | |
---|
| 53 | make %{?_smp_mflags} |
---|
| 54 | |
---|
| 55 | %install |
---|
| 56 | rm -rf $RPM_BUILD_ROOT |
---|
| 57 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
| 58 | |
---|
| 59 | # Make symlinks relative |
---|
| 60 | cd $RPM_BUILD_ROOT/usr/share/doc/HTML/en |
---|
| 61 | for i in *; do |
---|
| 62 | if [ -d $i -a -L $i/common ]; then |
---|
| 63 | rm -f $RPM_BUILD_ROOT/usr/share/doc/HTML/en/$i/common |
---|
| 64 | ln -sf ../common $RPM_BUILD_ROOT/usr/share/doc/HTML/en/$i |
---|
| 65 | fi |
---|
| 66 | done |
---|
| 67 | |
---|
| 68 | %clean |
---|
| 69 | rm -rf $RPM_BUILD_ROOT |
---|
| 70 | |
---|
| 71 | %post -p /sbin/ldconfig |
---|
| 72 | |
---|
| 73 | %postun -p /sbin/ldconfig |
---|
| 74 | |
---|
| 75 | %files |
---|
| 76 | %defattr(-,root,root) |
---|
| 77 | %doc %{_datadir}/doc/HTML/en/* |
---|
| 78 | %{_bindir}/* |
---|
| 79 | %{_libdir}/kde3/* |
---|
| 80 | %{_datadir}/applications/* |
---|
| 81 | %{_datadir}/applnk |
---|
| 82 | %{_datadir}/apps/* |
---|
| 83 | %config %{_datadir}/config/* |
---|
| 84 | %{_datadir}/config.kcfg/* |
---|
| 85 | %{_datadir}/icons/* |
---|
| 86 | %{_datadir}/mimelnk/* |
---|
| 87 | %{_datadir}/services/* |
---|
| 88 | |
---|
| 89 | %changelog |
---|
| 90 | * Sun May 10 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.8-1 |
---|
| 91 | - applied new versioning policy |
---|
| 92 | - added BR: kdebase-devel |
---|
| 93 | - changed Group to Applications/Other |
---|
| 94 | |
---|
| 95 | * Mon Oct 29 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.8-0vl2 |
---|
| 96 | - rebuild for VineSeed |
---|
| 97 | |
---|
| 98 | * Mon Oct 29 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.8-0vl1 |
---|
| 99 | - new upstream release |
---|
| 100 | |
---|
| 101 | * Tue Aug 21 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl3 |
---|
| 102 | - rebuild with flac-1.2.0 |
---|
| 103 | |
---|
| 104 | * Wed Jul 4 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl2 |
---|
| 105 | - rebuild for VineSeed |
---|
| 106 | |
---|
| 107 | * Sat Jun 30 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl1 |
---|
| 108 | - new upstream release |
---|
| 109 | |
---|
| 110 | * Sun Oct 22 2006 NAKAMURA Kenta <kenta@vinelinux.org> 3.5.5-0vl3 |
---|
| 111 | - added --with-qt-libraries and --enable-libsuffix option |
---|
| 112 | |
---|
| 113 | * Tue Oct 3 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.5-0vl2 |
---|
| 114 | - rebuild for VineSeed |
---|
| 115 | |
---|
| 116 | * Tue Oct 3 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.5-0vl1 |
---|
| 117 | - new upstream release |
---|
| 118 | |
---|
| 119 | * Wed Aug 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.4-0vl2 |
---|
| 120 | - rebuild for VineSeed |
---|
| 121 | |
---|
| 122 | * Wed Aug 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.4-0vl1 |
---|
| 123 | - new upstream release |
---|
| 124 | |
---|
| 125 | * Fri Jun 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.3-0vl2 |
---|
| 126 | - rebuild for VineSeed |
---|
| 127 | |
---|
| 128 | * Fri Jun 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.3-0vl1 |
---|
| 129 | - new upstream release |
---|
| 130 | |
---|
| 131 | * Thu Mar 23 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.2-0vl2 |
---|
| 132 | - rebuild for VineSeed |
---|
| 133 | |
---|
| 134 | * Thu Mar 23 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.2-0vl1 |
---|
| 135 | - new upstream release |
---|
| 136 | |
---|
| 137 | * Thu Dec 8 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl2 |
---|
| 138 | - rebuild for VineSeed |
---|
| 139 | |
---|
| 140 | * Thu Nov 24 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl1 |
---|
| 141 | - new upstream release |
---|
| 142 | |
---|
| 143 | * Tue Nov 15 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl0.rc1 |
---|
| 144 | - initial release for VineSeed |
---|