summaryrefslogtreecommitdiffstats
path: root/librcd.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'librcd.spec.in')
-rw-r--r--librcd.spec.in57
1 files changed, 57 insertions, 0 deletions
diff --git a/librcd.spec.in b/librcd.spec.in
new file mode 100644
index 0000000..9720cc6
--- /dev/null
+++ b/librcd.spec.in
@@ -0,0 +1,57 @@
+Summary: Russian Encoding Detection Library
+Name: librcd
+Version: @VERSION@
+Release: csa
+License: GPL
+Group: Development/Libraries
+Vendor: DarkSoft <ds7fff@myrealbox.com>
+Distribution: DarkLin <ds7fff@myrealbox.com>
+Packager: Suren A. Chilingaryan <ds7fff@myrealbox.com>
+Source: librcd-%{version}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+URL: http://rusxmms.sourceforge.net
+Prefix: %{_prefix}
+Docdir: %{_docdir}
+
+%description
+Automatic charset detection library for russian/ukrainian languages. Optimized
+for very small words and phrases.
+
+%package devel
+Summary: Russian Encoding Detection Library
+Group: Development/Libraries
+Requires: librcd = %{version}
+
+%description devel
+Automatic charset detection library for russian/ukrainian languages. Optimized
+for very small words and phrases.
+
+%prep
+%setup -q
+
+%build
+%configure
+
+%install
+%makeinstall prefix=$RPM_BUILD_ROOT%{prefix}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-, root, root)
+#%doc AUTHORS ChangeLog NEWS README Copyright
+%{prefix}/lib/lib*.so.*
+
+%files devel
+%defattr(-, root, root)
+%doc example
+%{prefix}/include/
+%{prefix}/lib/lib*.so
+%{prefix}/lib/*.a
+
+%changelog