giflib/giflib.spec

76 lines
1.7 KiB
RPMSpec
Raw Normal View History

2020-07-24 17:30:37 +08:00
%define debug_package %{nil}
2019-09-30 10:40:34 -04:00
Name: giflib
2020-07-24 17:09:17 +08:00
Version: 5.2.1
Release: 1
2019-09-30 10:40:34 -04:00
Summary: A library and utilities for processing GIFs
License: MIT
URL: http://www.sourceforge.net/projects/giflib/
2020-07-24 17:09:17 +08:00
Source: http://downloads.sourceforge.net/giflib/giflib-%{version}.tar.gz
2019-09-30 10:40:34 -04:00
2020-07-24 17:09:17 +08:00
BuildRequires: make xmlto gcc
2019-09-30 10:40:34 -04:00
provides: giflib-utils
%description
giflib is a library of gif images and provides utilities for processing images.
%package devel
Summary: files for developing programs which use the giflib library
2020-01-15 02:04:41 +08:00
Requires: %{name} = %{version}-%{release}
2019-09-30 10:40:34 -04:00
%description devel
development header files, libraries for programs using the giflib library.
2019-12-26 15:16:43 +08:00
%package_help
2019-09-30 10:40:34 -04:00
%prep
%autosetup -n %{name}-%{version} -p1
%build
%make_build
%install
2020-07-24 17:09:17 +08:00
%make_install PREFIX="%{_prefix}" LIBDIR="%{_libdir}"
2019-09-30 10:40:34 -04:00
rm -f doc/Makefile*
2020-07-24 17:09:17 +08:00
rm -f %{buildroot}/debugsourcefiles.list
2019-09-30 10:40:34 -04:00
%ldconfig_scriptlets
%files
2019-12-26 15:16:43 +08:00
%defattr(-,root,root)
2020-07-24 17:09:17 +08:00
%doc ChangeLog NEWS README
2019-12-26 15:16:43 +08:00
%license COPYING
2019-09-30 10:40:34 -04:00
%{_libdir}/libgif.so.7*
2020-07-24 17:09:17 +08:00
%exclude %{_libdir}/*.a
2019-09-30 10:40:34 -04:00
%{_bindir}/gif*
%files devel
2019-12-26 15:16:43 +08:00
%defattr(-,root,root)
2019-09-30 10:40:34 -04:00
%doc doc/*
%{_libdir}/libgif.so
%{_includedir}/gif_lib.h
%files help
2019-12-26 15:16:43 +08:00
%defattr(-,root,root)
2019-09-30 10:40:34 -04:00
%{_mandir}/man1/gif*.1*
%changelog
2020-07-24 17:09:17 +08:00
* Thu Jul 23 2020 hanhui <hanhui15@huawei.com> - 5.2.1-1
- update to 5.2.1
2020-01-15 02:04:41 +08:00
* Wed Jan 15 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.1.4-6
- add the require for devel
2019-12-26 15:16:43 +08:00
* Tue Dec 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 5.1.4-5
- change the path of files
2019-12-25 15:46:31 +08:00
* Sat Dec 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 5.1.4-4
- Type:cves
- ID:NA
- SUG:NA
- DESC:Add CVE patches
2019-09-30 10:40:34 -04:00
* Tue Sep 10 2019 Lijin Yang <yanglijin@huawei.com> - 5.1.4-3
2019-12-25 15:46:31 +08:00
- Package init