On 12/13/20 10:37 AM, Orion Poplawski wrote:
On 12/11/20 5:04 PM, Miro Hrončok wrote:
> On 12/12/20 12:12 AM, Troy Dawson wrote:
>> We discussed this in the EPEL Steering Committee this week, and your
>> way has alot less "mess with the server and modules" work.
>> It would probably get us up to 75% of the missing packages.
>>
>> If people who have been waiting for packages want to give this a try
>> and show what they did for others to follow, that would be great.
>> I'll probrubly do it for some of the packages I want. And see what
>> type of scripts, patches, and other things are needed.
>
> Let me know if you have a devel package in mind and I can give it a try.
Can we just jump in and try this out? I'd like to get qpdf-devel
available.
Here's what I have for a diff so far for qpdf-devel:
--- /export/home/orion/centos/qpdf/SPECS/qpdf.spec 2020-12-13
10:39:15.439288925 -0700
+++ qpdf-devel.spec 2020-12-13 10:52:37.567863216 -0700
@@ -1,5 +1,7 @@
+%global debug_package %{nil}
+
Summary: Command-line tools and library for transforming PDF files
-Name: qpdf
+Name: qpdf-devel
Version: 7.1.1
Release: 10%{?dist}
# MIT: e.g. libqpdf/sha2.c
@@ -72,7 +74,7 @@
QPDF Manual
%prep
-%setup -q
+%setup -q -n qpdf-%{version}
# fix 'complete manual location' note in man pages
%patch0 -p1 -b .doc
@@ -99,35 +101,17 @@
make install DESTDIR=%{buildroot}
rm -f %{buildroot}%{_libdir}/libqpdf.la
+rm -rf %{buildroot}/usr/{bin,share} %{buildroot}%{_libdir}/*.so.*
%check
make check
-%post libs -p /sbin/ldconfig
-
-%postun libs -p /sbin/ldconfig
-
%files
-%{_bindir}/fix-qdf
-%{_bindir}/qpdf
-%{_bindir}/zlib-flate
-%{_mandir}/man1/*
-
-%files libs
-%doc README.md TODO ChangeLog
-%license Artistic-2.0
-%{_libdir}/libqpdf*.so.*
-
-%files devel
%doc examples/*.cc examples/*.c
%{_includedir}/*
%{_libdir}/libqpdf*.so
%{_libdir}/pkgconfig/libqpdf.pc
-%files doc
-%{_pkgdocdir}
-
-
%changelog
Seem reasonable? I was able to install the resulting qpdf-devel fine.
--
Orion Poplawski
Manager of NWRA Technical Systems 720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion(a)nwra.com
Boulder, CO 80301
https://www.nwra.com/