From 31b7d7b647c74f22d5083f77275006bb08ea0b14 Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: May 15 2013 12:51:12 +0000 Subject: import liblangtag-0.5.1-2.el7.src.rpm --- diff --git a/.liblangtag.metadata b/.liblangtag.metadata new file mode 100644 index 0000000..818c6a8 --- /dev/null +++ b/.liblangtag.metadata @@ -0,0 +1 @@ +e255eeea1d82715bd750af63f3cde3aeed835bc6 SOURCES/liblangtag-0.5.1.tar.bz2 diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/liblangtag.spec b/SPECS/liblangtag.spec new file mode 100644 index 0000000..c2b23b5 --- /dev/null +++ b/SPECS/liblangtag.spec @@ -0,0 +1,113 @@ +Name: liblangtag +Version: 0.5.1 +Release: 2%{?dist} +Summary: An interface library to access tags for identifying languages + +Group: System Environment/Libraries +License: (LGPLv3+ or MPLv2.0) and UCD +URL: http://tagoh.bitbucket.org/liblangtag/ +Source0: https://bitbucket.org/tagoh/%{name}/downloads/%{name}-%{version}.tar.bz2 + +BuildRequires: gtk-doc +BuildRequires: libtool +BuildRequires: libxml2-devel + +%description +%{name} is an interface library to access tags for identifying +languages. + +Features: +* several subtag registry database supports: + - language + - extlang + - script + - region + - variant + - extension + - grandfathered + - redundant +* handling of the language tags + - parser + - matching + - canonicalizing + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%package doc +Summary: Documentation of %{name} API +Group: Documentation +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + + +%prep +%setup -q + + +%build +%configure --disable-static --enable-shared --disable-introspection +sed -i \ + -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \ + -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \ + libtool +make %{?_smp_mflags} V=1 \ + LD_LIBRARY_PATH=`pwd`/liblangtag/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} + + +%install +make install DESTDIR=%{buildroot} +rm -f %{buildroot}/%{_libdir}/*.la %{buildroot}/%{_libdir}/%{name}/*.la + + +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + +%files +%doc AUTHORS COPYING NEWS README +%{_libdir}/%{name}.so.* +%{_libdir}/%{name}/*.so +%{_datadir}/%{name} + +%files devel +%{_includedir}/%{name} +%{_libdir}/%{name}.so +%{_libdir}/pkgconfig/%{name}.pc + +%files doc +%doc COPYING +%{_datadir}/gtk-doc/html/%{name} + + +%changelog +* Wed May 15 2013 Eike Rathke - 0.5.1-2 +- updated .spec licenses to include MPLv2.0 and UCD + +* Tue Apr 30 2013 David Tardon - 0.5.1-1 +- fix ABI breakage + +* Mon Apr 29 2013 David Tardon - 0.5.0-1 +- new release + +* Thu Feb 14 2013 Fedora Release Engineering - 0.4.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Dec 01 2012 David Tardon - 0.4.0-2 +- fix build on ppc + +* Sun Nov 25 2012 David Tardon - 0.4.0-1 +- new upstream release + +* Sun Sep 09 2012 David Tardon - 0.3-1 +- initial import