1 Summary: A library for creating and verifying cancel locks
2 Summary(pl): Biblioteka do tworzenia i weryfikowania cancel-locków
8 Source0: http://mysite.verizon.net/vze4y7p6/cssri/tar/%{name}%{version}.tar.gz
9 # Source0-md5: b35e464dfc54dcf1e7459a5ad67cb2f2
10 URL: http://homepage.mac.com/imeowbot/iblog/C1355421991/
11 BuildRequires: libtool
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 A library for creating and verifying cancel locks (special news
16 articles headers that prevent cancelling articles by unauthorized
20 Biblioteka do tworzenia i weryfikowania cancel-locków (specjalnych
21 nag³ówków artyku³ów newsowych zapobiegaj±cych usuwaniu artyku³ów przez
25 Summary: Header files for canlock library
26 Summary(pl): Pliki nag³ówkowe biblioteki canlock
27 Group: Development/Libraries
28 Requires: %{name} = %{version}
31 Header files for canlock library.
33 %description devel -l pl
34 Pliki nag³ówkowe biblioteki canlock.
37 Summary: Static canlock library
38 Summary(pl): Statyczna biblioteka canlock
39 Group: Development/Libraries
40 Requires: %{name}-devel = %{version}
43 Static canlock library.
45 %description static -l pl
46 Statyczna biblioteka canlock.
49 %setup -q -n %{name}%{version}
52 %{__make} libcanlock.a \
53 CC="libtool --mode=compile %{__cc}" \
54 CFLAGS="%{rpmcflags} -Iinclude"
56 libtool --mode=link %{__cc} %{rpmldflags} -o libcanlock.la src/*.lo -rpath %{_libdir}
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
62 libtool --mode=install install libcanlock.la $RPM_BUILD_ROOT%{_libdir}
63 install include/canlock.h $RPM_BUILD_ROOT%{_includedir}
66 rm -rf $RPM_BUILD_ROOT
68 %post -p /sbin/ldconfig
69 %postun -p /sbin/ldconfig
72 %defattr(644,root,root,755)
73 %doc CHANGES README doc
74 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
77 %defattr(644,root,root,755)
78 %attr(755,root,root) %{_libdir}/lib*.so
80 %{_includedir}/canlock.h
83 %defattr(644,root,root,755)