use %make_build %make_install %ldconfig_scriptlets
This commit is contained in:
parent
53c066c055
commit
b91e77734f
13
fltk.spec
13
fltk.spec
@ -9,7 +9,7 @@
|
|||||||
Summary: C++ user interface toolkit
|
Summary: C++ user interface toolkit
|
||||||
Name: fltk
|
Name: fltk
|
||||||
Version: 1.3.4
|
Version: 1.3.4
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
|
|
||||||
# see COPYING (or http://www.fltk.org/COPYING.php ) for exceptions details
|
# see COPYING (or http://www.fltk.org/COPYING.php ) for exceptions details
|
||||||
License: LGPLv2+ with exceptions
|
License: LGPLv2+ with exceptions
|
||||||
@ -107,11 +107,12 @@ autoconf
|
|||||||
--enable-xinerama \
|
--enable-xinerama \
|
||||||
--enable-xft
|
--enable-xft
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
%make_install
|
||||||
|
|
||||||
make install-linux -C fluid DESTDIR=$RPM_BUILD_ROOT
|
make install-linux -C fluid DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
# we only apply this hack to multilib arch's
|
# we only apply this hack to multilib arch's
|
||||||
@ -135,8 +136,7 @@ rm -rv $RPM_BUILD_ROOT%{_mandir}/cat*
|
|||||||
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/fluid.desktop
|
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/fluid.desktop
|
||||||
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%ldconfig_scriptlets
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc ANNOUNCEMENT CHANGES CREDITS README
|
%doc ANNOUNCEMENT CHANGES CREDITS README
|
||||||
@ -173,6 +173,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/fluid.desktop
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jun 28 2018 Rex Dieter <rdieter@fedoraproject.org> - 1.3.4-6
|
||||||
|
- use %%make_build %%make_install %%ldconfig_scriptlets
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-5
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user