1 |
Name: abbot |
Name: abbot |
2 |
Version: 1.0.2 |
Version: 1.0.2 |
3 |
Release: %mkrel 0 |
Release: %mkrel 1 |
4 |
Summary: Java GUI Test Framework |
Summary: Java GUI Test Framework |
5 |
Group: Development/Java |
Group: Development/Java |
6 |
License: Common Public License 1.0 |
License: Common Public License 1.0 |
32 |
Requires: jpackage-utils |
Requires: jpackage-utils |
33 |
Provides: costello = %{version} |
Provides: costello = %{version} |
34 |
BuildArch: noarch |
BuildArch: noarch |
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
|
35 |
|
|
36 |
%description |
%description |
37 |
Abbot is a simple framework for unit and functional testing of Java GUIs. |
Abbot is a simple framework for unit and functional testing of Java GUIs. |
48 |
This package contains javadoc for %{name}. |
This package contains javadoc for %{name}. |
49 |
|
|
50 |
%package manual |
%package manual |
51 |
Group: Documentation |
Group: Development/Java |
52 |
Summary: Manual for %{name} |
Summary: Manual for %{name} |
53 |
|
|
54 |
%description manual |
%description manual |
57 |
This package contains manual for %{name} |
This package contains manual for %{name} |
58 |
|
|
59 |
%package suite |
%package suite |
60 |
Group: Development/Other |
Group: Development/Java |
61 |
Summary: %{name} editor |
Summary: %{name} editor |
62 |
BuildRequires: desktop-file-utils |
BuildRequires: desktop-file-utils |
63 |
BuildRequires: imagemagick |
BuildRequires: imagemagick |
147 |
mkdir -p %{buildroot}%{_datadir}/pixmaps |
mkdir -p %{buildroot}%{_datadir}/pixmaps |
148 |
cp -pr %{SOURCE5} %{buildroot}%{_datadir}/pixmaps/abbot.png |
cp -pr %{SOURCE5} %{buildroot}%{_datadir}/pixmaps/abbot.png |
149 |
|
|
|
%clean |
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" |
|
|
|
|
150 |
%post |
%post |
151 |
%update_maven_depmap |
%update_maven_depmap |
152 |
|
|
154 |
%update_maven_depmap |
%update_maven_depmap |
155 |
|
|
156 |
%files |
%files |
|
%defattr(-,root,root) |
|
157 |
%{_javadir}/abbot-%{version}.jar |
%{_javadir}/abbot-%{version}.jar |
158 |
%{_javadir}/abbot.jar |
%{_javadir}/abbot.jar |
159 |
%{_javadir}/costello-%{version}.jar |
%{_javadir}/costello-%{version}.jar |
164 |
%{_mavendepmapfragdir}/* |
%{_mavendepmapfragdir}/* |
165 |
|
|
166 |
%files javadoc |
%files javadoc |
|
%defattr(-,root,root) |
|
167 |
%{_javadocdir}/abbot-%{version} |
%{_javadocdir}/abbot-%{version} |
168 |
%{_javadocdir}/abbot |
%{_javadocdir}/abbot |
169 |
|
|
170 |
%files manual |
%files manual |
|
%defattr(-,root,root) |
|
171 |
%doc %{_docdir}/abbot |
%doc %{_docdir}/abbot |
172 |
|
|
|
%post suite |
|
|
update-desktop-database %{_datadir}/applications &> /dev/null || : |
|
|
touch --no-create %{_datadir}/icons/hicolor |
|
|
if [ -x %{_bindir}/gtk-update-icon-cache ] ; then |
|
|
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor |
|
|
fi |
|
|
|
|
|
%postun suite |
|
|
update-desktop-database %{_datadir}/applications &> /dev/null || : |
|
|
touch --no-create %{_datadir}/icons/hicolor |
|
|
if [ -x %{_bindir}/gtk-update-icon-cache ] ; then |
|
|
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor |
|
|
fi |
|
|
|
|
173 |
%files suite |
%files suite |
|
%defattr(-,root,root) |
|
174 |
%{_bindir}/abbot |
%{_bindir}/abbot |
175 |
%{_datadir}/applications/abbot.desktop |
%{_datadir}/applications/abbot.desktop |
176 |
%{_datadir}/icons/hicolor/*x*/apps/abbot.png |
%{_datadir}/icons/hicolor/*x*/apps/abbot.png |