Blame SPECS/kcoloredit.spec

ffe642
ffe642
%define iversion 2.0.0
ffe642
ffe642
Name:    kcoloredit
ffe642
Version: 4.4.0
ffe642
Release: 9%{?dist}
ffe642
Summary: A color palette Editor
ffe642
ffe642
License: GPLv2+
ffe642
URL:     http://www.kde.org/
ffe642
Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/extragear/kcoloredit-%{iversion}-kde%{version}.tar.bz2
ffe642
ffe642
## upstream patches
ffe642
# fix FTBFS with the new stricter ld in F13 (#564815): explicitly link libX11
ffe642
Patch100: kcoloredit-2.0.0-kde4.4.0-ftbfs.patch
ffe642
ffe642
BuildRequires:  kdelibs4-devel 
ffe642
BuildRequires:  desktop-file-utils
ffe642
BuildRequires:  gettext
ffe642
ffe642
%{?_kde4_version:Requires: kdelibs4%{?_isa} >= %{_kde4_version}}
ffe642
ffe642
%description
ffe642
KColorEdit is a palette files editor. It can be used for editing 
ffe642
color palettes and for color choosing and naming.
ffe642
ffe642
ffe642
%prep
ffe642
%setup -qn kcoloredit-%{iversion}-kde%{version}
ffe642
%patch100 -p1 -b .ftbfs
ffe642
ffe642
ffe642
%build
ffe642
mkdir -p %{_target_platform}
ffe642
pushd %{_target_platform}
ffe642
%{cmake_kde4} ..
ffe642
popd
ffe642
ffe642
ffe642
make %{?_smp_mflags} -C %{_target_platform}
ffe642
ffe642
ffe642
%install
ffe642
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
ffe642
ffe642
%find_lang %{name} --with-kde
ffe642
ffe642
ffe642
%check
ffe642
desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/kcoloredit.desktop
ffe642
ffe642
ffe642
%post
ffe642
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
ffe642
ffe642
%postun
ffe642
if [ $1 -eq 0 ] ; then
ffe642
touch --no-create %{_datadir}/icons/hicolor &> /dev/null
ffe642
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
ffe642
fi
ffe642
ffe642
%posttrans
ffe642
update-desktop-database -q &> /dev/null
ffe642
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
ffe642
ffe642
ffe642
%files -f %{name}.lang
ffe642
%doc AUTHORS COPYING README
ffe642
%{_kde4_bindir}/kcoloredit
ffe642
%{_kde4_appsdir}/kcoloredit/
ffe642
%{_kde4_datadir}/applications/kde4/kcoloredit.desktop
ffe642
%{_kde4_iconsdir}/hicolor/*/*/kcoloredit.*
ffe642
ffe642
ffe642
%changelog
ffe642
* Tue Jan 28 2014 Daniel Mach <dmach@redhat.com> - 4.4.0-9
ffe642
- Mass rebuild 2014-01-24
ffe642
ffe642
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 4.4.0-8
ffe642
- Mass rebuild 2013-12-27
ffe642
ffe642
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4.0-7
ffe642
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ffe642
ffe642
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4.0-6
ffe642
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ffe642
ffe642
* Tue Jul 10 2012 Rex Dieter <rdieter@fedoraproject.org> 4.4.0-5
ffe642
- cleanup spec, fix scriptlets
ffe642
ffe642
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4.0-4
ffe642
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ffe642
ffe642
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4.0-3
ffe642
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ffe642
ffe642
* Sat Feb 13 2010 Kevin Kofler <Kevin@tigcc.ticalc.org> - 4.4.0-2
ffe642
- fix FTBFS with the new stricter ld in F13 (#564815): explicitly link libX11
ffe642
ffe642
* Fri Feb 12 2010 Sebastian Vahl <svahl@fedoraproject.org> - 4.4.0-1
ffe642
- 4.4.0
ffe642
ffe642
* Tue Nov 24 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> - 4.3.3-2
ffe642
- rebuild for Qt 4.6.0 RC1 in F13 (was built against Beta 1 with unstable ABI)
ffe642
ffe642
* Thu Nov 05 2009 Sebastian Vahl <svahl@fedoraproject.org> - 4.3.3-1
ffe642
- 4.3.3
ffe642
ffe642
* Tue Sep 01 2009 Sebastian Vahl <svahl@fedoraproject.org> - 4.3.1-1
ffe642
- 4.3.1
ffe642
ffe642
* Tue Aug 04 2009 Than Ngo <than@redhat.com> - 4.3.0-1
ffe642
- 4.3.0
ffe642
ffe642
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.4-2
ffe642
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ffe642
ffe642
* Tue Jun 10 2009 Sebastian Vahl <fedora@deadbabylon.de> - 4.2.4-1
ffe642
- 4.2.4
ffe642
ffe642
* Tue May 12 2009 Sebastian Vahl <fedora@deadbabylon.de> - 4.2.3-1
ffe642
- 4.2.3
ffe642
ffe642
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.0-2
ffe642
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
ffe642
ffe642
* Fri Jan 23 2009 Than Ngo <than@redhat.com> - 4.2.0-1
ffe642
- 4.2.0
ffe642
ffe642
* Mon Nov 17 2008 Rex Dieter <rdieter@fedoraproject.org> 4.1.3-2
ffe642
- dependency fixes, cosmetics
ffe642
ffe642
* Fri Nov 14 2008 Than Ngo <than@redhat.com> 4.1.3-1
ffe642
- 4.1.3
ffe642
ffe642
* Sat Oct 04 2008 Than Ngo <than@redhat.com> 4.1.2-1
ffe642
- 4.1.2
ffe642
ffe642
* Fri Aug 29 2008 Than Ngo <than@redhat.com> 4.1.1-1
ffe642
- 4.1.1
ffe642
ffe642
* Thu Aug 28 2008 Sebastian Vahl <fedora@deadbabylon.de> 4.1-1
ffe642
- 4.1 (final)
ffe642
ffe642
* Mon May 26 2008 Than Ngo <than@redhat.com> 4.0.80-1
ffe642
- 4.1 beta1
ffe642
ffe642
* Thu Apr 03 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 4.0.3-2
ffe642
- rebuild (again) for the fixed %%{_kde4_buildtype}
ffe642
ffe642
* Mon Mar 31 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 4.0.3-1
ffe642
- update to 4.0.3
ffe642
- rebuild for NDEBUG and _kde4_libexecdir
ffe642
ffe642
* Tue Mar 04 2008 Sebastian Vahl <fedora@deadbabylon.de> 4.0.2-1
ffe642
- new upstream version: 4.0.2
ffe642
ffe642
* Thu Feb 14 2008 Sebastian Vahl <fedora@deadbabylon.de> 4.0.1-2
ffe642
- remove reference to KDE 4 in summary
ffe642
ffe642
* Fri Feb 08 2008 Sebastian Vahl <fedora@deadbabylon.de> 4.0.1-1
ffe642
- new upstream version: 4.0.1
ffe642
ffe642
* Fri Jan 25 2008 Sebastian Vahl <fedora@deadbabylon.de> 4.0.0-1
ffe642
- Initial version of kde-4.0.0 version