1 | %if %{?_dist_release} != "vl4" && %{?_dist_release} != "vl5" |
---|
2 | # Compile only atlantikdesigner on KDE4 |
---|
3 | %define donotcompilelist doc kaddressbook-plugins kate kfile-plugins kicker-applets knewsticker-scripts konq-plugins ksig noatun-plugins renamedlgplugins |
---|
4 | %define kde KDE3 |
---|
5 | %else |
---|
6 | %define kde KDE |
---|
7 | %endif |
---|
8 | |
---|
9 | Name: kdeaddons |
---|
10 | Summary: %{kde} additional plugins |
---|
11 | Summary(ja): %{kde} 追加プラグイン |
---|
12 | Version: 3.5.10 |
---|
13 | Release: 3%{?_dist_release} |
---|
14 | |
---|
15 | URL: http://www.kde.org/ |
---|
16 | Group: Applications/Other |
---|
17 | License: GPLv2 |
---|
18 | |
---|
19 | Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2 |
---|
20 | |
---|
21 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
22 | BuildRequires: kdelibs3-devel >= %{version} |
---|
23 | BuildRequires: kdegames3-devel >= %{version} |
---|
24 | BuildRequires: libxml2-devel >= 2.6.0 |
---|
25 | BuildRequires: libxslt-devel >= 1.0.18 |
---|
26 | BuildRequires: zlib-devel libjpeg-devel libpng-devel gettext |
---|
27 | %if %{?_dist_release} == "vl4" || %{?_dist_release} == "vl5" |
---|
28 | BuildRequires: kdemultimedia3-devel >= %{version} |
---|
29 | BuildRequires: kdenetwork3-devel >= %{version} |
---|
30 | BuildRequires: kdepim3-devel >= %{version} |
---|
31 | BuildRequires: SDL-devel |
---|
32 | %endif |
---|
33 | Requires: kdelibs3 >= %{version} |
---|
34 | Requires: kdegames3 >= %{version} |
---|
35 | |
---|
36 | %description |
---|
37 | kdeaddons contains additional plugins and scripts for some KDE applications. |
---|
38 | |
---|
39 | %if %{?_dist_release} !="vl4" && %{?_dist_release} !="vl5" |
---|
40 | %package atlantikdesigner |
---|
41 | Summary: Atlantik Designer |
---|
42 | Group: Applications/Games |
---|
43 | Requires: kdelibs3 >= %{version} |
---|
44 | Requires: kdegames3 >= %{version} |
---|
45 | # directory ownership |
---|
46 | Requires: hicolor-icon-theme |
---|
47 | |
---|
48 | Obsoletes: kdeaddons-extras < %{version}-%{release} |
---|
49 | |
---|
50 | %description atlantikdesigner |
---|
51 | This package includes a game board designer for Atlantik. |
---|
52 | %endif |
---|
53 | |
---|
54 | %prep |
---|
55 | %setup -q |
---|
56 | %if %{?_dist_release} != "vl4" && %{?_dist_release} != "vl5" |
---|
57 | sed -i -e 's/-lkdegames//g' atlantikdesigner/designer/Makefile.in |
---|
58 | %endif |
---|
59 | |
---|
60 | %build |
---|
61 | unset QTDIR || : ; . /etc/profile.d/qt.sh |
---|
62 | %if %{?_dist_release} != "vl4" && %{?_dist_release} != "vl5" |
---|
63 | export DO_NOT_COMPILE="%{donotcompilelist}" |
---|
64 | %endif |
---|
65 | |
---|
66 | %configure \ |
---|
67 | --with-qt-libraries=$QTDIR/lib \ |
---|
68 | --includedir=%{_includedir}/kde \ |
---|
69 | --disable-rpath \ |
---|
70 | --enable-new-ldflags \ |
---|
71 | --disable-debug --disable-warnings \ |
---|
72 | --disable-dependency-tracking --enable-final |
---|
73 | |
---|
74 | make %{?_smp_mflags} |
---|
75 | |
---|
76 | %install |
---|
77 | rm -rf $RPM_BUILD_ROOT |
---|
78 | |
---|
79 | %if %{?_dist_release} != "vl4" && %{?_dist_release} != "vl5" |
---|
80 | export DO_NOT_COMPILE="%{donotcompilelist}" |
---|
81 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
82 | %else |
---|
83 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
84 | |
---|
85 | # Make symlinks relative |
---|
86 | cd $RPM_BUILD_ROOT/usr/share/doc/HTML/en |
---|
87 | for i in *; do |
---|
88 | if [ -d $i -a -L $i/common ]; then |
---|
89 | rm -f $RPM_BUILD_ROOT/usr/share/doc/HTML/en/$i/common |
---|
90 | ln -sf ../common $RPM_BUILD_ROOT/usr/share/doc/HTML/en/$i |
---|
91 | fi |
---|
92 | done |
---|
93 | %endif |
---|
94 | |
---|
95 | %clean |
---|
96 | rm -rf $RPM_BUILD_ROOT |
---|
97 | |
---|
98 | %if %{?_dist_release} == "vl4" || %{?_dist_release} == "vl5" |
---|
99 | |
---|
100 | %post -p /sbin/ldconfig |
---|
101 | |
---|
102 | %postun -p /sbin/ldconfig |
---|
103 | |
---|
104 | %endif |
---|
105 | |
---|
106 | %if %{?_dist_release} == "vl4" || %{?_dist_release} == "vl5" |
---|
107 | %files |
---|
108 | %defattr(-,root,root) |
---|
109 | %doc README COPYING-DOCS |
---|
110 | %doc %{_datadir}/doc/HTML/en/* |
---|
111 | %{_bindir}/* |
---|
112 | %{_libdir}/kde3/* |
---|
113 | %{_datadir}/applications/* |
---|
114 | %{_datadir}/applnk |
---|
115 | %{_datadir}/apps/* |
---|
116 | %config %{_datadir}/config/* |
---|
117 | %{_datadir}/config.kcfg/* |
---|
118 | %{_datadir}/icons/* |
---|
119 | %{_datadir}/mimelnk/* |
---|
120 | %{_datadir}/services/* |
---|
121 | %else |
---|
122 | %files atlantikdesigner |
---|
123 | %defattr(-,root,root) |
---|
124 | %doc README COPYING-DOCS atlantikdesigner/TODO |
---|
125 | %{_bindir}/atlantikdesigner |
---|
126 | %{_datadir}/apps/atlantikdesigner/ |
---|
127 | %{_datadir}/icons/hicolor/*/*/atlantikdesigner* |
---|
128 | %{_datadir}/applications/kde/atlantikdesigner.desktop |
---|
129 | %endif |
---|
130 | |
---|
131 | %changelog |
---|
132 | * Sat Feb 26 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.10-3 |
---|
133 | - changed package name to avoid obsolation by kdeplasma-addons |
---|
134 | |
---|
135 | * Thu Dec 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.10-2 |
---|
136 | - built for VinePlus/5 |
---|
137 | - updated spec file compatibility |
---|
138 | |
---|
139 | * Sun Mar 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.10-1 |
---|
140 | - updated to 3.5.10, only including atlantikdesigner |
---|
141 | - built with new toolchain |
---|
142 | |
---|
143 | * Sun May 10 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.8-1 |
---|
144 | - applied new versioning policy |
---|
145 | - added BR: kdebase-devel |
---|
146 | - changed Group to Applications/Other |
---|
147 | |
---|
148 | * Mon Oct 29 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.8-0vl2 |
---|
149 | - rebuild for VineSeed |
---|
150 | |
---|
151 | * Mon Oct 29 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.8-0vl1 |
---|
152 | - new upstream release |
---|
153 | |
---|
154 | * Tue Aug 21 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl3 |
---|
155 | - rebuild with flac-1.2.0 |
---|
156 | |
---|
157 | * Wed Jul 4 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl2 |
---|
158 | - rebuild for VineSeed |
---|
159 | |
---|
160 | * Sat Jun 30 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl1 |
---|
161 | - new upstream release |
---|
162 | |
---|
163 | * Sun Oct 22 2006 NAKAMURA Kenta <kenta@vinelinux.org> 3.5.5-0vl3 |
---|
164 | - added --with-qt-libraries and --enable-libsuffix option |
---|
165 | |
---|
166 | * Tue Oct 3 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.5-0vl2 |
---|
167 | - rebuild for VineSeed |
---|
168 | |
---|
169 | * Tue Oct 3 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.5-0vl1 |
---|
170 | - new upstream release |
---|
171 | |
---|
172 | * Wed Aug 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.4-0vl2 |
---|
173 | - rebuild for VineSeed |
---|
174 | |
---|
175 | * Wed Aug 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.4-0vl1 |
---|
176 | - new upstream release |
---|
177 | |
---|
178 | * Fri Jun 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.3-0vl2 |
---|
179 | - rebuild for VineSeed |
---|
180 | |
---|
181 | * Fri Jun 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.3-0vl1 |
---|
182 | - new upstream release |
---|
183 | |
---|
184 | * Thu Mar 23 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.2-0vl2 |
---|
185 | - rebuild for VineSeed |
---|
186 | |
---|
187 | * Thu Mar 23 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.2-0vl1 |
---|
188 | - new upstream release |
---|
189 | |
---|
190 | * Thu Dec 8 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl2 |
---|
191 | - rebuild for VineSeed |
---|
192 | |
---|
193 | * Thu Nov 24 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl1 |
---|
194 | - new upstream release |
---|
195 | |
---|
196 | * Tue Nov 15 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl0.rc1 |
---|
197 | - initial release for VineSeed |
---|