source: projects/specs/trunk/lib/libs/libstroke/libstroke-vl.spec @ 1219

Revision 1219, 5.6 KB checked in by inagaki, 14 years ago (diff)

NEW: Judy, libstroke

Line 
1Name:              libstroke
2Version:           0.5.1
3Release:           24%{?_dist_release}
4
5Summary:           A stroke interface library
6License:           GPLv2
7URL:               http://www.etla.net/%{name}/
8
9Source:            http://www.etla.net/%{name}/%{name}-%{version}.tar.gz
10Group:             System Environment/Libraries
11
12BuildRoot:         %{_tmppath}/%{name}-%{version}-root
13BuildRequires:     gtk+-devel
14BuildRequires:     libtool
15BuildRequires:     pkgconfig
16
17Patch0:            libstroke-aclocal.patch
18Patch1:            libstroke-multilib.patch
19
20
21%description
22LibStroke is a stroke interface library.  Strokes are motions
23of the mouse that can be interpreted by a program as a command.
24
25%package -n %{name}-devel
26Summary:           Development files for the libstroke library
27Group:             Development/Libraries
28Requires:          %{name} = %{version}-%{release}
29Requires:          automake
30
31%description -n %{name}-devel
32Development files for the libstroke library.
33
34
35%package -n libgstroke
36Summary:           Optional libgstroke files
37Group:             System Environment/Libraries
38
39%description -n libgstroke
40GNOME version of LibStroke (libgstroke).
41LibStroke is a stroke interface library.  Strokes are motions
42of the mouse that can be interpreted by a program as a command.
43
44%package -n libgstroke-devel
45Summary:           Development files for the libstroke library
46Group:             Development/Libraries
47Requires:          libgstroke = %{version}-%{release}
48Requires:          %{name} = %{version}-%{release}
49Requires:          automake
50
51%description -n libgstroke-devel
52Development files for the libgstroke library.
53
54
55%package -n javastroke
56Summary:           Optional java files
57Group:             System Environment/Libraries
58Requires:          %{name} = %{version}-%{release}
59
60%description -n javastroke
61Java interface for stroke and example application
62
63%prep
64%setup -q
65
66%patch0 -p1 -b .aclocal
67%patch1 -p1 -b .multilib
68
69#if 0%{?fedora} < 11
70#cp -p %{_datadir}/libtool/config.sub .
71#cp -p %{_datadir}/libtool/config.guess .
72#else
73cp -p %{_datadir}/libtool/config/config.sub .
74cp -p %{_datadir}/libtool/config/config.guess .
75#endif
76
77%build
78%configure \
79    --disable-static \
80    --with-x=yes
81make %{?_smp_mflags}
82
83%install
84rm -rf %{buildroot}
85make INSTALL="%{__install} -p" install DESTDIR=%{buildroot}
86
87mkdir -p %{buildroot}%{_datadir}/stroke/java
88cp -p javastroke/*.java  %{buildroot}%{_datadir}/stroke/java
89
90
91rm %{buildroot}%{_libdir}/*.la
92
93%clean
94rm -rf %{buildroot}
95
96
97%post -p /sbin/ldconfig
98
99%postun -p /sbin/ldconfig
100
101%post -n libgstroke -p /sbin/ldconfig
102
103%postun -n libgstroke -p /sbin/ldconfig
104
105
106%files -n %{name}
107%defattr(-,root,root)
108%doc README COPYRIGHT ChangeLog NEWS AUTHORS TODO CREDITS
109%{_libdir}/libstroke.so.*
110
111%files -n %{name}-devel
112%defattr(-,root,root)
113%doc doc/standard_strokes*
114%{_datadir}/aclocal/libstroke.m4
115%{_libdir}/libstroke.so
116%{_includedir}/stroke.h
117
118%files -n libgstroke
119%defattr(-,root,root)
120%doc README COPYRIGHT ChangeLog NEWS AUTHORS TODO CREDITS
121%{_libdir}/libgstroke.so.*
122
123%files -n libgstroke-devel
124%defattr(-,root,root)
125%doc README.libgstroke
126%{_datadir}/aclocal/libgstroke.m4
127%{_libdir}/libgstroke.so
128%{_includedir}/gstroke.h
129
130%files -n javastroke
131%defattr(-,root,root)
132%doc javastroke/README
133%{_datadir}/stroke/
134
135
136%Changelog
137* Sun Jun 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.5.1-24
138- Initial build for Vine Linux
139
140* Mon Dec 29 2008 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-21
141- fix for EL-5 build; pdgconfig as BR
142
143* Sat Dec 20 2008 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-20
144- fix for rawhide's libtool 2.2.6
145
146* Sat Dec 20 2008 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-19
147- rebuild for proper tagging
148
149* Sat Dec 20 2008 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-18
150- fix for x86_64 build fix RHBZ # 465030
151
152* Mon Jun 16 2008 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-17
153- Bugfix 449516 FTBFS libstroke-0.5.1-17.fc9
154
155* Thu Aug 23 2007 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-16
156- mass rebuild for fedora 8 - ppc32
157
158* Tue Jun 26 2007 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-15
159- patch for multilib #241448
160
161* Thu Mar 01 2007 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-14
162- patch for underquoted definitions #226886
163
164* Mon Feb 26 2007 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-13
165- Fixed multilibs issues for rawhide
166
167* Fri Sep 01 2006 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-12
168- Removed automake as BR
169
170* Fri Sep 01 2006 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-11
171- fixed ownership of directories
172
173* Wed Aug 30 2006 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-10
174- Removed duplicates
175
176* Wed Aug 30 2006 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-9
177- Removed "conflicts: libstroke-devel"
178
179* Wed Aug 30 2006 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-8
180- fixed ownership of directories
181
182* Wed Aug 30 2006 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-7
183- rebuilt for FC5 and later with minor fixes
184
185* Tue Aug 29 2006 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-6
186- rebuilt for FC5 and later with minor fixes
187
188* Sun Apr 2 2006 Wojciech Kazubski <wk at ire.pw.edu.pl> - 0.5.1-5
189- rebuilt for FC5,
190- specfile cleanups
191
192* Sun Jun 19 2005 Wojciech Kazubski <wk at ire.pw.edu.pl>
193- rebuilt for Fedora Core 4
194
195* Thu May 5 2005 Wojciech Kazubski <wk at ire.pw.edu.pl>
196- re-divided
197
198* Sat Dec 11 2004 Wojciech Kazubski <wk at ire.pw.edu.pl>
199- rebuilt for Fedora Core 3
200
201* Tue Feb 4 2003 Wojciech Kazubski <wk at ire.pw.edu.pl>
202- libstroke-gnome splited.
203
204* Wed Dec 19 2001 Wojciech Kazubski <wk at ire.pw.edu.pl>
205- first RedHat version.
Note: See TracBrowser for help on using the repository browser.