package init
This commit is contained in:
parent
69e29c0318
commit
3f8fff9907
BIN
gdl-3.34.0.tar.xz
Normal file
BIN
gdl-3.34.0.tar.xz
Normal file
Binary file not shown.
71
libgdl.spec
Normal file
71
libgdl.spec
Normal file
@ -0,0 +1,71 @@
|
||||
Name: libgdl
|
||||
Epoch: 1
|
||||
Version: 3.34.0
|
||||
Release: 1
|
||||
Summary: GNOME docking library
|
||||
License: LGPLv2+
|
||||
URL: http://www.gnome.org/
|
||||
Source0: http://download.gnome.org/sources/gdl/3.34/gdl-%{version}.tar.xz
|
||||
BuildRequires: gettext gobject-introspection-devel gtk3-devel
|
||||
BuildRequires: gtk-doc intltool libtool libxml2-devel perl(XML::Parser)
|
||||
|
||||
%description
|
||||
GDL adds dockable widgets to GTK+. The user can rearrange those widgets by drag
|
||||
and drop and layouts can be saved and loaded. Currently it is used by anjuta,
|
||||
inkscape, gtranslator and others.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package contains development files for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n gdl-%{version}
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--disable-silent-rules \
|
||||
--disable-static \
|
||||
--enable-introspection=yes
|
||||
|
||||
sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find $RPM_BUILD_ROOT -type f -name "*.la" -delete
|
||||
|
||||
%find_lang gdl-3
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files -f gdl-3.lang
|
||||
%license COPYING
|
||||
%doc AUTHORS
|
||||
%doc MAINTAINERS
|
||||
%doc NEWS
|
||||
%doc README
|
||||
%{_libdir}/%{name}-3.so.*
|
||||
%dir %{_libdir}/girepository-1.0
|
||||
%{_libdir}/girepository-1.0/Gdl-3.typelib
|
||||
|
||||
%files devel
|
||||
%{_libdir}/%{name}-3.so
|
||||
%{_libdir}/pkgconfig/gdl-3.0.pc
|
||||
|
||||
%dir %{_datadir}/gir-1.0
|
||||
%{_datadir}/gir-1.0/Gdl-3.gir
|
||||
|
||||
%dir %{_datadir}/gtk-doc/
|
||||
%dir %{_datadir}/gtk-doc/html/
|
||||
%doc %{_datadir}/gtk-doc/html/gdl-3.0/
|
||||
|
||||
%dir %{_includedir}/%{name}-3.0
|
||||
%{_includedir}/%{name}-3.0/gdl
|
||||
|
||||
%changelog
|
||||
* Thu Jul 23 2020 chengzihan <chengzihan2@huawei.com> - 1:3.34.0-1
|
||||
- Package init
|
||||
4
libgdl.yaml
Normal file
4
libgdl.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: GNOME/gdl
|
||||
tag_prefix: "GDL_"
|
||||
seperator: "_"
|
||||
Loading…
x
Reference in New Issue
Block a user