diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index 2a9a5ad..0000000 --- a/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -libuninameslist_src-20060907.tgz diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c9cbe3c --- /dev/null +++ b/.gitignore @@ -0,0 +1,23 @@ +libuninameslist-20091231.tar.bz2 +/Version_0.3.20130501.zip +/0.5.20150701.tar.gz +/20160701.tar.gz +/20170319.tar.gz +/20170701.tar.gz +/20180408.tar.gz +/20180701.tar.gz +/20190305.tar.gz +/20190701.tar.gz +/20200313.tar.gz +/20200413.tar.gz +/20210626.tar.gz +/20210917.tar.gz +/20211114.tar.gz +/20220701.tar.gz +/20221022.tar.gz +/20230523.tar.gz +/20230916.tar.gz +/20240910.tar.gz +/20250714.tar.gz +/20250909.tar.gz +/20260107.tar.gz diff --git a/Makefile b/Makefile deleted file mode 100644 index f0e4982..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: libuninameslist -# $Id: Makefile,v 1.1 2004/11/08 04:48:26 cvsextras Exp $ -NAME := libuninameslist -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/README.packit b/README.packit new file mode 100644 index 0000000..9bb65f0 --- /dev/null +++ b/README.packit @@ -0,0 +1,3 @@ +This repository is maintained by packit. +https://packit.dev/ +The file was generated using packit 1.13.0.post1.dev2+g84134016c. diff --git a/libuninameslist.spec b/libuninameslist.spec index 567bbb2..27361f1 100644 --- a/libuninameslist.spec +++ b/libuninameslist.spec @@ -1,23 +1,23 @@ Name: libuninameslist -Version: 0.0 -Release: 6.20060907 +Version: 20260107 +Release: 1%{?dist} -Summary: Library that provides Unicode names and annotations +Summary: A library providing Unicode character names and annotations -Group: System Environment/Libraries -License: BSD -URL: http://libuninameslist.sourceforge.net -Source0: http://dl.sf.net/libuninameslist/libuninameslist_src-20060907.tgz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +License: BSD-3-Clause +URL: https://github.com/fontforge/libuninameslist +Source0: https://github.com/fontforge/libuninameslist/archive/%{version}.tar.gz +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool +BuildRequires: make %description libuninameslist provides applications with access to Unicode name and -annotation data from the official Unicode databases. The information -is current as of Unicode 4.0. +annotation data from the official Unicode Character Database. %package devel Summary: Header files and static libraries for %{name} -Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel @@ -25,42 +25,215 @@ This package contains header files and static libraries for %{name}. %prep -%setup -q -n libuninameslist - +%autosetup %build -%configure --enable-static -make %{?_smp_mflags} +autoreconf -i +automake --foreign -Wall +%configure --disable-static +make V=1 %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT -%makeinstall incdir=$RPM_BUILD_ROOT%{_includedir} +%make_install incdir=$RPM_BUILD_ROOT%{_includedir} find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' - -%clean -rm -rf $RPM_BUILD_ROOT - - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - - %files -%defattr(-,root,root,-) -%doc COPYING LICENSE +%license LICENSE +%doc ChangeLog README.md %{_libdir}/*.so.* %files devel -%defattr(-,root,root,-) -%{_libdir}/*.a +%{_mandir}/man3/libuninameslist.3.gz %{_libdir}/*.so %{_includedir}/* - +%{_libdir}/pkgconfig/libuninameslist.pc %changelog +* Thu Jan 08 2026 Packit - 20260107-1 +- Update to version 20260107 +- Resolves: rhbz#2427846 + +* Wed Sep 10 2025 Packit - 20250909-1 +- Update to version 20250909 +- Resolves: rhbz#2394361 + +* Thu Jul 24 2025 Fedora Release Engineering - 20250714-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Wed Jul 16 2025 Parag Nemade - 20250714-1 +- Update to 20250714 version (#2380203) + +* Fri Jan 17 2025 Fedora Release Engineering - 20240910-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Mon Sep 16 2024 Parag Nemade - 20240910-1 +- Update to 20240910 version (#2312324) + +* Thu Jul 18 2024 Fedora Release Engineering - 20230916-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Thu Jan 25 2024 Fedora Release Engineering - 20230916-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 20230916-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Sep 18 2023 Parag Nemade - 20230916-1 +- Update to 20230916 version (#2239363) + +* Thu Jul 20 2023 Fedora Release Engineering - 20230523-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jun 23 2023 Parag Nemade - 20230523-2 +- Migrate to SPDX license expression + +* Tue May 30 2023 Parag Nemade - 20230523-1 +- Update to 20230523 version (#2209761) + +* Thu Jan 19 2023 Fedora Release Engineering - 20221022-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Oct 26 2022 Parag Nemade - 20221022-1 +- Update to 20221022 version (#2137768) + +* Thu Jul 21 2022 Fedora Release Engineering - 20220701-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jul 04 2022 Parag Nemade - 20220701-1 +- Update to 20220701 version (#2103354) + +* Thu Jan 20 2022 Fedora Release Engineering - 20211114-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Nov 16 2021 Parag Nemade - 20211114-1 +- Update to 20211114 version (#2023054) + +* Tue Sep 28 2021 Parag Nemade - 20210917-1 +- Update to 20210917 version (#2005533) + +* Thu Jul 22 2021 Fedora Release Engineering - 20210626-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jul 02 2021 Parag Nemade - 20210626-1 +- Update to 20210626 version (#1976540) + +* Tue Jan 26 2021 Fedora Release Engineering - 20200413-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 20200413-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Apr 15 2020 Parag Nemade - 20200413-1 +- Update to 20200413 version (#1823434) + +* Wed Mar 25 2020 Parag Nemade - 20200313-1 +- Update to 20200313 version (#1813493) + +* Wed Jan 29 2020 Fedora Release Engineering - 20190701-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 20190701-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Jul 05 2019 Kevin Fenzi - 20190701-1 +- Update to 20190701. Fixes bug #1725748 + +* Sun Mar 10 2019 Kevin Fenzi - 20190305-1 +- Update to 20190305. Fixes bug #1685821 + +* Fri Feb 01 2019 Fedora Release Engineering - 20180701-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 20180701-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jul 03 2018 Parag Nemade - 20180701-1 +- Update to 20180701 version (#1564872) + +* Fri Jun 22 2018 Parag Nemade - 20180408-1 +- Update to 20180408 version (#1564872) + +* Wed Feb 07 2018 Fedora Release Engineering - 20170701-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 20170701-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 20170701-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sun Jul 02 2017 Parag Nemade - 20170701-1 +- Update to 20170701 version + +* Sat Jun 10 2017 Parag Nemade - 20170319-1 +- Update to 20170319 version + +* Fri Feb 10 2017 Fedora Release Engineering - 20160701-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Jul 05 2016 Kevin Fenzi - 20160701-1 +- Update to 20160701. Fixes bug #1352498 + +* Thu Feb 04 2016 Fedora Release Engineering - 20150701-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Sun Nov 08 2015 Kevin Fenzi - 20150701-1 +- Update to 0.5 / 20150701. Fixes bug #1278628 + +* Wed Jun 17 2015 Fedora Release Engineering - 20130501-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Aug 17 2014 Fedora Release Engineering - 20130501-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 20130501-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue Dec 03 2013 Kevin Fenzi 20130501-1 +- Update to 20130501 + +* Sat Aug 03 2013 Fedora Release Engineering - 20091231-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Sat Mar 23 2013 Kevin Fenzi 20091231-6 +- Add patch to support aarch64. Fixes bug #925910 + +* Thu Feb 14 2013 Fedora Release Engineering - 20091231-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 20091231-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 20091231-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 20091231-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sat Jan 16 2010 Kevin Fenzi - 20091231-1 +- Update to 20091231 +- Do not ship static libs - bug #556078 + +* Sat Jul 25 2009 Fedora Release Engineering - 20080409-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 20080409-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Jan 15 2009 Roozbeh Pournader - 20080409-1 +- Update to upstream 20080409: Unicode 5.1 support +- Change package versioning scheme +- Update summary and description +- Add DistTag +- Remove copy of GPL from RPM: the only file it applies to is not shipped + +* Sun Feb 10 2008 Kevin Fenzi - 0.0-8.20060907 +- Rebuild for gcc43 + +* Sun Aug 26 2007 Kevin Fenzi - 0.0-7.20060907 +- Rebuild for BuildID + * Thu Oct 05 2006 Christian Iseli 0.0-6.20060907 - rebuilt for unwind info generation, broken in gcc-4.1.1-21 @@ -71,7 +244,7 @@ rm -rf $RPM_BUILD_ROOT * Sun May 22 2005 Jeremy Katz - 0.0-4.040707 - rebuild on all arches -* Fri Apr 7 2005 Michael Schwendt +* Thu Apr 7 2005 Michael Schwendt - rebuilt * Sat Jul 17 2004 Marius L. Jøhndal - 0:0.0-0.fdr.2.040707 diff --git a/packit.yaml b/packit.yaml new file mode 100644 index 0000000..f193895 --- /dev/null +++ b/packit.yaml @@ -0,0 +1,16 @@ +# See the documentation for more information: +# https://packit.dev/docs/configuration/ +upstream_project_url: https://github.com/fontforge/libuninameslist +copy_upstream_release_description: false + +jobs: +- job: pull_from_upstream + trigger: release + dist_git_branches: + - rawhide + +- job: koji_build + trigger: commit + allowed_committers: ['packit'] + dist_git_branches: + - rawhide diff --git a/plans/libuninameslist.fmf b/plans/libuninameslist.fmf new file mode 100644 index 0000000..c1627f9 --- /dev/null +++ b/plans/libuninameslist.fmf @@ -0,0 +1,5 @@ +summary: Basic smoke test +discover: + how: fmf +execute: + how: tmt diff --git a/sources b/sources index 3c0a796..392610d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e5090105b9f09e76838a0af3220b371d libuninameslist_src-20060907.tgz +SHA512 (20260107.tar.gz) = a6b33aba8623eeab4af9935ce81990a3bb09672a25cdb5288ffc9745c8a4b7722cacd13c4ebdbec5855c0b3c776151878a47bc36e2b233ab25c589952e66f6cd diff --git a/tests/main.fmf b/tests/main.fmf new file mode 100644 index 0000000..6d8821f --- /dev/null +++ b/tests/main.fmf @@ -0,0 +1,13 @@ +test: ./runtests.sh +duration: 10m +framework: beakerlib +require: + - libuninameslist + - autoconf + - automake + - libtool + - gcc + - m4 + - sed + - make + - rpm-build diff --git a/tests/runtests.sh b/tests/runtests.sh new file mode 100755 index 0000000..43cd851 --- /dev/null +++ b/tests/runtests.sh @@ -0,0 +1,39 @@ +#!/bin/bash +. /usr/share/beakerlib/beakerlib.sh || exit 1 + +NAME=libuninameslist + +rlJournalStart + rlPhaseStartSetup + rlAssertRpm ${NAME} + rlShowPackageVersion ${NAME} + rlRun -t -l "VERSION=$(rpm -q ${NAME} --queryformat='%{version}')" 0 "Get VERSION" + rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory" + rlRun "pushd $tmp" + rlFetchSrcForInstalled "${NAME}" + rlRun "rpm --define '_topdir $tmp' -i *src.rpm" + rlRun -t -l "mkdir BUILD" 0 "Creating BUILD directory" + rlRun -t -l "rpmbuild --noclean --nodeps --define '_topdir $tmp' -bp $tmp/SPECS/*spec" + if [ -d BUILD/${NAME}-${VERSION}-build ]; then + rlRun -t -l "pushd BUILD/${NAME}-${VERSION}-build/${NAME}-${VERSION}" + else + rlRun -t -l "pushd BUILD/${NAME}-${VERSION}" + fi + rlPhaseEnd + + rlPhaseStartTest + rlRun "set -o pipefail" + rlRun "autoreconf -i" + rlRun "automake --foreign -Wall" + rlRun "./configure && make check" + rlRun "retval=$?" + rlRun "echo $retval" + rlRun "popd" 0 + rlPhaseEnd + + rlPhaseStartCleanup + rlRun "popd" + rlRun "rm -r $tmp" 0 "Remove tmp directory" + rlPhaseEnd +rlJournalEnd +