123 lines
3.6 KiB
RPMSpec
123 lines
3.6 KiB
RPMSpec
Name: liblangtag
|
|
Version: 0.6.3
|
|
Release: 1mamba
|
|
Summary: An interface library to access/deal with tags for identifying languages
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://tagoh.bitbucket.org/liblangtag/
|
|
Source: https://bitbucket.org/tagoh/liblangtag/downloads/liblangtag-%{version}.tar.bz2
|
|
Patch0: liblangtag-0.5.1-gcc-4.5.patch
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: liblzma-devel
|
|
BuildRequires: libxml2-devel
|
|
BuildRequires: libz-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%description
|
|
liblangtag is an interface library to access/deal with tags for identifying languages, which is described in RFC 5646.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: pkg-config
|
|
|
|
%description devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%package apidocs
|
|
Group: Documentation
|
|
Summary: %{name} API documentation
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: gtk-doc
|
|
|
|
%description apidocs
|
|
This package includes the %{name} API documentation.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q -D -T
|
|
#%patch0 -p1
|
|
|
|
%build
|
|
%configure
|
|
#--enable-gtk-doc
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/liblangtag-gobject.so.*
|
|
%{_libdir}/liblangtag.so.*
|
|
%dir %{_libdir}/liblangtag
|
|
%{_libdir}/liblangtag/liblangtag-ext-ldml-t.la
|
|
%{_libdir}/liblangtag/liblangtag-ext-ldml-t.so
|
|
%{_libdir}/liblangtag/liblangtag-ext-ldml-u.la
|
|
%{_libdir}/liblangtag/liblangtag-ext-ldml-u.so
|
|
%{_libdir}/girepository-1.0/LangTag-*.typelib
|
|
%dir %{_datadir}/liblangtag/common/bcp47
|
|
%{_datadir}/liblangtag/common/bcp47/*.xml
|
|
%dir %{_datadir}/liblangtag/common/supplemental
|
|
%{_datadir}/liblangtag/common/supplemental/*.xml
|
|
%{_datadir}/liblangtag/language-subtag-registry.xml
|
|
%doc AUTHORS COPYING
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/liblangtag
|
|
%{_includedir}/liblangtag/*.h
|
|
%{_libdir}/liblangtag-gobject.la
|
|
%{_libdir}/liblangtag-gobject.so
|
|
%{_libdir}/liblangtag.la
|
|
%{_libdir}/liblangtag.so
|
|
%{_libdir}/pkgconfig/liblangtag-gobject.pc
|
|
%{_libdir}/pkgconfig/liblangtag.pc
|
|
%{_datadir}/gir-1.0/LangTag-*.gir
|
|
%doc ChangeLog NEWS README
|
|
|
|
%files apidocs
|
|
%defattr(-,root,root)
|
|
%dir %{_datadir}/gtk-doc/html/liblangtag
|
|
%{_datadir}/gtk-doc/html/liblangtag/*
|
|
|
|
%changelog
|
|
* Fri Jun 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.3-1mamba
|
|
- update to 0.6.3
|
|
|
|
* Fri Nov 04 2016 Automatic Build System <autodist@mambasoft.it> 0.6.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Jan 14 2016 Automatic Build System <autodist@mambasoft.it> 0.5.8-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Apr 04 2015 Automatic Build System <autodist@mambasoft.it> 0.5.6-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed Jun 04 2014 Automatic Build System <autodist@mambasoft.it> 0.5.4-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sat Sep 07 2013 Automatic Build System <autodist@mambasoft.it> 0.5.2-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Fri May 17 2013 Automatic Build System <autodist@mambasoft.it> 0.5.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Feb 13 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-1mamba
|
|
- package created by silvan using the webbuild interface
|