* [PATCH] wireless-regdb: add example spec file
@ 2009-01-23 23:16 Luis R. Rodriguez
2009-01-24 11:27 ` Helmut Schaa
0 siblings, 1 reply; 4+ messages in thread
From: Luis R. Rodriguez @ 2009-01-23 23:16 UTC (permalink / raw)
To: linville, linville; +Cc: Luis R. Rodriguez, linux-wireless
This is a simple example spec file which can be used
by RPM distributions. Note that the man page isn't yet
installed as it has not yet been commited.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
---
wireless-regdb.spec | 35 +++++++++++++++++++++++++++++++++++
1 files changed, 35 insertions(+), 0 deletions(-)
create mode 100644 wireless-regdb.spec
diff --git a/wireless-regdb.spec b/wireless-regdb.spec
new file mode 100644
index 0000000..b76d391
--- /dev/null
+++ b/wireless-regdb.spec
@@ -0,0 +1,35 @@
+Summary: Linux wireless regulatory database
+Name: wireless-regdb
+Version: 2009.01.15
+Release: 1
+License: ISC
+Group: System Enviroment/Base
+Source: http://wireless.kernel.org/download/wireless-regdb/wireless-regdb-2009-01-15.tar.bz2
+URL: http://wireless.kernel.org/en/developers/Regulatory/
+Packager: Luis R. Rodriguez <mcgrof@gmail.com>
+BuildRoot : /var/tmp/%{name}-buildroot
+Requires: python
+BuildArch: noarch
+
+%define crda_lib /usr/lib/crda
+
+%description
+This package contains the wireless regulatory database used by all
+cfg80211 based Linux wireless drivers. The wireless database being
+used is maintained by John Linville, the Linux wireless kernel maintainer
+http://wireless.kernel.org/en/developers/Regulatory/
+
+%prep
+%setup -n %name-2009-01-15
+%build
+%install
+install -m 755 -d %buildroot/%crda_lib
+install -m 644 regulatory.bin %buildroot/%{crda_lib}/regulatory.bin
+%files
+%crda_lib/regulatory.bin
+%doc README LICENSE
+
+%changelog
+* Fri Jan 23 2009 - mcgrof@gmail.com
+- Started wireless-regdb package
+
--
1.6.1.rc3.51.g5832d
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] wireless-regdb: add example spec file
2009-01-23 23:16 [PATCH] wireless-regdb: add example spec file Luis R. Rodriguez
@ 2009-01-24 11:27 ` Helmut Schaa
2009-01-24 20:37 ` Luis R. Rodriguez
0 siblings, 1 reply; 4+ messages in thread
From: Helmut Schaa @ 2009-01-24 11:27 UTC (permalink / raw)
To: Luis R. Rodriguez; +Cc: linville, linux-wireless
Am Samstag, 24. Januar 2009 schrieb Luis R. Rodriguez:
> This is a simple example spec file which can be used
> by RPM distributions. Note that the man page isn't yet
> installed as it has not yet been commited.
>
> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
> ---
[...]
> +%install
> +install -m 755 -d %buildroot/%crda_lib
> +install -m 644 regulatory.bin %buildroot/%{crda_lib}/regulatory.bin
Why not make use of "make DESTDIR=%buildroot install" here?
Helmut
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] wireless-regdb: add example spec file
2009-01-24 11:27 ` Helmut Schaa
@ 2009-01-24 20:37 ` Luis R. Rodriguez
2009-01-25 10:41 ` Helmut Schaa
0 siblings, 1 reply; 4+ messages in thread
From: Luis R. Rodriguez @ 2009-01-24 20:37 UTC (permalink / raw)
To: Helmut Schaa
Cc: Luis Rodriguez, linville@tuxdriver.com,
linux-wireless@vger.kernel.org
On Sat, Jan 24, 2009 at 03:27:48AM -0800, Helmut Schaa wrote:
> Am Samstag, 24. Januar 2009 schrieb Luis R. Rodriguez:
> > This is a simple example spec file which can be used
> > by RPM distributions. Note that the man page isn't yet
> > installed as it has not yet been commited.
> >
> > Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
> > ---
>
> [...]
>
> > +%install
> > +install -m 755 -d %buildroot/%crda_lib
> > +install -m 644 regulatory.bin %buildroot/%{crda_lib}/regulatory.bin
>
> Why not make use of "make DESTDIR=%buildroot install" here?
Since its in the spec file you have direct control over that, what would
be best is to get wireless-regdb makefile to use DESTDIR and then just
have the spec file call make install. I sent the patch for the first part
already, so the spec file can be changed once that goes in.
Luis
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] wireless-regdb: add example spec file
2009-01-24 20:37 ` Luis R. Rodriguez
@ 2009-01-25 10:41 ` Helmut Schaa
0 siblings, 0 replies; 4+ messages in thread
From: Helmut Schaa @ 2009-01-25 10:41 UTC (permalink / raw)
To: Luis R. Rodriguez
Cc: Helmut Schaa, Luis Rodriguez, linville@tuxdriver.com,
linux-wireless@vger.kernel.org
Am Samstag, 24. Januar 2009 schrieb Luis R. Rodriguez:
> On Sat, Jan 24, 2009 at 03:27:48AM -0800, Helmut Schaa wrote:
> > Am Samstag, 24. Januar 2009 schrieb Luis R. Rodriguez:
> > > This is a simple example spec file which can be used
> > > by RPM distributions. Note that the man page isn't yet
> > > installed as it has not yet been commited.
> > >
> > > Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
> > > ---
> >
> > [...]
> >
> > > +%install
> > > +install -m 755 -d %buildroot/%crda_lib
> > > +install -m 644 regulatory.bin %buildroot/%{crda_lib}/regulatory.bin
> >
> > Why not make use of "make DESTDIR=%buildroot install" here?
>
> Since its in the spec file you have direct control over that, what would
> be best is to get wireless-regdb makefile to use DESTDIR and then just
> have the spec file call make install. I sent the patch for the first part
> already, so the spec file can be changed once that goes in.
Yes, I saw your patch that allows DESTDIR usage and was just wondering why
not make use of it.
Thanks,
Helmut
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-01-25 10:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-23 23:16 [PATCH] wireless-regdb: add example spec file Luis R. Rodriguez
2009-01-24 11:27 ` Helmut Schaa
2009-01-24 20:37 ` Luis R. Rodriguez
2009-01-25 10:41 ` Helmut Schaa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).