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

Revision 9042, 5.7 KB checked in by inagaki, 8 years ago (diff)

2014-10-29 Ryoichi INAGAKI <ryo1@…>

  • gd: fixed spec
  • geda-gaf: updated
  • libqalculate, libstroke: rebuilt


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