BR: libgs-devel (f28+)
.spec cleanup/cosmetics (drop deprecated tags, use %autosetup/%license, tighten subpkg dep)
This commit is contained in:
parent
73a4ba9f02
commit
e72484e6cd
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1 @@
|
||||
libspectre-0.2.6.tar.gz
|
||||
/libspectre-0.2.7.tar.gz
|
||||
/libspectre-0.2.8.tar.gz
|
||||
|
@ -3,12 +3,15 @@ Version: 0.2.8
|
||||
Release: 4%{?dist}
|
||||
Summary: A library for rendering PostScript(TM) documents
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: GPLv2+
|
||||
URL: http://libspectre.freedesktop.org
|
||||
Source0: http://libspectre.freedesktop.org/releases/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: libgs-devel >= 8.61
|
||||
%if 0%{?fedora} > 27
|
||||
BuildRequires: libgs-devel
|
||||
%else
|
||||
BuildRequires: ghostscript-devel >= 8.61
|
||||
%endif
|
||||
|
||||
%description
|
||||
%{name} is a small library for rendering PostScript(TM) documents.
|
||||
@ -18,52 +21,49 @@ PostScript documents.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup
|
||||
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
%configure \
|
||||
--disable-silent-rules \
|
||||
--disable-static
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
rm -fv %{buildroot}%{_libdir}/libspectre.la
|
||||
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING AUTHORS NEWS README TODO
|
||||
%license COPYING
|
||||
%doc AUTHORS NEWS README TODO
|
||||
%{_libdir}/libspectre.so.1*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/libspectre/
|
||||
%{_libdir}/libspectre.so
|
||||
%{_libdir}/pkgconfig/libspectre.pc
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jan 15 2018 Rex Dieter <rdieter@fedoraproject.org> - 0.2.8-5
|
||||
- BR: libgs-devel (f28+)
|
||||
- .spec cleanup/cosmetics (drop deprecated tags, use %%autosetup/%%license, tighten subpkg dep)
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user