update code
This commit is contained in:
commit
e14fe26381
BIN
glade-3.22.1.tar.xz
Normal file
BIN
glade-3.22.1.tar.xz
Normal file
Binary file not shown.
89
glade.spec
Normal file
89
glade.spec
Normal file
@ -0,0 +1,89 @@
|
||||
Name: glade
|
||||
Version: 3.22.1
|
||||
Release: 4
|
||||
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.22/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
|
||||
BuildRequires: /usr/bin/appstream-util /usr/bin/xsltproc
|
||||
|
||||
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 devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name} = %{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
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/glade.appdata.xml
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/glade.desktop
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%license COPYING*
|
||||
%{_bindir}/glade
|
||||
%{_bindir}/glade-previewer
|
||||
%{_datadir}/glade/
|
||||
%{_datadir}/locale/*
|
||||
%{_datadir}/help/*
|
||||
%{_datadir}/applications/glade.desktop
|
||||
%{_datadir}/icons/*
|
||||
%{_datadir}/metainfo/glade.appdata.xml
|
||||
%{_libdir}/girepository-1.0/Gladeui-2.0.typelib
|
||||
%{_libdir}/glade/modules/*.so
|
||||
%{_libdir}/libgladeui-2.so.*
|
||||
|
||||
%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 README
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
* Sat Oct 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.22.1-4
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user