summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Alexandre Salim <michel@michel-slm.name>2016-06-04 13:54:38 +0700
committerMichel Alexandre Salim <michel@michel-slm.name>2016-06-04 13:54:38 +0700
commit06c75e03cf8348445605a48dae71b5d0bab29407 (patch)
tree270a0aaedbda81c57fb04af1669044aceeac8b8b
parent05f41ce3da613c61cde6040b7da8a842b7501f99 (diff)
downloadspecs-06c75e03cf8348445605a48dae71b5d0bab29407.tar.gz
specs-06c75e03cf8348445605a48dae71b5d0bab29407.tar.xz
specs-06c75e03cf8348445605a48dae71b5d0bab29407.zip
+ libunibreak (renamed from liblinebreak)
-rw-r--r--libdevel/libunibreak.spec68
1 files changed, 68 insertions, 0 deletions
diff --git a/libdevel/libunibreak.spec b/libdevel/libunibreak.spec
new file mode 100644
index 0000000..e0225a1
--- /dev/null
+++ b/libdevel/libunibreak.spec
@@ -0,0 +1,68 @@
+%global obsEVR 2.2-1
+Name: libunibreak
+Version: 3.0
+Release: 1%{?dist}
+Summary: A Unicode line-breaking library
+
+License: zlib
+URL: http://vimgadgets.sourceforge.net/libunibreak/
+Source0: https://github.com/adah1972/libunibreak/releases/download/libunibreak_3_0/libunibreak-3.0.tar.gz
+
+#BuildRequires:
+#Requires:
+
+Provides: liblinebreak = %{version}-%{release}
+Obsoletes: liblinebreak < %{obsEVR}
+
+%description
+Libunibreak is an implementation of the line breaking and word
+breaking algorithms as described in Unicode Standard Annex 14 and
+Unicode Standard Annex 29. It is designed to be used in a generic text
+renderer.
+
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Provides: liblinebreak-devel = %{version}-%{release}
+Obsoletes: liblinebreak-devel < %{obsEVR}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%prep
+%setup -q
+
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+
+%install
+%make_install
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%doc AUTHORS NEWS README.md
+%license LICENCE
+%{_libdir}/*.so.*
+
+%files devel
+%doc ChangeLog
+%{_includedir}/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+
+
+%changelog
+* Sat Jun 4 2016 Michel Alexandre Salim <salimma@fedoraproject.org> - 3.0-1
+- Initial package