View | Details | Raw Unified | Return to bug 146524
Collapse All | Expand All

(-)SPECS/lineak_defaultplugin.spec.orig (-2 / +10 lines)
Lines 8-13 Link Here
8
# Please submit bugfixes or comments via http://bugs.opensuse.org
8
# Please submit bugfixes or comments via http://bugs.opensuse.org
9
#
9
#
10
10
11
#norootforbuild
11
# neededforbuild  expat fontconfig fontconfig-devel freetype2 freetype2-devel gcc-c++ glib glib-devel libstdc++ libstdc++-devel lineakd lineakd-devel x-devel-packages xorg-x11
12
# neededforbuild  expat fontconfig fontconfig-devel freetype2 freetype2-devel gcc-c++ glib glib-devel libstdc++ libstdc++-devel lineakd lineakd-devel x-devel-packages xorg-x11
12
13
13
BuildRequires: aaa_base acl attr bash bind-libs bind-utils bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel gettext-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv klogd less libacl libattr libcom_err libgcc libnscd libstdc++ libxcrypt libzio m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules patch permissions popt procinfo procps psmisc pwdutils rcs readline sed strace sysvinit tar tcpd texinfo timezone unzip util-linux vim zlib zlib-devel autoconf automake binutils expat fontconfig fontconfig-devel freetype2 freetype2-devel gcc gcc-c++ gdbm gettext glib glib-devel gnome-filesystem libstdc++-devel libtool lineakd lineakd-devel perl rpm xorg-x11 xorg-x11-devel xorg-x11-libs
14
BuildRequires: aaa_base acl attr bash bind-libs bind-utils bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel gettext-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv klogd less libacl libattr libcom_err libgcc libnscd libstdc++ libxcrypt libzio m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules patch permissions popt procinfo procps psmisc pwdutils rcs readline sed strace sysvinit tar tcpd texinfo timezone unzip util-linux vim zlib zlib-devel autoconf automake binutils expat fontconfig fontconfig-devel freetype2 freetype2-devel gcc gcc-c++ gdbm gettext glib glib-devel gnome-filesystem libstdc++-devel libtool lineakd lineakd-devel perl rpm xorg-x11 xorg-x11-devel xorg-x11-libs
Lines 19-26 Link Here
19
Provides:     defaultplugin.so
20
Provides:     defaultplugin.so
20
Summary:      Default plugin for Linux support for Easy Access and Internet Keyboards
21
Summary:      Default plugin for Linux support for Easy Access and Internet Keyboards
21
Version:      0.8.4
22
Version:      0.8.4
22
Release:      2
23
Release:      3
23
Source:       lineak_defaultplugin-%{version}.tar.bz2
24
Source:       %{name}-%{version}.tar.bz2
25
Patch:        %{name}-%{version}-Makefile.patch
24
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
26
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
25
Autoreqprov:  on
27
Autoreqprov:  on
26
# PreReq:       %fillup_prereq %insserv_prereq
28
# PreReq:       %fillup_prereq %insserv_prereq
Lines 41-46 Link Here
41
%debug_package
43
%debug_package
42
%prep
44
%prep
43
%setup -n %{name}-%{version}
45
%setup -n %{name}-%{version}
46
%patch -p1
44
47
45
%build
48
%build
46
# Update config.{guess,sub}
49
# Update config.{guess,sub}
Lines 52-57 Link Here
52
  --with-gtk-prefix=/opt/gnome \
55
  --with-gtk-prefix=/opt/gnome \
53
  --infodir=%{_infodir} \
56
  --infodir=%{_infodir} \
54
  --mandir=%{_mandir} \
57
  --mandir=%{_mandir} \
58
  --sysconfdir=%{_sysconfdir} \
55
  --with-lineak_plugindir=%{_libdir}/lineakd/plugins
59
  --with-lineak_plugindir=%{_libdir}/lineakd/plugins
56
make
60
make
57
61
Lines 60-65 Link Here
60
  && rm -rf $RPM_BUILD_ROOT
64
  && rm -rf $RPM_BUILD_ROOT
61
make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} libdir=%{_libdir} install
65
make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} libdir=%{_libdir} install
62
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/
66
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/
67
mv $RPM_BUILD_ROOT/%{_sysconfdir}/media-detect.conf $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}
63
cp AUTHORS COPYING INSTALL ChangeLog README TODO $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/
68
cp AUTHORS COPYING INSTALL ChangeLog README TODO $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/
64
# we don't need them
69
# we don't need them
65
rm  $RPM_BUILD_ROOT/%{_libdir}/lineakd/plugins/*.la
70
rm  $RPM_BUILD_ROOT/%{_libdir}/lineakd/plugins/*.la
Lines 79-84 Link Here
79
%doc %{_defaultdocdir}/%{name}/*
84
%doc %{_defaultdocdir}/%{name}/*
80
85
81
%changelog -n lineak_defaultplugin
86
%changelog -n lineak_defaultplugin
87
* Sun Jan 29 2006 - devmail@hispeed.ch
88
- Fixes to make source RPM rebuildable by non-root user.
89
- provide default media-detect.conf file in package docs.
82
* Mon Dec 05 2005 - behlert@suse.de
90
* Mon Dec 05 2005 - behlert@suse.de
83
- updated to 0.8.4: See Changelog in sources
91
- updated to 0.8.4: See Changelog in sources
84
* Wed Jul 13 2005 - behlert@suse.de
92
* Wed Jul 13 2005 - behlert@suse.de

Return to bug 146524