]> git.pld-linux.org Git - packages/libstroke.git/blob - libstroke.spec
0117a20c6a63ccf482bd17c1f7aa25f6bfd646f0
[packages/libstroke.git] / libstroke.spec
1 Summary:        A stroke translation library
2 Summary(pl.UTF-8):      Biblioteka translacji przesuwu myszki
3 Name:           libstroke
4 Version:        0.5.1
5 Release:        5
6 License:        GPL
7 Group:          Libraries
8 Source0:        http://www.etla.net/libstroke/%{name}-%{version}.tar.gz
9 # Source0-md5:  51b9a4e309ac15cfcab96191eed03cb2
10 Patch0:         %{name}-am15.patch
11 Patch1:         %{name}-am18.patch
12 Patch2:         %{name}-link.patch
13 URL:            http://www.etla.net/libstroke/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  gtk+-devel >= 1.2.7
17 BuildRequires:  libtool
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 LibStroke is a stroke translation library. Strokes are motions of the
22 mouse that can be interpreted by a program as a command. Strokes are
23 used extensively in CAD programs. I fell in love with them when I was
24 using the Mentor Graphics CAD tools and the CAD tools internally
25 developed by Intel.
26
27 %description -l pl.UTF-8
28 LibStroke to biblioteka tłumacząca ruchy myszką. Ruchy mogą być
29 przechwycone przez program i zinterpretowane jako komenda. Tego typu
30 komendy są bardzo często stosowane w programach typu CAD.
31
32 %package devel
33 Summary:        Header files for libstroke library
34 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libstroke
35 Group:          Development/Libraries
36 Requires:       %{name} = %{version}-%{release}
37
38 %description devel
39 Header files for libstroke library.
40
41 %description devel -l pl.UTF-8
42 Pliki nagłówkowe biblioteki libstroke.
43
44 %package static
45 Summary:        Static libstroke library
46 Summary(pl.UTF-8):      Biblioteka statyczna libstroke
47 Group:          Development/Libraries
48 Requires:       %{name}-devel = %{version}-%{release}
49
50 %description static
51 Static libstroke library.
52
53 %description static -l pl.UTF-8
54 Biblioteka statyczna libstroke.
55
56 %package -n libgstroke
57 Summary:        libgstroke - GNOME stroke implementation
58 Summary(pl.UTF-8):      libgstroke - implementacja stroke dla GNOME
59 Group:          X11/Libraries
60 Requires:       gtk+ >= 1.2.7
61 Conflicts:      libstroke < 0.5.1-2
62
63 %description -n libgstroke
64 libgstroke - GNOME stroke implementation.
65
66 %description -n libgstroke -l pl.UTF-8
67 libgstroke - implementacja stroke dla GNOME.
68
69 %package -n libgstroke-devel
70 Summary:        Header files for libgstroke library
71 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libgstroke
72 Group:          X11/Development/Libraries
73 Requires:       libgstroke = %{version}-%{release}
74 Requires:       gtk+-devel >= 1.2.7
75
76 %description -n libgstroke-devel
77 Header files for libgstroke library.
78
79 %description -n libgstroke-devel -l pl.UTF-8
80 Pliki nagłówkowe biblioteki libgstroke.
81
82 %package -n libgstroke-static
83 Summary:        Static libgstroke library
84 Summary(pl.UTF-8):      Statyczna biblioteka libgstroke
85 Group:          X11/Development/Libraries
86 Requires:       libgstroke-devel = %{version}-%{release}
87
88 %description -n libgstroke-static
89 Static libgstroke library.
90
91 %description -n libgstroke-static -l pl.UTF-8
92 Statyczna biblioteka libgstroke.
93
94 %prep
95 %setup -q
96 %patch0 -p1
97 %patch1 -p1
98 %patch2 -p1
99
100 %build
101 %{__libtoolize}
102 %{__aclocal}
103 %{__autoconf}
104 %{__automake}
105 %configure \
106         --with-x \
107         --disable-tcl
108
109 %{__make}
110
111 %install
112 rm -rf $RPM_BUILD_ROOT
113
114 %{__make} install \
115         DESTDIR=$RPM_BUILD_ROOT \
116         m4datadir=%{_aclocaldir}
117
118 %clean
119 rm -rf $RPM_BUILD_ROOT
120
121 %post   -p /sbin/ldconfig
122 %postun -p /sbin/ldconfig
123
124 %post   -n libgstroke -p /sbin/ldconfig
125 %postun -n libgstroke -p /sbin/ldconfig
126
127 %files
128 %defattr(644,root,root,755)
129 %doc AUTHORS COPYRIGHT CREDITS README NEWS TODO doc/standard_strokes*
130 %attr(755,root,root) %{_libdir}/libstroke.so.*.*
131 %attr(755,root,root) %ghost %{_libdir}/libstroke.so.0
132
133 %files devel
134 %defattr(644,root,root,755)
135 %attr(755,root,root) %{_libdir}/libstroke.so
136 %{_libdir}/libstroke.la
137 %{_includedir}/stroke.h
138 %{_aclocaldir}/libstroke.m4
139
140 %files static
141 %defattr(644,root,root,755)
142 %{_libdir}/libstroke.a
143
144 %files -n libgstroke
145 %defattr(644,root,root,755)
146 %doc README.libgstroke
147 %attr(755,root,root) %{_libdir}/libgstroke.so.*.*
148 %attr(755,root,root) %ghost %{_libdir}/libgstroke.so.0
149
150 %files -n libgstroke-devel
151 %defattr(644,root,root,755)
152 %attr(755,root,root) %{_libdir}/libgstroke.so
153 %{_libdir}/libgstroke.la
154 %{_includedir}/gstroke.h
155 %{_aclocaldir}/libgstroke.m4
156
157 %files -n libgstroke-static
158 %defattr(644,root,root,755)
159 %{_libdir}/libgstroke.a
This page took 0.066487 seconds and 2 git commands to generate.