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-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
Name: utf8proc
Version: 1.1.6
Release: 5%{?dist}
Version: 1.2
Release: 1%{?dist}
License: BSD
Group: System Environment/Libraries
URL: http://www.public-software-group.org/utf8proc
Source: http://www.public-software-group.org/pub/projects/utf8proc/v%{version}/utf8proc-v%{version}.tar.gz
URL: http://julialang.org/utf8proc/
Source: https://github.com/JuliaLang/utf8proc/archive/v%{version}.tar.gz#/utf8proc-%{version}.tar.gz
%description
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.
%prep
%setup -qn utf8proc-v%{version}
%setup -q
%build
make %{?_smp_mflags} CFLAGS="%{optflags} -Wl,-soname,libutf8proc.so.%{soversion}"
mv libutf8proc.so libutf8proc.so.%{soversion}
ln -s libutf8proc.so.%{soversion} libutf8proc.so
ln -s libutf8proc.so.%{soversion} libutf8proc.so.0
chmod 755 libutf8proc.so*
make %{?_smp_mflags} CFLAGS="%{optflags}"
%check
make %{?_smp_mflags} CFLAGS="%{optflags}" \
test/normtest test/graphemetest test/printproperty \
test/charwidth test/normtest test/graphemetest test/charwidth
%install
install -d %{buildroot}%{_libdir} %{buildroot}%{_includedir}
install libutf8proc.so.%{soversion} %{buildroot}%{_libdir}/libutf8proc.so.%{soversion}
cp -dp libutf8proc.so.0 %{buildroot}%{_libdir}/
cp -dp libutf8proc.so %{buildroot}%{_libdir}/
cp -p utf8proc.h %{buildroot}%{_includedir}/utf8proc.h
make install DESTDIR=%{buildroot} prefix=%{_prefix} includedir=%{_includedir} libdir=%{_libdir}
rm %{buildroot}%{_libdir}/libutf8proc.a
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc Changelog lump.txt LICENSE README
%doc LICENSE.md NEWS.md README.md
%{_libdir}/libutf8proc.so.*
%files devel
@ -64,6 +60,9 @@ cp -p utf8proc.h %{buildroot}%{_includedir}/utf8proc.h
%{_libdir}/libutf8proc.so
%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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild