Hello community, here is the log from the commit of package kvirc for openSUSE:Factory checked in at Tue Sep 27 16:07:23 CEST 2011.
-------- --- kvirc/kvirc.changes 2011-04-04 00:16:38.000000000 +0200 +++ /mounts/work_src_done/STABLE/kvirc/kvirc.changes 2011-09-16 17:43:22.000000000 +0200 @@ -1,0 +2,8 @@ +Fri Sep 16 13:00:21 UTC 2011 - [email protected] + +- Added %kde4_runtime_requires macro (fix for RPMLINT warning) +- Removed commented lines (fix for RPMLINT warning) +- Added automatic language check (fix for RPMLINT warning) +- Cleaned up spec file formatting + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kvirc.spec ++++++ --- /var/tmp/diff_new_pack.WcrqMz/_old 2011-09-27 16:07:19.000000000 +0200 +++ /var/tmp/diff_new_pack.WcrqMz/_new 2011-09-27 16:07:19.000000000 +0200 @@ -15,35 +15,30 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - - Name: kvirc -%define _realversion 4.0 -BuildRequires: audiofile-devel cmake fdupes libkde4-devel libqt4-devel -BuildRequires: libQtWebKit-devel libopenssl-devel update-desktop-files -BuildRequires: libsamplerate-devel phonon-devel python-devel -Url: http://www.kvirc.net/ -License: KVIrc Irc Client license -Group: Productivity/Networking/IRC -Summary: Graphical Front-End for IRC Version: 4.0.4 Release: 2 +License: KVIrc Irc Client license +Summary: Graphical Front-End for IRC +Url: http://www.kvirc.net/ +Group: Productivity/Networking/IRC Source: ftp://ftp.kvirc.de/pub/kvirc/%{version}/source/kvirc-%{version}.tar.bz2 +%define _realversion 4.0 +BuildRequires: audiofile-devel +BuildRequires: fdupes +BuildRequires: libkde4-devel +BuildRequires: libopenssl-devel +BuildRequires: libsamplerate-devel +BuildRequires: python-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %requires_eq perl +%kde4_runtime_requires %description IRC (Internet Relay Chat) client with an MDI interface; scripting, pop-up, alias, and event editor; DCC (SEND CHAT VOICE and RESUME); SOCKSV4 & V5 support; and more. - - -Authors: --------- - Szymon Stefanek <[email protected]> - %package devel License: KVIrc Irc Client license Summary: Graphical Front-End for IRC @@ -56,57 +51,46 @@ SOCKSV4 & V5 support; and more. See documentation in /opt/kde/share/doc/HTML/de/kvirc/index.html. - - -Authors: --------- - Szymon Stefanek <[email protected]> - %prep %setup -q -n kvirc-%{version} sed -i -e 's|@CMAKE_KVIRC_BUILD_DATE@||g' cmake/kvirc-config.cmake %build -mkdir -p build -pushd build -cmake \ - -DCMAKE_C_FLAGS="%{optflags}" \ - -DCMAKE_CXX_FLAGS="%{optflags}" \ - -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \ - -DCMAKE_SKIP_RPATH=ON \ - -DCMAKE_INSTALL_PREFIX=%{_prefix} \ - -DWANT_KDE4=ON \ - -DWANT_COEXISTENCE=OFF \ -%if %{_lib} == lib64 - -DLIB_SUFFIX=64 \ -%endif - %{_builddir}/kvirc-%{version} - -%__make %{_smp_mflags} VERBOSE=1 -popd +ls +echo ls +%cmake_kde4 -d build -- -DWANT_KDE4=ON -DWANT_COEXISTENCE=OFF +make %{?_smp_mflags} VERBOSE=1 %install pushd build -%makeinstall +%make_install %suse_update_desktop_file kvirc Network IRCClient popd +L="$PWD/%{name}.lang" +echo -n >"$L" +pushd "%{buildroot}%{_datadir}/%{name}" +find . -type f -name '*.mo' | while read f; do +l="${f#./}" +l="${l%%/*}" +echo "%lang($l) %{_datadir}/%{name}/${f#./}" >> "$L" +done +popd %fdupes %{buildroot} %post -p /sbin/ldconfig - %postun -p /sbin/ldconfig %clean -%__rm -rf %{buildroot} +rm -rf %{buildroot} -%files +%files -f %{name}.lang %defattr(-,root,root) %doc README INSTALL ChangeLog -%{_bindir}/kvirc* -%{_libdir}/libkvilib*.so.* -%dir %{_libdir}/kvirc -%dir %{_libdir}/kvirc/%{_realversion} -%{_libdir}/kvirc/%{_realversion}/modules +%{_kde4_bindir}/kvirc* +%{_kde4_libdir}/libkvilib*.so.* +%dir %{_kde4_libdir}/kvirc +%dir %{_kde4_libdir}/kvirc/%{_realversion} +%{_kde4_libdir}/kvirc/%{_realversion}/modules %dir %{_datadir}/kvirc %dir %{_datadir}/kvirc/%{_realversion} %{_datadir}/kvirc/%{_realversion}/audio @@ -121,24 +105,15 @@ %{_datadir}/kvirc/%{_realversion}/locale %{_datadir}/kvirc/%{_realversion}/themes %{_datadir}/mime/packages/kvirc.xml -#%dir %{_datadir}/mimelnk -#%dir %{_datadir}/mimelnk/text -#%dir %{_datadir}/mimelnk/applications -#%{_datadir}/mimelnk/text/x-kvc.desktop -#%{_datadir}/mimelnk/text/x-kvs.desktop -#%{_datadir}/mimelnk/applications/x-kvt.desktop -#%{_datadir}/mimelnk/applications/x-kva.desktop %{_datadir}/applications/kvirc*.desktop %{_datadir}/icons/hicolor %{_datadir}/pixmaps/kvirc.png +%{_mandir}/*/man?/kvirc.* %{_mandir}/man?/kvirc.* -%{_mandir}/de/man?/kvirc.* -%{_mandir}/it/man?/kvirc.* -%{_mandir}/fr/man?/kvirc.* %files devel %defattr(-,root,root) -%{_bindir}/kvirc*-config -%{_libdir}/libkvilib*.so +%{_kde4_bindir}/kvirc*-config +%{_kde4_libdir}/libkvilib*.so %changelog ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
