1 Star 0 Fork 10

src-oepkgs-oE-rv/glade

forked from src-openEuler/glade 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
glade.spec 3.03 KB
Copy Edit Raw Blame History
shirely16 authored 2020-07-28 10:59 . spec
Name: glade
Version: 3.36.0
Release: 1
Summary: User Interface Designer for GTK+
License: GPLv2+ and LGPLv2+
URL: https://glade.gnome.org/
Source0: https://ftp.gnome.org/pub/GNOME/sources/glade/3.36/glade-%{version}.tar.xz
BuildRequires: chrpath desktop-file-utils docbook-style-xsl gettext gtk3-devel intltool
BuildRequires: itstool libxml2-devel pygobject3-devel python3-devel webkit2gtk3-devel glade
BuildRequires: /usr/bin/appstream-util /usr/bin/xsltproc
Requires: %{name}-libs = %{version}-%{release}
Obsoletes: glade3 < 1:3.11.0-3
%description
Glade is a RAD tool to enable quick and easy development of user interfaces for
the GTK+ toolkit and the GNOME desktop environment.
The user interfaces designed in Glade are saved as XML, which can be used in
numerous programming languages including C, C++, C#, Vala, Java, Perl, Python,
and others.
%package libs
Summary: Widget library for Glade UI designer
Obsoletes: glade3-libgladeui < 1:3.11.0-3
%description libs
Widget library for Glade UI designer
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}
Obsoletes: glade3-libgladeui-devel < 1:3.11.0-3
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use Glade widget library.
%package_help
%prep
%autosetup -n %{name}-%{version}
%build
export PYTHON=%{__python3}
%configure --disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
%make_build
%install
%make_install
%delete_la
chrpath --delete %{buildroot}%{_bindir}/glade*
chrpath --delete %{buildroot}%{_libdir}/glade/modules/*.so
%find_lang glade --with-gnome
cp -a %{_libdir}/libgladeui-2.so.* %{buildroot}%{_libdir}
%check
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.gnome.Glade.appdata.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Glade.desktop
%files
%defattr(-,root,root)
%license COPYING*
%{_bindir}/glade
%{_bindir}/glade-previewer
%{_datadir}/locale/*
%{_datadir}/applications/org.gnome.Glade.desktop
%{_datadir}/help/*
%{_datadir}/icons/*
%{_datadir}/metainfo/org.gnome.Glade.appdata.xml
%files libs
%defattr(-,root,root)
%{_libdir}/libgladeui-2.so.*
%dir %{_libdir}/glade/modules/
%{_libdir}/glade/modules/*.so
%dir %{_libdir}/girepository-1.0
%{_libdir}/girepository-1.0/Gladeui-2.0.typelib
%{_datadir}/glade/
%files devel
%defattr(-,root,root)
%doc %{_datadir}/gtk-doc/
%{_includedir}/libgladeui-2.0/
%{_libdir}/libgladeui-2.so
%{_libdir}/pkgconfig/gladeui-2.0.pc
%{_datadir}/gir-1.0/Gladeui-2.0.gir
%files help
%doc AUTHORS NEWS
%{_mandir}/man1/*
%changelog
* Thu Jul 23 2020 hanhui <hanhui15@huawei.com> - 3.36.0-1
- update to 3.36.0
* Fri Nov 8 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.22.1-5
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:add libs package
* Sat Oct 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.22.1-4
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-oepkgs-oe-rv/glade.git
git@gitee.com:src-oepkgs-oe-rv/glade.git
src-oepkgs-oe-rv
glade
glade
master

Search