!2 初始化仓库
From: @wangtaozhi Reviewed-by: @tangjie02 Signed-off-by: @tangjie02
This commit is contained in:
commit
9155b63a35
BIN
goffice-0.10.55.tar.xz
Normal file
BIN
goffice-0.10.55.tar.xz
Normal file
Binary file not shown.
68
goffice.spec
Normal file
68
goffice.spec
Normal file
@ -0,0 +1,68 @@
|
||||
Name: goffice
|
||||
Version: 0.10.55
|
||||
Release: 1%{?dist}
|
||||
Summary: G Office support libraries
|
||||
License: GPLv2+
|
||||
URL: http://projects.gnome.org/gnumeric/index.shtml
|
||||
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.10/%{name}-%{version}.tar.xz
|
||||
BuildRequires: gcc
|
||||
BuildRequires: intltool
|
||||
BuildRequires: make
|
||||
BuildRequires: pkgconfig(gtk+-3.0) >= 3.8.7
|
||||
BuildRequires: pkgconfig(lasem-0.4) >= 0.4.1
|
||||
BuildRequires: pkgconfig(libgsf-1) >= 1.14.24
|
||||
BuildRequires: pkgconfig(librsvg-2.0) >= 2.22.0
|
||||
BuildRequires: pkgconfig(libxslt)
|
||||
BuildRequires: perl(English)
|
||||
BuildRequires: perl(IO::Compress::Gzip)
|
||||
|
||||
%description
|
||||
Support libraries for gnome office
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Libraries and include files for goffice
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Development libraries for goffice
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
|
||||
%build
|
||||
%configure --disable-silent-rules
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
%make_build
|
||||
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%find_lang goffice-%{version}
|
||||
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
|
||||
rm $RPM_BUILD_ROOT/%{_libdir}/%{name}/%{version}/plugins/*/*.la
|
||||
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
|
||||
%files -f goffice-%{version}.lang
|
||||
%doc AUTHORS ChangeLog NEWS README
|
||||
%license COPYING
|
||||
%{_libdir}/*.so.*
|
||||
%{_libdir}/goffice/
|
||||
%{_datadir}/goffice/
|
||||
|
||||
%files devel
|
||||
%{_includedir}/libgoffice-0.10/
|
||||
%{_libdir}/pkgconfig/libgoffice-0.10.pc
|
||||
%{_libdir}/*.so
|
||||
%{_datadir}/gtk-doc/html/goffice-0.10/
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed May 24 2023 wangtaozhi <wangtaozhi@kylinsec.com.cn> - 0.10.55-1
|
||||
- Package init
|
||||
4
goffice.yaml
Normal file
4
goffice.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: gitlab
|
||||
src_repo: https://gitlab.gnome.org/GNOME/goffice/
|
||||
tag_prefix: "v"
|
||||
separator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user