initial import using new method
This commit is contained in:
parent
5d0d780761
commit
8250884a0c
1
import.log
Normal file
1
import.log
Normal file
@ -0,0 +1 @@
|
||||
libunistring-0_9_1-3_fc11:HEAD:libunistring-0.9.1-3.fc11.src.rpm:1259025399
|
||||
77
libunistring.spec
Normal file
77
libunistring.spec
Normal file
@ -0,0 +1,77 @@
|
||||
Name: libunistring
|
||||
Version: 0.9.1
|
||||
Release: 3%{?dist}
|
||||
Group: System Environment/Libraries
|
||||
Summary: GNU Unicode string library
|
||||
License: LGPLv3+
|
||||
Url: http://www.gnu.org/software/libunistring/
|
||||
Source0: http://ftp.gnu.org/gnu/libunistring/%{name}-%{version}.tar.gz
|
||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
Requires(post): info
|
||||
Requires(preun): info
|
||||
|
||||
%description
|
||||
This portable C library implements Unicode string types in three flavours:
|
||||
(UTF-8, UTF-16, UTF-32), together with functions for character processing
|
||||
(names, classifications, properties) and functions for string processing
|
||||
(iteration, formatted output, width, word breaks, line breaks, normalization,
|
||||
case folding and regular expressions).
|
||||
|
||||
%package devel
|
||||
Group: Development/Libraries
|
||||
Summary: GNU Unicode string library - development files
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Development files for programs using libunistring.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --disable-static --disable-rpath
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
||||
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
|
||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}.la
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS NEWS README
|
||||
%{_libdir}/%{name}.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc HACKING DEPENDENCIES THANKS ChangeLog
|
||||
%doc %{_datadir}/doc/%{name}/*.html
|
||||
%{_infodir}/%{name}.info*
|
||||
%{_libdir}/%{name}.so
|
||||
%{_includedir}/unistring
|
||||
%{_includedir}/*.h
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%post devel
|
||||
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
|
||||
|
||||
%preun devel
|
||||
if [ $1 = 0 ]; then
|
||||
/sbin/install-info --delete %{_infodir}/{%{name}.info %{_infodir}/dir || :
|
||||
fi
|
||||
|
||||
%changelog
|
||||
* Thu Nov 19 2009 Pádraig Brady <P@draigBrady.com> 0.9.1-3
|
||||
- Remove glibc-devel and texinfo build deps
|
||||
* Thu Nov 19 2009 Pádraig Brady <P@draigBrady.com> 0.9.1-2
|
||||
- Changes as per initial review by panemade@gmail.com
|
||||
* Tue Nov 17 2009 Pádraig Brady <P@draigBrady.com> 0.9.1-1
|
||||
- Initial version
|
||||
|
||||
Loading…
Reference in New Issue
Block a user