New upstream release 1.2

This commit is contained in:
Milan Bouchet-Valat 2015-03-28 15:22:58 +01:00
parent 2343c8fac5
commit 65b659400a
3 changed files with 19 additions and 19 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/utf8proc-v1.1.6.tar.gz /utf8proc-v1.1.6.tar.gz
/utf8proc-1.2.tar.gz

View File

@ -1 +1 @@
2462346301fac2994c34f5574d6c3ca7 utf8proc-v1.1.6.tar.gz dfdacacce306ecf7113c565f5ba35ce3 utf8proc-1.2.tar.gz

View File

@ -1,13 +1,11 @@
%global soversion 0.1
Summary: Library for processing UTF-8 encoded Unicode strings Summary: Library for processing UTF-8 encoded Unicode strings
Name: utf8proc Name: utf8proc
Version: 1.1.6 Version: 1.2
Release: 5%{?dist} Release: 1%{?dist}
License: BSD License: BSD
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.public-software-group.org/utf8proc URL: http://julialang.org/utf8proc/
Source: http://www.public-software-group.org/pub/projects/utf8proc/v%{version}/utf8proc-v%{version}.tar.gz Source: https://github.com/JuliaLang/utf8proc/archive/v%{version}.tar.gz#/utf8proc-%{version}.tar.gz
%description %description
utf8proc is a library for processing UTF-8 encoded Unicode strings. utf8proc is a library for processing UTF-8 encoded Unicode strings.
@ -36,27 +34,25 @@ The documentation for the C library is found in the utf8proc.h header file.
strings, unless you want to allocate memory yourself. strings, unless you want to allocate memory yourself.
%prep %prep
%setup -qn utf8proc-v%{version} %setup -q
%build %build
make %{?_smp_mflags} CFLAGS="%{optflags} -Wl,-soname,libutf8proc.so.%{soversion}" make %{?_smp_mflags} CFLAGS="%{optflags}"
mv libutf8proc.so libutf8proc.so.%{soversion}
ln -s libutf8proc.so.%{soversion} libutf8proc.so %check
ln -s libutf8proc.so.%{soversion} libutf8proc.so.0 make %{?_smp_mflags} CFLAGS="%{optflags}" \
chmod 755 libutf8proc.so* test/normtest test/graphemetest test/printproperty \
test/charwidth test/normtest test/graphemetest test/charwidth
%install %install
install -d %{buildroot}%{_libdir} %{buildroot}%{_includedir} make install DESTDIR=%{buildroot} prefix=%{_prefix} includedir=%{_includedir} libdir=%{_libdir}
install libutf8proc.so.%{soversion} %{buildroot}%{_libdir}/libutf8proc.so.%{soversion} rm %{buildroot}%{_libdir}/libutf8proc.a
cp -dp libutf8proc.so.0 %{buildroot}%{_libdir}/
cp -dp libutf8proc.so %{buildroot}%{_libdir}/
cp -p utf8proc.h %{buildroot}%{_includedir}/utf8proc.h
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files %files
%doc Changelog lump.txt LICENSE README %doc LICENSE.md NEWS.md README.md
%{_libdir}/libutf8proc.so.* %{_libdir}/libutf8proc.so.*
%files devel %files devel
@ -64,6 +60,9 @@ cp -p utf8proc.h %{buildroot}%{_includedir}/utf8proc.h
%{_libdir}/libutf8proc.so %{_libdir}/libutf8proc.so
%changelog %changelog
* Sat Mar 28 2015 Milan Bouchet-Valat <nalimilan@club.fr> - 1.2-1
- New upstream release.
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.6-5 * Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild