Spec Name or Url: http://www.ocjtech.us/libpri-1.2.1-1.spec SRPM Name or Url: http://www.ocjtech.us/libpri-1.2.1-1.src.rpm Description: libpri is a C implementation of the Primary Rate ISDN specification. It was based on the Bellcore specification SR-NWT-002343 for National ISDN. As of May 12, 2001, it has been tested work with NI-2, Nortel DMS-100, and Lucent 5E Custom protocols on switches from Nortel and Lucent.
> Source0: http://ftp.digium.com/pub/libpri/libpri-%{version}.tar.gz Source0: http://ftp.digium.com/pub/libpri/%{name}-%{version}.tar.gz > BuildRoot: %{_tmppath}/%{name}-buildroot BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) > rm -rf $RPM_BUILD_ROOT use %{buildroot} instead of $RPM_BUILD_ROOT > %changelog > * Mon Apr 11 2005 Jeffrey C. Ollie <jcollie.dmacc.edu> - 1.0.7-0.3 You're up to version 1.2.1-1, so are you missing some changelog entries ?
(In reply to comment #1) > > rm -rf $RPM_BUILD_ROOT > > use %{buildroot} instead of $RPM_BUILD_ROOT Both are acceptable. The only requirement is to be consistent throughout the spec file, which is the case here.
Update Spec/SRPM: Spec Name or Url: http://www.ocjtech.us/libpri-1.2.1-2.spec SRPM Name or Url: http://www.ocjtech.us/libpri-1.2.1-2.src.rpm I also fixed a number of issues that I noticed after getting a good night's sleep.
Updated Spec/SRPM: Spec Name or Url: http://www.ocjtech.us/libpri-1.2.1-3.spec SRPM Name or Url: http://www.ocjtech.us/libpri-1.2.1-3.src.rpm Fixes building on 64 bit systems.
Maybe something like this %{__perl} -pi -e 's|\$\(INSTALL_BASE\)/lib|%{_libdir}|g' Makefile will be easier to maintain than additional patch file? Digium folks are knowh by randomly changing layout of their makefiles...
P.S. This is the specfile I'm using in my installations: http://stingr.net/l/libpri.spec
Updated Spec/SRPM: Spec Name or Url: http://www.ocjtech.us/libpri-1.2.1-4.spec SRPM Name or Url: http://www.ocjtech.us/libpri-1.2.1-4.src.rpm Fixes issues from comment #5 and picks up a few tips from the spec linked in #6.
Please fix my last name spelling :) thanks.
Updated Spec/SRPM: Spec Name or Url: http://www.ocjtech.us/libpri-1.2.2-1.spec SRPM Name or Url: http://www.ocjtech.us/libpri-1.2.2-1.src.rpm * Wed Jan 18 2006 Jeffrey C. Ollie <jeff> - 1.2.2-1 - Update to 1.2.2. - Fix the spelling of Paul Komkoff Jr.'s name.
Suggestions: - Remove the trailing dot of the devel summary. - Change the main summary to something like : "Implementation of the Primary Rate ISDN specification" or "Primary Rate ISDN library" - You might want to include the ChangeLog and the TODO in %doc. All the rest looks good indeed.
http://www.ocjtech.us/libpri-1.2.2-1.src.rpm seems to be an out of date url, is there a more up to date one?
Spec: http://repo.ocjtech.us/asterisk-1.2/fedora/5/SRPMS/libpri-1.2.3-1.fc5.spec SRPM: http://repo.ocjtech.us/asterisk-1.2/fedora/5/SRPMS/libpri-1.2.3-1.fc5.src.rpm
Spec: http://repo.ocjtech.us/asterisk-1.4/fedora/development/SRPMS/libpri-1.4.0-0.fc6.beta1.spec SRPM: http://repo.ocjtech.us/asterisk-1.4/fedora/development/SRPMS/libpri-1.4.0-0.fc6.beta1.src.rpm Update to 1.4.0-beta1.
Spec: http://repo.ocjtech.us/asterisk-1.4/fedora/development/SRPMS/libpri-1.4.0-1.fc6.beta1.spec SRPM: http://repo.ocjtech.us/asterisk-1.4/fedora/development/SRPMS/libpri-1.4.0-1.fc6.beta1.src.rpm The -devel package needs to Require: the main package.
Versioning: libpri-1.4.0-1.fc6.beta1 < libpri-1.4.0-1.fc6 Make it -0.fc6.beta1 like you did zaptel. W: libpri-devel summary-ended-with-dot Development files for libpri. Fix those two and it's fine. Approving...
Oh, and you can drop the BR: zaptel-devel since you're not actually building the test binaries which actually use it. libpri itself doesn't.
Imported and built for FE development with the recommended changes. Branch for FE-5 requested.
(In reply to comment #15) > Versioning: libpri-1.4.0-1.fc6.beta1 < libpri-1.4.0-1.fc6 > Make it -0.fc6.beta1 like you did zaptel. Both are wrong :-( http://fedoraproject.org/wiki/Packaging/NamingGuidelines#head-d97a3f40b6dd9d2288206ac9bd8f1bf9b791b22a
where have the SRPMS gone ?
libpri is part of Fedora now so you should be able to find the SRPMs on your local Fedora mirror. Or you could install the libpri and libpri-devel packages directly using yum.
Package Change Request ====================== Package Name: libpri New Branches: EL-5 Updated EPEL Owners: jcollie Needed to build Asterisk package on EL-5.
cvs done.