SUNWpilot-link.spec
author jerrytan
Mon, 11 Aug 2008 07:35:57 +0000
branchgnome-2-22
changeset 12497 f4743e0d8120
parent 11974 ddf305e57247
child 12990 acf42758d355
permissions -rw-r--r--
update spec for tracker from vermillion
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package SUNWpilot-link
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# includes module(s): pilot-link
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
10616
3ea3bf84b2b5 2007-10-05 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9805
diff changeset
     6
# Copyright 2007 Sun Microsystems, Inc.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
# Owner: jyu_mit
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
%include Solaris.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
%use plink = pilot-link.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
%define libusb_prefix /usr/sfw
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Name:          SUNWpilot-link
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Summary:       %{plink.summary}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Version:       %{plink.version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
SUNW_BaseDir:  %{_basedir}
11974
ddf305e57247 *copyright/SUNWgnome-pilot.copyright: added.
jyu_mit
parents: 11251
diff changeset
    20
SUNW_Copyright:  %{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
BuildRoot:     %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
Requires: SUNWlibms
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Requires: SUNWlibpopt
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
Requires: SUNWlibusb
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
Obsoletes:SUNWpltlk
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
BuildRequires: SUNWlibpopt-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
BuildConflicts: SUNWgnome-pilot-link
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
BuildConflicts: SUNWgnome-pilot-link-root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
BuildConflicts: SUNWgnome-pilot-link-share
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
BuildConflicts: SUNWgnome-pilot-link-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
BuildConflicts: SUNWgnome-pilot-link-devel-share
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
Summary:       %{summary} - development files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
SUNW_BaseDir:  %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
Requires:      %{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
mkdir -p %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
%plink.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
cd %{_builddir}/%name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
gzcat %SOURCE1 | tar xf -
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
%build
10616
3ea3bf84b2b5 2007-10-05 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9805
diff changeset
    49
export LDFLAGS="%{?arch_ldadd} -L%{libusb_prefix}/lib -R%{libusb_prefix}/lib"
3ea3bf84b2b5 2007-10-05 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9805
diff changeset
    50
export CFLAGS="-I/usr/gnu/include %optflags -I%{libusb_prefix}/include -D_POSIX_PTHREAD_SEMANTICS"
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
export RPM_OPT_FLAGS="$CFLAGS"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
%plink.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
%plink.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
# remove unused files
11237
210de3a78d54 Fix SUNWpilot-link.spec %install and %files; Add more detail of changes to %changelog and ChangeLog.
dcarbery
parents: 11235
diff changeset
    59
rm -r $RPM_BUILD_ROOT%{_datadir}/pilot-link
11251
4ad3f4c7b05a 2007-11-28 Damien Carbery <[email protected]>
dcarbery
parents: 11244
diff changeset
    60
rm -r $RPM_BUILD_ROOT%{_mandir}/man7
4ad3f4c7b05a 2007-11-28 Damien Carbery <[email protected]>
dcarbery
parents: 11244
diff changeset
    61
cd $RPM_BUILD_ROOT%{_mandir}/man1
4ad3f4c7b05a 2007-11-28 Damien Carbery <[email protected]>
dcarbery
parents: 11244
diff changeset
    62
for i in `ls |grep -v pilot-xfer`; do rm -r $i; done
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
cd $RPM_BUILD_ROOT%{_bindir}
11237
210de3a78d54 Fix SUNWpilot-link.spec %install and %files; Add more detail of changes to %changelog and ChangeLog.
dcarbery
parents: 11235
diff changeset
    64
for i in `ls |grep -v pilot-xfer`; do rm -r $i; done
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
%{_libdir}/*.so*
11244
35228d87666f 2007-11-27 Damien Carbery <[email protected]>
dcarbery
parents: 11237
diff changeset
    75
%dir %attr (0755, root, sys) %{_datadir}
35228d87666f 2007-11-27 Damien Carbery <[email protected]>
dcarbery
parents: 11237
diff changeset
    76
%dir %attr(0755, root, bin) %{_mandir}
35228d87666f 2007-11-27 Damien Carbery <[email protected]>
dcarbery
parents: 11237
diff changeset
    77
%dir %attr(0755, root, bin) %{_mandir}/man1
35228d87666f 2007-11-27 Damien Carbery <[email protected]>
dcarbery
parents: 11237
diff changeset
    78
%{_mandir}/man1/*
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%dir %attr (0755, root, bin) %{_includedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
%{_includedir}/libpisock/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
%{_libdir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
%dir %attr (0755, root, sys) %dir %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
%dir %attr (0755, root, other) %{_datadir}/aclocal
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
%{_datadir}/aclocal/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
%changelog
11974
ddf305e57247 *copyright/SUNWgnome-pilot.copyright: added.
jyu_mit
parents: 11251
diff changeset
    92
* Mon Mar 31 2008 - [email protected]
ddf305e57247 *copyright/SUNWgnome-pilot.copyright: added.
jyu_mit
parents: 11251
diff changeset
    93
- Add copyright
11251
4ad3f4c7b05a 2007-11-28 Damien Carbery <[email protected]>
dcarbery
parents: 11244
diff changeset
    94
* Wed Nov 28 2007 - [email protected]
4ad3f4c7b05a 2007-11-28 Damien Carbery <[email protected]>
dcarbery
parents: 11244
diff changeset
    95
- Remove man7 files and most man1 files as they are not useful.
11244
35228d87666f 2007-11-27 Damien Carbery <[email protected]>
dcarbery
parents: 11237
diff changeset
    96
* Tue Nov 27 2007 - [email protected]
35228d87666f 2007-11-27 Damien Carbery <[email protected]>
dcarbery
parents: 11237
diff changeset
    97
- Add manpage dirs to %files to fix build.
11237
210de3a78d54 Fix SUNWpilot-link.spec %install and %files; Add more detail of changes to %changelog and ChangeLog.
dcarbery
parents: 11235
diff changeset
    98
* Fri Nov 23 2007 - [email protected]
210de3a78d54 Fix SUNWpilot-link.spec %install and %files; Add more detail of changes to %changelog and ChangeLog.
dcarbery
parents: 11235
diff changeset
    99
- Remove some unuseful files from the package. Remove %{_datadir}/pilot-link
210de3a78d54 Fix SUNWpilot-link.spec %install and %files; Add more detail of changes to %changelog and ChangeLog.
dcarbery
parents: 11235
diff changeset
   100
  dir and all %{_bindir} files except pilot-xfer as the files are not needed.
11174
ef985490069c * base-specs/pilot-link.spec: Bump to 0.12.3.
jyu_mit
parents: 10616
diff changeset
   101
* Tue Nov 13 2007 - [email protected]
ef985490069c * base-specs/pilot-link.spec: Bump to 0.12.3.
jyu_mit
parents: 10616
diff changeset
   102
- Remove some unnecessary files from the package.
10616
3ea3bf84b2b5 2007-10-05 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9805
diff changeset
   103
* Fri Oct  5 2007 - [email protected]
3ea3bf84b2b5 2007-10-05 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9805
diff changeset
   104
- add /usr/gnu stuff to CFLAGS and LDFLAGS so that GNU libintl and
3ea3bf84b2b5 2007-10-05 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9805
diff changeset
   105
  libiconv are used (with --with-gnu-iconv)
9805
162501100a30 * SUNWpilot-link.spec:
jyu_mit
parents: 9397
diff changeset
   106
* Sun Apr 30 2007 - [email protected]
162501100a30 * SUNWpilot-link.spec:
jyu_mit
parents: 9397
diff changeset
   107
- Remove a manpage from manpages/man1 to fix #6550823
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
* Mon Feb  5 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
- Add Requires SUNWbash after check-deps.pl run.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
* Thu Nov 30 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
- initial version created