Hello community, here is the log from the commit of package libquvi-scripts for openSUSE:Factory checked in at 2012-01-19 09:43:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libquvi-scripts (Old) and /work/SRC/openSUSE:Factory/.libquvi-scripts.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libquvi-scripts", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/libquvi-scripts/libquvi-scripts.changes 2012-01-11 15:38:36.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libquvi-scripts.new/libquvi-scripts.changes 2012-01-19 09:43:07.000000000 +0100 @@ -1,0 +2,12 @@ +Tue Jan 17 12:34:24 UTC 2012 - [email protected] + +- Always build against lua-devel: lua 5.2 on 12.2/Factory doesn't + seem to be an issue. + +------------------------------------------------------------------- +Wed Jan 11 10:22:34 UTC 2012 - [email protected] + +- fix build on < factory +- also package nsfw scripts, but into a separate subpackage + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libquvi-scripts.spec ++++++ --- /var/tmp/diff_new_pack.fVCQgX/_old 2012-01-19 09:43:08.000000000 +0100 +++ /var/tmp/diff_new_pack.fVCQgX/_new 2012-01-19 09:43:08.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package libquvi-scripts # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,15 +15,16 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: libquvi-scripts Version: 0.4.2 -Release: 1 +Release: 0 Summary: Lua scripts used by libquvi -Group: Productivity/Multimedia/Other License: LGPL-2.1+ +Group: Productivity/Multimedia/Other Url: http://quvi.sourceforge.net/ Source: %{name}-%{version}.tar.bz2 -BuildRequires: lua51-devel +BuildRequires: lua-devel >= 5.1 # For pkgconfig() Provides BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -43,23 +44,46 @@ parsing the media details. Some additional utility scripts are also included. +%package nsfw +Summary: Not Safe For Work Lua scripts used by libquvi +Group: Productivity/Multimedia/Other +Requires: %{name} = %{version} + +%description nsfw +Website fetching scripts used by %{name} that are marked as "NSFW" +(Not Safe For Work). + %prep %setup -q %build -%configure +%configure \ + --with-nsfw + make %{?_smp_mflags} %install %make_install find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print -%files +EXCL="$PWD/exclude.lst" +NSFW="$PWD/nsfw.lst" +echo -n >"$EXCL" +echo -n >"$NSFW" +perl -n -e 'print $1,"\n" if /^if WITH_NSFW/ .. /endif/ and m,\b(lua/website/.+\.lua),' share/Makefile.am | while read f; do + echo "%exclude %{_datadir}/libquvi-scripts/$f" >>"$EXCL" + echo "%{_datadir}/libquvi-scripts/$f" >>"$NSFW" +done + +%files -f exclude.lst %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING NEWS README %{_datadir}/libquvi-scripts/ %{_mandir}/man7/libquvi-scripts.7%{?ext_man} +%files nsfw -f nsfw.lst +%defattr(-,root,root) + %files devel %defattr(-,root,root) %{_libdir}/pkgconfig/libquvi-scripts.pc -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
