summaryrefslogtreecommitdiffstats
path: root/librcc.spec.in
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2005-07-04 04:14:58 +0000
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2005-07-04 04:14:58 +0000
commita21deef1c62467b21500f94dfb2ab3d58e69cb85 (patch)
tree742d2c1e2592fbcb580ebce9fac7f4f867e6218b /librcc.spec.in
parent97e76f4c979d7a0c4ed296c512c3024e3c6afa18 (diff)
downloadlibrcc-a21deef1c62467b21500f94dfb2ab3d58e69cb85.tar.gz
librcc-a21deef1c62467b21500f94dfb2ab3d58e69cb85.tar.bz2
librcc-a21deef1c62467b21500f94dfb2ab3d58e69cb85.tar.xz
librcc-a21deef1c62467b21500f94dfb2ab3d58e69cb85.zip
04.07.2005
Diffstat (limited to 'librcc.spec.in')
-rw-r--r--librcc.spec.in25
1 files changed, 19 insertions, 6 deletions
diff --git a/librcc.spec.in b/librcc.spec.in
index 718106c..998b8ca 100644
--- a/librcc.spec.in
+++ b/librcc.spec.in
@@ -1,13 +1,25 @@
+%define realrelease 1
+%define cvs @LIBRCC_CVS@
+
+%if %cvs
+%define buildname @LIBRCC_CVS_DATE@
+%define release 0.%{buildname}.%{realrelease}csa
+%else
+%define buildname @VERSION@
+%define release %{realrelease}
+%endif
+
+
Summary: Russian Charset Conversion Library
Name: librcc
Version: @VERSION@
-Release: csa
+Release: %{release}
License: GPL
Group: Development/Libraries
Vendor: DarkSoft <ds7fff@myrealbox.com>
Distribution: DarkLin <ds7fff@myrealbox.com>
Packager: Suren A. Chilingaryan <ds7fff@myrealbox.com>
-Source: librcc-%{version}.tar.bz2
+Source: librcc-%{buildname}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-root
URL: http://rusxmms.sourceforge.net
Prefix: %{_prefix}
@@ -23,7 +35,8 @@ is part of rusxmms patch.
%package devel
Summary: Russian Encoding Conversion Library
Group: Development/Libraries
-Requires: librcd = %{version}
+Requires: librcc = %{version}
+Requires: librcd
%description devel
Provides posibility to automaticaly convert considered encodings (a lot of
@@ -31,13 +44,14 @@ languages is supported, not only russian one) to/from UTF-8. The library
is part of rusxmms patch.
%prep
-%setup -q
+%setup -q -n %{name}-%{buildname}
%build
%configure
%install
%makeinstall prefix=$RPM_BUILD_ROOT%{prefix}
+rm -f $RPM_BUILD_ROOT%{prefix}/lib/*.la
%clean
rm -rf $RPM_BUILD_ROOT
@@ -48,12 +62,11 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
-#%doc AUTHORS ChangeLog NEWS README Copyright
+%doc AUTHORS ChangeLog NEWS README COPYING
%{prefix}/lib/lib*.so.*
%files devel
%defattr(-, root, root)
-%doc example
%{prefix}/include/
%{prefix}/lib/lib*.so
%{prefix}/lib/*.a