update code
This commit is contained in:
parent
2196a5ce60
commit
e664047195
36
fltk.spec
36
fltk.spec
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: fltk
|
Name: fltk
|
||||||
Version: 1.3.4
|
Version: 1.3.4
|
||||||
Release: 8
|
Release: 9
|
||||||
Summary: C++ user interface toolkit
|
Summary: C++ user interface toolkit
|
||||||
License: LGPLv2+ with exceptions
|
License: LGPLv2+ with exceptions
|
||||||
URL: http://www.fltk.org/
|
URL: http://www.fltk.org/
|
||||||
@ -15,8 +15,8 @@ Patch0001: fltk-1.3.4-fltk_config.patch
|
|||||||
#PATCH-FIX-https://bugzilla.redhat.com/
|
#PATCH-FIX-https://bugzilla.redhat.com/
|
||||||
Patch0002: fltk-1.3.4-x-fluid_mimetype.patch
|
Patch0002: fltk-1.3.4-x-fluid_mimetype.patch
|
||||||
|
|
||||||
Provides: %{name}-static %{name}-fluid
|
Provides: %{name}-fluid = %{version}-%{release}
|
||||||
Obsoletes: %{name}-static %{name}-fluid
|
Obsoletes: %{name}-fluid < %{version}-%{release}
|
||||||
|
|
||||||
BuildRequires: gcc-c++ desktop-file-utils libjpeg-devel pkgconfig(libpng) pkgconfig(gl) pkgconfig(glu) pkgconfig(ice)
|
BuildRequires: gcc-c++ desktop-file-utils libjpeg-devel pkgconfig(libpng) pkgconfig(gl) pkgconfig(glu) pkgconfig(ice)
|
||||||
BuildRequires: pkgconfig(sm) pkgconfig(xext) pkgconfig(xinerama) pkgconfig(xft) pkgconfig(xt) pkgconfig(x11)
|
BuildRequires: pkgconfig(sm) pkgconfig(xext) pkgconfig(xinerama) pkgconfig(xft) pkgconfig(xt) pkgconfig(x11)
|
||||||
@ -30,6 +30,8 @@ the bloat, and supports 3D graphics via OpenGL and its built-in GLUT emulation.
|
|||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release} libstdc++-devel pkgconfig(gl) pkgconfig(glu)
|
Requires: %{name}%{?_isa} = %{version}-%{release} libstdc++-devel pkgconfig(gl) pkgconfig(glu)
|
||||||
Requires: pkgconfig(ice) pkgconfig(sm) pkgconfig(xft) pkgconfig(xt) pkgconfig(x11)
|
Requires: pkgconfig(ice) pkgconfig(sm) pkgconfig(xft) pkgconfig(xt) pkgconfig(x11)
|
||||||
|
Provides: %{name}-static = %{version}-%{release}
|
||||||
|
Obsoletes: %{name}-static < %{version}-%{release}
|
||||||
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -38,13 +40,7 @@ Microsoft(r) Windows(r), and MacOS(r) X. FLTK provides modern GUI functionality
|
|||||||
graphics via OpenGL(r) and its built-in GLUT emulation. It was originally developed by Mr. Bill Spitzak and is
|
graphics via OpenGL(r) and its built-in GLUT emulation. It was originally developed by Mr. Bill Spitzak and is
|
||||||
currently maintained by a small group of developers across the world with a central repository
|
currently maintained by a small group of developers across the world with a central repository
|
||||||
|
|
||||||
%package help
|
%package_help
|
||||||
Summary: Documents for autogen
|
|
||||||
Buildarch: noarch
|
|
||||||
Requires: man
|
|
||||||
|
|
||||||
%description help
|
|
||||||
Man pages and other related documents.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version}-1 -p1
|
%autosetup -n %{name}-%{version}-1 -p1
|
||||||
@ -96,27 +92,35 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/fluid.desktop
|
|||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc ANNOUNCEMENT CHANGES CREDITS README
|
%defattr(-,root,root)
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_libdir}/*.so.*
|
|
||||||
%{_bindir}/fluid
|
%{_bindir}/fluid
|
||||||
%{_datadir}/applications/fluid.desktop
|
%{_libdir}/*.so.*
|
||||||
%{_datadir}/icons/hicolor/*/*/*
|
%{_datadir}/icons/hicolor/*/*/*
|
||||||
|
%{_datadir}/applications/fluid.desktop
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
%{_bindir}/fltk-config
|
%{_bindir}/fltk-config
|
||||||
%{?arch:%{_bindir}/fltk-config-%{arch}}
|
%{?arch:%{_bindir}/fltk-config-%{arch}}
|
||||||
|
%{_libdir}/*.a
|
||||||
|
%{_libdir}/*.so
|
||||||
%{_includedir}/FL/
|
%{_includedir}/FL/
|
||||||
%{_includedir}/Fl
|
%{_includedir}/Fl
|
||||||
%{_libdir}/*.so
|
|
||||||
%{_libdir}/*.a
|
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc README* ANNOUNCEMENT CHANGES* CREDITS __docs/*
|
||||||
%{_mandir}/man1/fltk-config.1*
|
%{_mandir}/man1/fltk-config.1*
|
||||||
%{_mandir}/man3/fltk.3*
|
%{_mandir}/man3/fltk.3*
|
||||||
%{_mandir}/man1/fluid.1*
|
%{_mandir}/man1/fluid.1*
|
||||||
%doc __docs/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.3.4-9
|
||||||
|
- Type:bugfix
|
||||||
|
- Id:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:modify the static package
|
||||||
|
|
||||||
* Wed Sep 11 2019 openEuler jimmy<dukaitian@huawei.com> - 1.3.4-8
|
* Wed Sep 11 2019 openEuler jimmy<dukaitian@huawei.com> - 1.3.4-8
|
||||||
- Package init jimmy
|
- Package init jimmy
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user