Accepting request 735094 from GNOME:Next
Scripted push of project GNOME:Next OBS-URL: https://build.opensuse.org/request/show/735094 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/pango?expand=0&rev=202
This commit is contained in:
parent
0357a4fdba
commit
41de9c057f
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 14 13:46:54 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Modernize spec, prepare for possible spliting of package.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 3 15:23:01 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>
|
Tue Sep 3 15:23:01 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
34
pango.spec
34
pango.spec
@ -22,10 +22,11 @@ Release: 0
|
|||||||
Summary: Library for Layout and Rendering of Text
|
Summary: Library for Layout and Rendering of Text
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
URL: http://www.pango.org/
|
URL: https://pango.gnome.org/
|
||||||
Source0: https://download.gnome.org/sources/pango/1.44/%{name}-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/pango/1.44/%{name}-%{version}.tar.xz
|
||||||
Source2: macros.pango
|
Source2: macros.pango
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: gtk-doc
|
BuildRequires: gtk-doc
|
||||||
BuildRequires: help2man
|
BuildRequires: help2man
|
||||||
@ -117,23 +118,22 @@ This package contains all necessary include files and libraries needed
|
|||||||
to develop applications that require these.
|
to develop applications that require these.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%meson \
|
%meson \
|
||||||
-Dgtk_doc=true \
|
-Dgtk_doc=true \
|
||||||
-Dintrospection=true \
|
-Dintrospection=true \
|
||||||
|
-Dinstall-tests=false \
|
||||||
%{nil}
|
%{nil}
|
||||||
%meson_build
|
%meson_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%meson_install
|
%meson_install
|
||||||
|
|
||||||
# Install rpm macros
|
# Install rpm macros
|
||||||
mkdir -p %{buildroot}%_rpmmacrodir
|
mkdir -p %{buildroot}%_rpmmacrodir
|
||||||
cp %{SOURCE2} %{buildroot}%_rpmmacrodir
|
cp %{SOURCE2} %{buildroot}%_rpmmacrodir
|
||||||
# Remove tests, we have no need for them - FIXME if any one can figure out how to disable build of these with meson == awesome
|
|
||||||
rm -rf %{buildroot}%{_libexecdir}/installed-tests
|
|
||||||
rm -rf %{buildroot}%{_datadir}/installed-tests
|
|
||||||
|
|
||||||
%post -n libpango-1_0-0 -p /sbin/ldconfig
|
%post -n libpango-1_0-0 -p /sbin/ldconfig
|
||||||
%postun -n libpango-1_0-0 -p /sbin/ldconfig
|
%postun -n libpango-1_0-0 -p /sbin/ldconfig
|
||||||
@ -141,7 +141,10 @@ rm -rf %{buildroot}%{_datadir}/installed-tests
|
|||||||
%files -n libpango-1_0-0
|
%files -n libpango-1_0-0
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc NEWS README.md
|
%doc NEWS README.md
|
||||||
%{_libdir}/lib*.so.*
|
%{_libdir}/libpango-1.0.so.*
|
||||||
|
%{_libdir}/libpangocairo-1.0.so.*
|
||||||
|
%{_libdir}/libpangoft2-1.0.so.*
|
||||||
|
%{_libdir}/libpangoxft-1.0.so.*
|
||||||
|
|
||||||
%files -n typelib-1_0-Pango-1_0
|
%files -n typelib-1_0-Pango-1_0
|
||||||
%{_libdir}/girepository-1.0/Pango-1.0.typelib
|
%{_libdir}/girepository-1.0/Pango-1.0.typelib
|
||||||
@ -159,10 +162,21 @@ rm -rf %{buildroot}%{_datadir}/installed-tests
|
|||||||
%files devel
|
%files devel
|
||||||
%doc CODING_STYLE.md THANKS
|
%doc CODING_STYLE.md THANKS
|
||||||
%doc %{_datadir}/gtk-doc/html/pango/
|
%doc %{_datadir}/gtk-doc/html/pango/
|
||||||
%{_libdir}/lib*.so
|
|
||||||
%{_libdir}/pkgconfig/*.pc
|
|
||||||
%{_includedir}/pango-1.0/
|
|
||||||
%{_datadir}/gir-1.0/*.gir
|
|
||||||
%_rpmmacrodir/macros.pango
|
%_rpmmacrodir/macros.pango
|
||||||
|
%{_includedir}/pango-1.0/
|
||||||
|
%{_libdir}/libpango-1.0.so
|
||||||
|
%{_libdir}/libpangocairo-1.0.so
|
||||||
|
%{_libdir}/libpangoft2-1.0.so
|
||||||
|
%{_libdir}/libpangoxft-1.0.so
|
||||||
|
%{_libdir}/pkgconfig/pango.pc
|
||||||
|
%{_libdir}/pkgconfig/pangocairo.pc
|
||||||
|
%{_libdir}/pkgconfig/pangoft2.pc
|
||||||
|
%{_libdir}/pkgconfig/pangoxft.pc
|
||||||
|
%{_datadir}/gir-1.0/Pango-1.0.gir
|
||||||
|
%{_datadir}/gir-1.0/PangoCairo-1.0.gir
|
||||||
|
%{_datadir}/gir-1.0/PangoFT2-1.0.gir
|
||||||
|
%{_datadir}/gir-1.0/PangoFc-1.0.gir
|
||||||
|
%{_datadir}/gir-1.0/PangoOT-1.0.gir
|
||||||
|
%{_datadir}/gir-1.0/PangoXft-1.0.gir
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user