From 7f9bdefda6211bbaafafa5ae4084404031b666d2 Mon Sep 17 00:00:00 2001 From: s3rj1k Date: Tue, 30 Jan 2024 22:19:38 +0100 Subject: [PATCH] Rename `broadvoice.spec` to `libbroadvoice.spec`. --- Makefile.am | 14 +++++++------- build_rpm.sh | 2 +- configure.ac | 4 ++-- broadvoice.pc.in => libbroadvoice.pc.in | 0 broadvoice.spec => libbroadvoice.spec | 2 +- broadvoice.spec.in => libbroadvoice.spec.in | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) rename broadvoice.pc.in => libbroadvoice.pc.in (100%) rename broadvoice.spec => libbroadvoice.spec (97%) rename broadvoice.spec.in => libbroadvoice.spec.in (97%) diff --git a/Makefile.am b/Makefile.am index f993953..0c76b74 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,13 +21,13 @@ AM_CFLAGS = $(COMP_VENDOR_CFLAGS) AM_LDFLAGS = $(COMP_VENDOR_LDFLAGS) -noinst_SCRIPTS = broadvoice.spec +noinst_SCRIPTS = libbroadvoice.spec MAINTAINERCLEANFILES = Makefile.in EXTRA_DIST = autogen.sh \ - broadvoice.pc \ - broadvoice.spec \ + libbroadvoice.pc \ + libbroadvoice.spec \ wrapper.xsl \ doc/broadvoice-doxygen \ debian/changelog \ @@ -51,7 +51,7 @@ SUBDIRS = src $(MAYBE_DOC) $(MAYBE_TESTS) DIST_SUBDIRS = src doc tests test-data pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = broadvoice.pc +pkgconfig_DATA = libbroadvoice.pc faq: faq.xml cd faq ; xsltproc ../wrapper.xsl ../faq.xml @@ -68,7 +68,7 @@ rpm-build: rm -f rpm/SRPMS/* rpm -ta --sign @PACKAGE@-@VERSION@.tar.gz -bump.rpm.release: broadvoice.spec +bump.rpm.release: libbroadvoice.spec VERSION="x"; \ test -f $(srcdir)/rpm.release && . $(srcdir)/rpm.release; \ NEXT_RELEASE=0; \ @@ -77,5 +77,5 @@ bump.rpm.release: broadvoice.spec echo "VERSION=@VERSION@" >$(srcdir)/rpm.release; \ echo "RELEASE=$$RELEASE" >>$(srcdir)/rpm.release; \ sed 's/^Release: .*/Release: '$$RELEASE'/' \ - broadvoice.spec.new; \ - mv broadvoice.spec.new broadvoice.spec + libbroadvoice.spec.new; \ + mv libbroadvoice.spec.new libbroadvoice.spec diff --git a/build_rpm.sh b/build_rpm.sh index 592c487..db355f8 100755 --- a/build_rpm.sh +++ b/build_rpm.sh @@ -16,4 +16,4 @@ cp ${ORIGDIR}/*.gz rpmbuild/SOURCES/. rpmbuild --define "_topdir %(pwd)/rpmbuild" \ --define "_rpmdir %{_topdir}" \ --define "_srcrpmdir %{_topdir}" \ - $RPMBUILDMODE rpmbuild/SPECS/broadvoice.spec + $RPMBUILDMODE rpmbuild/SPECS/libbroadvoice.spec diff --git a/configure.ac b/configure.ac index c6f34a9..71cda04 100644 --- a/configure.ac +++ b/configure.ac @@ -378,8 +378,8 @@ AC_CONFIG_FILES([Makefile doc/Makefile src/Makefile src/broadvoice.h - broadvoice.pc - broadvoice.spec]) + libbroadvoice.pc + libbroadvoice.spec]) AC_CONFIG_FILES([tests/regression_tests.sh], [chmod +x tests/regression_tests.sh]) diff --git a/broadvoice.pc.in b/libbroadvoice.pc.in similarity index 100% rename from broadvoice.pc.in rename to libbroadvoice.pc.in diff --git a/broadvoice.spec b/libbroadvoice.spec similarity index 97% rename from broadvoice.spec rename to libbroadvoice.spec index 15f26e3..e0a8cc8 100644 --- a/broadvoice.spec +++ b/libbroadvoice.spec @@ -51,7 +51,7 @@ rm -rf %{buildroot} %{_includedir}/broadvoice.h %{_includedir}/broadvoice %{_libdir}/libbroadvoice.so -%{_libdir}/pkgconfig/broadvoice.pc +%{_libdir}/pkgconfig/libbroadvoice.pc %post -p /sbin/ldconfig diff --git a/broadvoice.spec.in b/libbroadvoice.spec.in similarity index 97% rename from broadvoice.spec.in rename to libbroadvoice.spec.in index f31f9f4..480376e 100644 --- a/broadvoice.spec.in +++ b/libbroadvoice.spec.in @@ -51,7 +51,7 @@ rm -rf %{buildroot} %{_includedir}/broadvoice.h %{_includedir}/broadvoice %{_libdir}/libbroadvoice.so -%{_libdir}/pkgconfig/broadvoice.pc +%{_libdir}/pkgconfig/libbroadvoice.pc %post -p /sbin/ldconfig