Hello community, here is the log from the commit of package granite for openSUSE:Factory checked in at 2016-09-24 15:28:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/granite (Old) and /work/SRC/openSUSE:Factory/.granite.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "granite" Changes: -------- --- /work/SRC/openSUSE:Factory/granite/granite.changes 2016-03-18 21:39:11.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.granite.new/granite.changes 2016-09-24 15:29:14.000000000 +0200 @@ -1,0 +2,16 @@ +Thu Sep 22 17:27:52 UTC 2016 - [email protected] + +- Fix install the lang pack + +------------------------------------------------------------------- +Thu Sep 15 20:31:58 UTC 2016 - [email protected] + +- Spec file cleanup + +------------------------------------------------------------------- +Sat Sep 10 17:01:14 UTC 2016 - [email protected] + +- update to version 0.4.0.1 +- add a lang package + +------------------------------------------------------------------- Old: ---- granite-0.3.1.tar.xz granite-rpmlintrc New: ---- granite-0.4.0.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ granite.spec ++++++ --- /var/tmp/diff_new_pack.84cVQ0/_old 2016-09-24 15:29:15.000000000 +0200 +++ /var/tmp/diff_new_pack.84cVQ0/_new 2016-09-24 15:29:15.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package granite # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,23 +16,26 @@ # +%define soname libgranite3 +%define _typelibdir %(pkg-config --variable=typelibdir gobject-introspection-1.0) +%define _girdir %(pkg-config --variable=girdir gobject-introspection-1.0) Name: granite -%define lname libgranite3 -Version: 0.3.1 +Version: 0.4.0.1 Release: 0 Summary: An extension of GTK+ libraries License: LGPL-3.0+ Group: Development/Libraries/C and C++ Url: https://launchpad.net/granite/ -Source: https://launchpad.net/granite/0.3/%version/+download/%name-%version.tar.xz -Source3: %name-rpmlintrc +Source: https://launchpad.net/granite/0.4/%{version}/+download/%{name}-%{version}.tar.xz BuildRequires: cmake >= 2.8 -BuildRequires: gobject-introspection-devel -BuildRequires: vala >= 0.20.1 +BuildRequires: fdupes +BuildRequires: pkgconfig +BuildRequires: vala >= 0.28.0 BuildRequires: pkgconfig(gee-0.8) BuildRequires: pkgconfig(gio-unix-2.0) +BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(gthread-2.0) -BuildRequires: pkgconfig(gtk+-3.0) >= 3.11.6 +BuildRequires: pkgconfig(gtk+-3.0) >= 3.16.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -40,100 +43,100 @@ commonly-used widgets such as modeswitchers, welcome screens, AppMenus, search bars, and more found in Elementary applications. +%package -n %{soname} +Summary: Granite is a development library +Group: System/Libraries +Requires: %{name}-common +Provides: %{name} = %{version} + +%description -n %{soname} +Granite is an extension of GTK+. It provides the commonly used widgets +found in Elementary applications. + %package common Summary: Granite development library -- Common Files Group: System/Libraries +Recommends: %{name}-lang %description common -Granite is an extension of GTK+. It provides the commonly used -widgets found in Elementary applications. +Granite is an extension of GTK+. -This package contains the common files needed by the library +This package contains the common files needed by the library. %package demo Summary: Granite development library -- Demo binary Group: Development/Libraries/Other %description demo -Granite is an extension of GTK+. It provides the commonly used -widgets found in Elementary applications. +Granite is an extension of GTK+. -This package contains a small demo application to show the granite widgets +This package contains a small demo application to show the %{name} widgets. -%package devel -Summary: Granite development library -- Development files +%package -n typelib-1_0-Granite-1_0 +Summary: Granite development library -- Introspection bindings Group: Development/Libraries/GNOME -Requires: %lname = %version -%description devel -Granite is an extension of GTK+. It provides the commonly used -widgets found in Elementary applications. - -This package contains the development files for libgranite - -%package -n %lname -Summary: Granite is a development library for Elementary development -Group: System/Libraries -Requires: %name-common +%description -n typelib-1_0-Granite-1_0 +Granite is an extension of GTK+. -%description -n %lname -Granite is an extension of GTK+. It provides the commonly used -widgets found in Elementary applications. +This package provides the GObject Introspection bindings for lib%{name}. -%package -n typelib-1_0-Granite-1_0 -Summary: Granite development library -- Introspection bindings +%package devel +Summary: Granite development library -- Development files Group: Development/Libraries/GNOME +Requires: %{soname} = %{version} -%description -n typelib-1_0-Granite-1_0 -Granite is an extension of GTK+. It provides the commonly used -widgets found in Elementary applications. +%description devel +Granite is an extension of GTK+. + +This package contains the development files for lib%{name}. -This package provides the GObject Introspection bindings for libgranite +%lang_package %prep %setup -q %build -mkdir -p build -cd build -export CFLAGS="%optflags" -cmake -DCMAKE_INSTALL_PREFIX="%_prefix" -DCMAKE_INSTALL_LIBDIR="%_libdir" .. -make +%cmake +make %{?_smp_mflags} %install -pushd build/ -%make_install -popd -%find_lang granite +%cmake_install +%find_lang %{name} +%fdupes -s %{buildroot}%{_datadir} -%post -n %lname -p /sbin/ldconfig -%postun -n %lname -p /sbin/ldconfig +%post -n %{soname} -p /sbin/ldconfig +%postun -n %{soname} -p /sbin/ldconfig -%files common -f granite.lang +%files -n %{soname} +%defattr(-,root,root) +%{_libdir}/lib%{name}.so.* + +%files common %defattr(-,root,root) %doc AUTHORS COPYING README -%_datadir/icons/hicolor/*/actions/*.svg -%_datadir/icons/hicolor/scalable/actions/*.svg +%{_datadir}/icons/hicolor/*/actions/appointment.??g +%{_datadir}/icons/hicolor/*/actions/open-menu*.??g %files demo %defattr(-, root, root) -%_bindir/granite-demo -%_datadir/applications/granite-demo.desktop +%{_bindir}/%{name}-demo +%{_datadir}/applications/%{name}-demo.desktop -%files devel +%files -n typelib-1_0-Granite-1_0 %defattr(-,root,root) -%_includedir/granite/ -%_libdir/libgranite.so -%_libdir/pkgconfig/*.pc -%_datadir/gir-1.0/ -%_datadir/vala/ +%{_typelibdir}/Granite-1.0.typelib -%files -n %lname +%files devel %defattr(-,root,root) -%_libdir/*.so.* +%{_includedir}/%{name}/ +%{_libdir}/lib%{name}.so +%{_libdir}/pkgconfig/%{name}.pc +%{_girdir}/Granite-1.0.gir +%{_datadir}/vala/vapi/%{name}.deps +%{_datadir}/vala/vapi/%{name}.vapi -%files -n typelib-1_0-Granite-1_0 +%files lang -f %{name}.lang %defattr(-,root,root) -%_libdir/girepository-1.0/ %changelog ++++++ granite-0.3.1.tar.xz -> granite-0.4.0.1.tar.xz ++++++ ++++ 23984 lines of diff (skipped)
