rpms/konversation/devel .cvsignore, 1.7, 1.8 konversation.spec, 1.25, 1.26 sources, 1.7, 1.8 konversation-1.1-amarok2.patch, 1.1, NONE
Rex Dieter
rdieter at fedoraproject.org
Wed Jun 3 15:07:57 UTC 2009
- Previous message (by thread): rpms/qemu/F-11 qemu-avoid-harmless-msr-warnings.patch, NONE, 1.1 qemu-fix-net-socket-list-init.patch, NONE, 1.1 qemu-prevent-cdrom-media-eject-while-device-is-locked.patch, NONE, 1.1 qemu.spec, 1.96, 1.97
- Next message (by thread): rpms/m2crypto/devel m2crypto-0.19.1-ssl-selector.patch, NONE, 1.1 m2crypto.spec, 1.51, 1.52
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rdieter
Update of /cvs/pkgs/rpms/konversation/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23520
Modified Files:
.cvsignore konversation.spec sources
Removed Files:
konversation-1.1-amarok2.patch
Log Message:
* Wed Jun 03 2009 Rex Dieter <rdieter at fedoraproject.org> - 1.2-0.1.alpha3
- konversation-1.2-alpha3
- optimize scriptlets
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/konversation/devel/.cvsignore,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- .cvsignore 7 Aug 2008 14:20:05 -0000 1.7
+++ .cvsignore 3 Jun 2009 15:07:26 -0000 1.8
@@ -1 +1 @@
-konversation-1.1.tar.bz2
+konversation-1.2-alpha3.tar.bz2
Index: konversation.spec
===================================================================
RCS file: /cvs/pkgs/rpms/konversation/devel/konversation.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -p -r1.25 -r1.26
--- konversation.spec 2 Mar 2009 19:13:17 -0000 1.25
+++ konversation.spec 3 Jun 2009 15:07:26 -0000 1.26
@@ -1,30 +1,21 @@
+
+%define pre alpha3
+
Name: konversation
-Version: 1.1
-Release: 6%{?dist}
+Version: 1.2
+Release: 0.1.%{pre}%{?dist}
Summary: A user friendly IRC client
Group: Applications/Internet
License: GPLv2+
-URL: http://konversation.kde.org
-Source0: http://download.berlios.de/konversation/konversation-%{version}.tar.bz2
+URL: http://konversation.kde.org/
+Source0: http://download.berlios.de/konversation/konversation-%{version}%{?pre:-%{pre}}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-# upstream patches
-Patch1: konversation-1.1-amarok2.patch
-
-
BuildRequires: desktop-file-utils
BuildRequires: gettext
-%if 0%{?fedora} > 8
-BuildRequires: kdelibs3-devel
-%define vendor_path kde
-%else
-BuildRequires: kdelibs-devel
-BuildRequires: libutempter-devel
-%define vendor_pre fedora
-%define vendor_prefix -%{vendor_pre}
-%endif
-
+BuildRequires: kdelibs4-devel
+BuildRequires: phonon-devel
%description
A simple and easy to use IRC client with support for
@@ -33,75 +24,80 @@ ignore list functionality; (experimental
language characters; auto-connect to server; optional timestamps
to chat windows; configurable background colors and much more
-%prep
-%setup -q -n %{name}-%{version}
-%patch1 -p1 -b .amarok2
+%prep
+%setup -q -n %{name}-%{version}%{?pre:-%{pre}}
%build
-unset QTDIR || : ; . /etc/profile.d/qt.sh
-%configure \
- --disable-rpath \
- --enable-new-ldflags \
- --disable-final
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+%{cmake_kde4} ..
+popd
-make %{?_smp_mflags}
+make %{?_smp_mflags} -C %{_target_platform}
%install
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
-make install DESTDIR=$RPM_BUILD_ROOT
+make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
-desktop-file-install \
---dir="$RPM_BUILD_ROOT%{_datadir}/applications/%{?vendor_path}" \
---vendor="%{?vendor_pre}" \
---delete-original \
-$RPM_BUILD_ROOT%{_datadir}/applications/kde/konversation.desktop
## File lists
# locale's
%find_lang %{name} || touch %{name}.lang
# HTML
-HTML_DIR=$(kde-config --expandvars --install html)
-if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then
-for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do
+HTML_DIR=$(kde4-config --expandvars --install html)
+if [ -d %{buildroot}${HTML_DIR} ]; then
+for lang_dir in %{buildroot}${HTML_DIR}/* ; do
lang=$(basename $lang_dir)
- echo "%lang($lang) %doc $HTML_DIR/$lang/*" >> %{name}.lang
+ echo "%lang($lang) %doc ${HTML_DIR}/${lang}/*" >> %{name}.lang
done
fi
+%check
+desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/konversation.desktop
+
+
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
%post
-touch --no-create %{_datadir}/icons/hicolor || :
-touch --no-create %{_datadir}/icons/crystalsvg || :
+/sbin/ldconfig
+touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null ||:
+
+%posttrans
+gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null ||:
%postun
-touch --no-create %{_datadir}/icons/hicolor || :
-touch --no-create %{_datadir}/icons/crystalsvg || :
+/sbin/ldconfig
+if [ $1 -eq 0 ] ; then
+ touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null ||:
+ gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null ||:
+fi
+
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc ChangeLog COPYING README TODO
-%{_bindir}/konversation
-%{_datadir}/applications/%{?vendor_path}/%{?vendor_prefix}konversation.desktop
-%{_datadir}/apps/kconf_update/*
-%{_datadir}/apps/konversation
-%{_datadir}/config.kcfg/konversation.kcfg
-%{_datadir}/icons/crystalsvg/*/actions/*
-%{_datadir}/icons/hicolor/*/apps/*
-%{_datadir}/services/konvirc.protocol
-%{_datadir}/services/konvirc6.protocol
+%{_kde4_bindir}/konversation
+%{_kde4_datadir}/applications/kde4/konversation.desktop
+%{_kde4_datadir}/kde4/services/*.protocol
+%{_kde4_appsdir}/konversation
+%{_kde4_appsdir}/kconf_update/konversation*
+%{_kde4_iconsdir}/hicolor/*/*/*
%changelog
+* Wed Jun 03 2009 Rex Dieter <rdieter at fedoraproject.org> - 1.2-0.1.alpha3
+- konversation-1.2-alpha3
+- optimize scriptlets
+
* Mon Mar 02 2009 Dennis gilmore <dennis at ausil.us> - 1.1-6
- make Patch and %%patch use the same number
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/konversation/devel/sources,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- sources 7 Aug 2008 14:20:05 -0000 1.7
+++ sources 3 Jun 2009 15:07:26 -0000 1.8
@@ -1 +1 @@
-0d38a16747ab4f6549863de385cb551c konversation-1.1.tar.bz2
+880fcf55fbd85677249e78b8ebee1252 konversation-1.2-alpha3.tar.bz2
--- konversation-1.1-amarok2.patch DELETED ---
- Previous message (by thread): rpms/qemu/F-11 qemu-avoid-harmless-msr-warnings.patch, NONE, 1.1 qemu-fix-net-socket-list-init.patch, NONE, 1.1 qemu-prevent-cdrom-media-eject-while-device-is-locked.patch, NONE, 1.1 qemu.spec, 1.96, 1.97
- Next message (by thread): rpms/m2crypto/devel m2crypto-0.19.1-ssl-selector.patch, NONE, 1.1 m2crypto.spec, 1.51, 1.52
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list