rpms/libpri/devel libpri-optflags.patch, NONE, 1.1 libpri.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jeffrey C. Ollie (jcollie) fedora-extras-commits at redhat.com
Sun Oct 15 03:51:13 UTC 2006


Author: jcollie

Update of /cvs/extras/rpms/libpri/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27196/devel

Modified Files:
	.cvsignore sources 
Added Files:
	libpri-optflags.patch libpri.spec 
Log Message:
auto-import libpri-1.4.0-0.fc5.beta1 on branch devel from libpri-1.4.0-0.fc5.beta1.src.rpm

libpri-optflags.patch:

--- NEW FILE libpri-optflags.patch ---
Index: Makefile
===================================================================
--- Makefile	(revision 344)
+++ Makefile	(working copy)
@@ -38,7 +38,7 @@
 DYNAMIC_LIBRARY=libpri.so.1.0
 STATIC_OBJS=copy_string.o pri.o q921.o prisched.o q931.o pri_facility.o
 DYNAMIC_OBJS=copy_string.lo pri.lo q921.lo prisched.lo q931.lo pri_facility.lo
-CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g $(ALERTING) $(LIBPRI_COUNTERS)
+CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes $(ALERTING) $(LIBPRI_COUNTERS) $(RPM_OPT_FLAGS)
 INSTALL_PREFIX=$(DESTDIR)
 INSTALL_BASE=/usr
 SOFLAGS = -Wl,-hlibpri.so.1.0


--- NEW FILE libpri.spec ---
Summary: An implementation of Primary Rate ISDN
Name: libpri
Version: 1.4.0
Release: 0%{?dist}.beta1
License: GPL
Group: System Environment/Libraries
URL: http://www.asterisk.org/

Source0: http://ftp.digium.com/pub/telephony/libpri/releases/libpri-%{version}-beta1.tar.gz
Patch0: libpri-optflags.patch

BuildRoot:  %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)

%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.

%package devel
Summary: Development files for libpri.
Group: Development/Libraries
Requires: libpri = %{version}-%{release}

%description devel
Development files for libpri.

%prep
%setup0 -q -n %{name}-%{version}-beta1
%patch0 -p0

%build
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
make INSTALL_PREFIX=%{buildroot} install
rm %{buildroot}%{_libdir}/libpri.a

%clean
rm -rf %{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files 
%defattr(-,root,root,-)
%doc LICENSE README
%{_libdir}/libpri.so.*

%files devel
%defattr(-,root,root,-)
%{_includedir}/libpri.h
%{_libdir}/libpri.so

%changelog
* Fri Oct 13 2006 Jeffrey C. Ollie <jeff at ocjtech.us> - 1.4.0-1.beta1
- devel package needs to Require: main package

* Fri Oct 13 2006 Jeffrey C. Ollie <jeff at ocjtech.us> - 1.4.0-0.beta1
- Update to 1.4.0-beta1

* Fri Jun  2 2006 Jeffrey C. Ollie <jeff at ocjtech.us> - 1.2.3
- Update to 1.2.3
- Add dist tag to release
- Update source URL

* Wed Jan 18 2006 Jeffrey C. Ollie <jeff at ocjtech.us> - 1.2.2-1
- Update to 1.2.2.
- Fix the spelling of Paul Komkoff Jr.'s name.

* Fri Jan 13 2006 Jeffrey C. Ollie <jeff at ocjtech.us> - 1.2.1-4
- Eliminate the libpri-install.patch and other improvements based on suggestions from Paul Komkoff Jr.

* Thu Jan 12 2006 Jeffrey C. Ollie <jeff at ocjtech.us> - 1.2.1-3
- Fix building on 64 bit systems.

* Thu Jan 12 2006 Jeffrey C. Ollie <jeff at ocjtech.us> - 1.2.1-2
- Changed buildroot to meet FE packaging guidelines
- Don't forget docs
- Modify %%post so that ldconfig dep will be picked up automatically
- Add %%postun so that ldconfig gets run on uninstall
- Don't package the static library
- Changed $RPM_BUILD_ROOT to %%{buildroot} (yes, I know I was consistent before, but I prefer %%{buildroot})

* Wed Jan 11 2006 Jeffrey C. Ollie <jeff at ocjtech.us> - 1.2.1-1
- First version for Fedora Extras


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/libpri/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	15 Oct 2006 01:44:38 -0000	1.1
+++ .cvsignore	15 Oct 2006 03:51:13 -0000	1.2
@@ -0,0 +1 @@
+libpri-1.4.0-beta1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/libpri/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	15 Oct 2006 01:44:38 -0000	1.1
+++ sources	15 Oct 2006 03:51:13 -0000	1.2
@@ -0,0 +1 @@
+0df4aab74517ff425392cfafc6b97eab  libpri-1.4.0-beta1.tar.gz




More information about the fedora-extras-commits mailing list