]> git.pld-linux.org Git - packages/openct.git/blob - openct.spec
- typo
[packages/openct.git] / openct.spec
1 # TODO:
2 # - install openct.conf
3 # - write init script
4 Summary:        OpenCT library - library for accessing smart card terminals
5 Name:           openct
6 Version:        0.1.0
7 Release:        0.1
8 License:        BSD-like ?
9 Group:          Applications
10 Source0:        http://www.opensc.org/files/%{name}-%{version}.tar.gz
11 # Source0-md5:  d405dea25b657475053539e6ffb66135
12 URL:            http://www.opensc.org/
13 BuildRequires:  autoconf >= 2.52
14 BuildRequires:  automake
15 BuildRequires:  libusb-devel
16 BuildRequires:  pcsc-lite-devel
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 OpenCT is a library for accessing smart card terminals.  It provides a rich set
21 of functions for driver writers, protocol drivers for T=0 and T=1, serial and
22 USB functionality, including USB hotplugging. 
23
24 %package devel
25 Summary:        OpenCT development files
26 Summary(pl):    Pliki dla programistów u¿ywaj±cych OpenCT
27 Group:          Development/Tools
28 Requires:       %{name} = %{version}
29
30 %description devel
31 OpenSC development files.
32
33 %description devel -l pl
34 Pliki dla programistów u¿ywaj±cych OpenCT.
35
36 %package static
37 Summary:        Static OpenCT libraries
38 Summary(pl):    Bibloteki statyczne OpenCT
39 Group:          Development/Tools
40 Requires:       %{name}-devel = %{version}
41
42 %description static
43 Static OpenCT libraries.
44
45 %description static -l pl
46 Statyczne biblioteki OpenCT.
47
48 %prep
49 %setup -q
50
51 %build
52 %configure 
53
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 rm -f $RPM_BUILD_ROOT%{_libdir}/openct-*.{a,la}
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %post   -p /sbin/ldconfig
68 %postun -p /sbin/ldconfig
69
70 %files
71 %defattr(644,root,root,755)
72 %doc AUTHORS ANNOUNCE ChangeLog NEWS doc/openct.{html,css}
73 %attr(755,root,root) %{_bindir}/openct-tool
74 %attr(755,root,root) %{_sbindir}/hotplug.openct
75 %attr(755,root,root) %{_sbindir}/ifdhandler
76 %attr(755,root,root) %{_sbindir}/openct-control
77 %attr(755,root,root) %{_libdir}/lib*.so.*.*
78 %attr(755,root,root) %{_libdir}/openct-*.so
79
80 %files devel
81 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_libdir}/lib*.so
83 %{_libdir}/lib*.la
84 %{_includedir}/openct
85 %{_pkgconfigdir}/*.pc
86
87 %files static
88 %defattr(644,root,root,755)
89 %{_libdir}/lib*.a
This page took 0.071214 seconds and 4 git commands to generate.