rpms/fmio/devel README.fedora, NONE, 1.1 fmio-2.0.8-build.asp.patch, NONE, 1.1 fmio-2.0.8-dyn.asp.patch, NONE, 1.1 fmio-2.0.8-sysconfdir.asp.patch, NONE, 1.1 fmio-gq-wrapper.py, NONE, 1.1 fmio.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Andy Shevchenko (andriy) fedora-extras-commits at redhat.com
Thu Sep 7 05:27:25 UTC 2006


Author: andriy

Update of /cvs/extras/rpms/fmio/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25210/devel

Modified Files:
	.cvsignore sources 
Added Files:
	README.fedora fmio-2.0.8-build.asp.patch 
	fmio-2.0.8-dyn.asp.patch fmio-2.0.8-sysconfdir.asp.patch 
	fmio-gq-wrapper.py fmio.spec 
Log Message:
auto-import fmio-2.0.8-7 on branch devel from fmio-2.0.8-7.src.rpm


--- NEW FILE README.fedora ---
Possible two ways to start program. You may choose the FM-card built into fmio
library or provided by v4l. In the last case you should set driver to the
'v4l'.

Since the pam-based linux distributions provide user-oriented mechanism to
manipulate with V4L devices the fmio setuid attribute isn't needed.

As well as above the attributes of the fmrinit program aren't contained setuid
bit. You have number of ways to initialize your SF16-FMR card. First off, you
can start fmrinit in the startup script like /etc/rc.d/rc.local. Second, you
may start it once after login in the system. And runing fmio twice will do the
job too. Choose a method that'll suit you best.

fmio-2.0.8-build.asp.patch:

--- NEW FILE fmio-2.0.8-build.asp.patch ---
--- fmio-2.0.8/src/Makefile.build	2003-05-13 18:08:44.000000000 +0300
+++ fmio-2.0.8/src/Makefile	2006-09-06 14:13:23.000000000 +0300
@@ -34,33 +34,26 @@ CATPAGE= fmio.0
 
 REMOVABLE= $(FMIOOBJ) $(FMIO) $(OBJS) $(DRVS) libradio.a *core
 
-PREFIX?= /usr/local
-LIBDIR?= $(PREFIX)/lib
-INCDIR?= $(PREFIX)/include
-BINDIR?= $(PREFIX)/bin
-MANDIR?= $(PREFIX)/man/cat1
-
-BINOWN?= root
-BINGRP?= bin
-BINMODE?= 4555
-
-MANOWN?= root
-MANGRP?= wheel
-MANMODE?= 444
-
-LIBOWN?= root
-LIBGRP?= wheel
-LIBMODE?= 444
-
-INSTALL_PROGRAM_DIR?= install -d -o $(BINOWN) -g $(BINGRP)
-INSTALL_MAN_DIR?= install -d -o $(MANOWN) -g $(MANGRP)
-INSTALL_PROGRAM?= install -c -s -o $(BINOWN) -g $(BINGRP) -m $(BINMODE)
-INSTALL_MAN?= install -c -o $(MANOWN) -g $(MANGRP) -m $(MANMODE)
+PREFIX?= $(DESTDIR)$(prefix)
+LIBDIR?= $(DESTDIR)$(libdir)
+INCDIR?= $(DESTDIR)$(includedir)/fmio
+BINDIR?= $(DESTDIR)$(bindir)
+MANDIR?= $(DESTDIR)$(datadir)/man/man1
+
+BINMODE?= 755
+MANMODE?= 644
+LIBMODE?= 644
+HDRMODE?= 644
+
+INSTALL_PROGRAM_DIR?= install -d
+INSTALL_MAN_DIR?= install -d
+INSTALL_PROGRAM?= install -c -m $(BINMODE)
+INSTALL_MAN?= install -c -m $(MANMODE)
+INSTALL_LIB_DIR?= install -d
+INSTALL_LIB_FILE?= install -c -m $(LIBMODE)
+INSTALL_HDR_FILE?= install -c -m $(HDRMODE)
 
-INSTALL_LIB_DIR?= install -d -o $(LIBOWN) -g $(LIBGRP)
-INSTALL_LIB_FILE?= install -c -o $(LIBOWN) -g $(LIBGRP) -m $(LIBMODE)
-
-all: lib fmio man
+all: lib fmio
 
 lib: libradio.a
 
@@ -69,11 +62,11 @@ fmio: libradio.a $(FMIOOBJ)
 
 man: $(CATPAGE)
 
-install: lib fmio man
+install: lib fmio install_lib
 	$(INSTALL_PROGRAM_DIR) $(BINDIR)
 	$(INSTALL_MAN_DIR) $(MANDIR)
 	$(INSTALL_PROGRAM) fmio $(BINDIR)/fmio
-	$(INSTALL_MAN) fmio.0 $(MANDIR)/fmio.0
+	$(INSTALL_MAN) fmio.1 $(MANDIR)/fmio.1
 
 deinstall:
 	rm -f $(PREFIX)/bin/fmio
@@ -83,7 +76,7 @@ install_lib: lib
 	$(INSTALL_LIB_DIR) $(LIBDIR)
 	$(INSTALL_LIB_DIR) $(INCDIR)
 	$(INSTALL_LIB_FILE) libradio.a $(LIBDIR)/libradio.a
-	$(INSTALL_LIB_FILE) $(HDRS) $(INCDIR)
+	$(INSTALL_HDR_FILE) $(HDRS) $(INCDIR)
 
 deinstall_lib:
 	rm -f $(LIBDIR)/libradio.a
--- fmio-2.0.8/xsrc/Makefile.build	2003-05-13 18:08:44.000000000 +0300
+++ fmio-2.0.8/xsrc/Makefile	2006-09-06 14:09:31.000000000 +0300
@@ -14,7 +14,7 @@ OBJS= wmfmio.o wmgeneral.o
 PREFIX?= /usr/local
 MANPAGE= wmfmio.1
 
-all: wmfmio man
+all: wmfmio
 
 wmfmio: $(OBJS)
 	$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBDIR) $(LIBS)
@@ -22,10 +22,12 @@ wmfmio: $(OBJS)
 man: wmfmio.0
 
 install: all
-	install -d -o root -g bin $(PREFIX)/bin
-	install -d -o root -g wheel $(PREFIX)/man/cat1
-	install -c -s -o root -g bin -m 555 wmfmio $(PREFIX)/bin/wmfmio
-	install -c -o root -g bin -m 444 wmfmio.0 $(PREFIX)/man/cat1/wmfmio.0
+	install -d $(DESTDIR)$(bindir)
+	install -d $(DESTDIR)$(sysconfdir)
+	install -d $(DESTDIR)$(datadir)/man/man1
+	install -c -m 755 wmfmio $(DESTDIR)$(bindir)/wmfmio
+	install -c -m 644 wmfmio.1 $(DESTDIR)$(datadir)/man/man1
+	install -c -m 644 sample.wmfmiorc $(DESTDIR)$(sysconfdir)/wmfmiorc
 
 deinstall:
 	rm -f $(PREFIX)/bin/wmfmio
--- fmio-2.0.8/utils/Makefile.build	2003-05-13 18:08:44.000000000 +0300
+++ fmio-2.0.8/utils/Makefile	2006-09-06 14:08:22.000000000 +0300
@@ -20,9 +20,14 @@ PREFIX?=/usr/local
 
 REMOVABLE= bktrctl fmrinit *.core
 
-all:
+all: bktrctl fmrinit
 	@echo "Available targets: clean, fmrinit install_fmrinit, bktrctl install_bktrctl"
 
+install: bktrctl fmrinit
+	install -d $(DESTDIR)$(bindir)
+	install -c -m 755 bktrctl $(DESTDIR)$(bindir)/bktrctl
+	install -c -m 755 fmrinit $(DESTDIR)$(bindir)/fmrinit
+
 install_bktrctl: bktrctl
 	install -d -o root -g bin $(PREFIX)/bin
 	install -c -s -o root -g bin -m 555 bktrctl $(PREFIX)/bin/bktrctl
--- fmio-2.0.8/Makefile.build	2006-09-06 14:08:22.000000000 +0300
+++ fmio-2.0.8/Makefile	2006-09-06 14:08:22.000000000 +0300
@@ -0,0 +1,16 @@
+SUBDIRS = src utils xsrc
+
+all:
+	for i in $(SUBDIRS); do \
+	    make -C $$i all; \
+	done
+
+install:
+	for i in $(SUBDIRS); do \
+	    make -C $$i install; \
+	done
+
+clean:
+	for i in $(SUBDIRS); do \
+	    make -C $$i clean; \
+	done

fmio-2.0.8-dyn.asp.patch:

--- NEW FILE fmio-2.0.8-dyn.asp.patch ---
--- fmio-2.0.8/src/Makefile.dyn	2006-09-06 14:23:31.000000000 +0300
+++ fmio-2.0.8/src/Makefile	2006-09-06 14:37:51.000000000 +0300
@@ -7,6 +7,7 @@
 #
 CC?=cc
 CFLAGS?=-O2 -Wall
+LDFLAGS?=
 
 # don't use mixer stuff
 CFLAGS+= -DNOMIXER
@@ -8,7 +9,7 @@ CFLAGS+= -I$(INCRADIODIR)
 MANPAGE= fmio.1
 CATPAGE= fmio.0
 
-REMOVABLE= $(FMIOOBJ) $(FMIO) $(OBJS) $(DRVS) libradio.a *core
+REMOVABLE= $(FMIOOBJ) $(FMIO) $(OBJS) $(DRVS) libradio.so *core
 
 PREFIX?= $(DESTDIR)$(prefix)
 LIBDIR?= $(DESTDIR)$(libdir)
@@ -42,7 +43,7 @@ MANDIR?= $(DESTDIR)$(datadir)/man/man1
 
 BINMODE?= 755
 MANMODE?= 644
-LIBMODE?= 644
+LIBMODE?= 755
 HDRMODE?= 644
 
 INSTALL_PROGRAM_DIR?= install -d
@@ -55,9 +56,9 @@ INSTALL_HDR_FILE?= install -c -m $(HDRMO
 
 all: lib fmio
 
-lib: libradio.a
+lib: libradio.so
 
-fmio: libradio.a $(FMIOOBJ)
+fmio: libradio.so $(FMIOOBJ)
 	$(CC) -o $@ $(FMIOOBJ) -L$(LIBRADIODIR) -lradio
 
 man: $(CATPAGE)
@@ -75,11 +76,11 @@ deinstall:
 install_lib: lib
 	$(INSTALL_LIB_DIR) $(LIBDIR)
 	$(INSTALL_LIB_DIR) $(INCDIR)
-	$(INSTALL_LIB_FILE) libradio.a $(LIBDIR)/libradio.a
+	$(INSTALL_LIB_FILE) libradio.so $(LIBDIR)/libradio.so
 	$(INSTALL_HDR_FILE) $(HDRS) $(INCDIR)
 
 deinstall_lib:
-	rm -f $(LIBDIR)/libradio.a
+	rm -f $(LIBDIR)/libradio.so
 	@cd $(INCDIR) && rm -f $(HDRS)
 
 clean:
@@ -88,10 +89,9 @@ clean:
 distclean:
 	rm -f $(REMOVABLE) $(CATPAGE)
 
-libradio.a: $(ALLHDRS) $(OBJS) $(DRVS)
+libradio.so: $(ALLHDRS) $(OBJS) $(DRVS)
 	rm -f $@
-	ar cru $@ $(OBJS) $(DRVS)
-	ranlib $@
+	$(CC) -o $@ -shared $(CFLAGS) $(LDFLAGS) $(OBJS) $(DRVS)
 
 fmio.0: $(MANPAGE)
 	@echo "groff -Tascii -mandoc $(MANPAGE) > $@"
--- fmio-2.0.8/src/radio.c.dyn	2003-05-13 18:08:44.000000000 +0300
+++ fmio-2.0.8/src/radio.c	2006-09-06 14:23:31.000000000 +0300
@@ -80,7 +80,7 @@ EXPORT_FUNC export_db[] = {
 
 struct tuner_drv_t **drv_db;
 
-extern char *pn;
+char *pn = NULL;
 static int driver = ERADIO_INVL;
 static int variant = ERADIO_INVL;
 static int complain = 1;
--- fmio-2.0.8/src/radio.h.dyn	2003-05-13 18:08:44.000000000 +0300
+++ fmio-2.0.8/src/radio.h	2006-09-06 14:23:31.000000000 +0300
@@ -39,6 +39,8 @@
 #define MIN_FM_FREQ	8750
 #define MAX_FM_FREQ	10800
 
+extern char *pn;
+
 void radio_init(void);	/* Initialize drivers database */
 int radio_cleanup(void);
 
--- fmio-2.0.8/src/fmio.c.dyn	2003-05-13 18:08:44.000000000 +0300
+++ fmio-2.0.8/src/fmio.c	2006-09-06 14:23:31.000000000 +0300
@@ -59,8 +59,6 @@ typedef uint32_t u_int32_t;
 #define MONO	0x0008
 #define INFO	0x0010
 
-char *pn = NULL;
-
 void die(int);
 void usage(void);
 void invalid_driver_error(char *);
--- fmio-2.0.8/utils/Makefile.dyn	2006-09-06 14:23:31.000000000 +0300
+++ fmio-2.0.8/utils/Makefile	2006-09-06 14:23:31.000000000 +0300
@@ -5,6 +5,7 @@
 #
 CC?=cc
 CFLAGS?=-O2 -Wall
+LDFLAGS?=
 
 # bktrctl compile flags
 #CFLAGS+= -DOPEN_DEVTUNER_RDWR=1
@@ -15,6 +16,7 @@ CURDIR!= pwd
 LIBRADIO= $(CURDIR)/../src
 
 CFLAGS+=-I$(LIBRADIO)
+LDFLAGS+=-L$(LIBRADIO) -lradio
 
 PREFIX?=/usr/local
 

fmio-2.0.8-sysconfdir.asp.patch:

--- NEW FILE fmio-2.0.8-sysconfdir.asp.patch ---
--- fmio-2.0.8/xsrc/wmfmio.c.etc	2003-05-13 18:08:44.000000000 +0300
+++ fmio-2.0.8/xsrc/wmfmio.c	2006-08-09 20:32:08.000000000 +0300
@@ -58,6 +58,10 @@ char *FMIO = "fmio";
 #define TRUE		1
 #define FALSE		0
 
+#ifndef SYSCONFDIR
+#define SYSCONFDIR	"/etc"
+#endif
+
 const char exec_err[] = "%s execution error";
 
 unsigned int max_presets;
@@ -167,12 +171,12 @@ main(int argc,char *argv[]) {
 	strncat(temp, RCFILE, TMPBUFSIZE);
 	temp[TMPBUFSIZE] = '\0';
 	if ( ParseRCFile(temp) == 1 ) {
-		strncpy(temp, "/etc/", TMPBUFSIZE);
+		strncpy(temp, SYSCONFDIR, TMPBUFSIZE);
 		temp[TMPBUFSIZE] = '\0';
 		strncat(temp, RCFILE, TMPBUFSIZE);
 		temp[TMPBUFSIZE] = '\0';
 		if (ParseRCFile(temp) == 1)
-			errx(1, "~/.%s or /etc/%s not found", RCFILE, RCFILE);
+			errx(1, "~/.%s or %s/%s not found", RCFILE, SYSCONFDIR, RCFILE);
 	}
 
 	if (cmdline_preset == ON)


--- NEW FILE fmio-gq-wrapper.py ---
#!/usr/bin/python

# vim: ts=4 sw=4 et:

#
# Use fmio with gqradio or other presets
# Written by Andy Shevchenko <andy at smile.org.ua>
# Check for new version at http://smile.org.ua/~andy/prj/patch/fmio-gq-wrapper.py
#

import sys
import os
import getopt
import re

FALSE = 0
TRUE = 1

#
# Options
#

# version
version = "0.4.1"
# default fmio path
fmio = "/usr/bin/fmio"
# default fmio driver
driver = "v4l"
# default volume
volume = 10
# user's home directory
homedir = os.environ["HOME"]

# possible configurations
cfgs = {
    # program  : ['basedir',           'presets']
    'gqradio'  : ['.gqradio',          'presets.gqmpeg'],
    'kradio'   : ['.kde/share/config', '.kradiorc'],
    'radio'    : ['',                  '.radio'],
    'wmfmiorc' : ['',                  '.wmfmiorc'],
}

cfgsRE = {
    'gqradio'  : '^radio:(?P<frequency>\d+\.?\d*)(:(?P<name>.*))?$',
    'kradio'   : '^(?P<frequency>\d{8,9})(=(?P<name>.*))?$',
    'radio'    : '^(?P<frequency>\d{8,9})(=(?P<name>.*))?$',
    'wmfmiorc' : '^\s*(?P<frequency>\d{1,3}\.?\d{,3})\s*(#\s*(?P<name>[^\s].*))?$',
}

# use configuration from given program
cfgprogram = "gqradio"

# verbosity
verbosity = 0
quiet = FALSE

#
# internal variable(s)
#
preset = 0
frequency = '87.5'
list = FALSE

#
# Program
#

def debug(level, msg):
    if level <= verbosity:
        print msg

def fatal(msg):
    if quiet == FALSE:
        print "FATAL: %s" % msg

def usage():
    print \
"""Usage: %s [... options ...] [-- fmio options ...]
    -c, --config=PROGRAM    use configuration of the PROGRAM
    -l, --list              list available presets

    -p, --preset=PRESET     get data from PRESET (PRESET = 1, 2, ...)
    -d, --driver=DRIVER     use DRIVER
    -v, --volume=VOLUME     set VOLUME of card (0 will mute card)

    -h, --help              this help
    -x                      increase verbosity
        --quiet             be quiet
    -b, --build             get version""" % os.path.basename(sys.argv[0])

def readfile(filename):
    if not os.access(filename, os.R_OK):
        return
    f = open(filename, "r")
    lines = f.readlines()
    f.close()
    return lines

def parse(program, lines):
    if not lines:
        return

    records = []

    reCfg = re.compile(cfgsRE[program], re.UNICODE)

    for s in lines:
        check = reCfg.match(s)
        if check:
            frequency = check.group('frequency')
            # Hack for radio or kradio syntax
            if len(frequency) == 8 or len(frequency) == 9:
                frequency = str(intConv(frequency) / 1000000.0)
            name = check.group('name')
            debug(2, "Push preset: %s %s" % (frequency, name))
            records.append({'frequency': frequency, 'name' : name})
    return records

def intConv(s):
    try:
        integer = int(s)
    except ValueError:
        debug(1, "expecting integer, got " + s)
        integer = 0
    return integer

def printStation(records, preset):
    if quiet == FALSE:
        print "% 3d: (%-7s) %s" % (preset, records[preset - 1]['frequency'], records[preset - 1]['name'])

#
# MAIN
#

try:
    (opts, rest) = getopt.getopt(sys.argv[1:],
                    "bc:d:hlp:v:x",
                    ["build", "config", "driver=", "help", "list", "preset=", "quiet", "volume="])
except (getopt.GetoptError), e:
    fatal(e)
    usage()
    sys.exit(1)

for (opt, value) in opts:
    if opt == "-b" or opt == "--build":
        print "%s version %s" % (os.path.basename(sys.argv[0]), version)
        sys.exit(0)
    if opt == "-c" or opt == "--cfg":
        cfgprogram = value
    if opt == "-h" or opt == "--help":
        usage()
        sys.exit(0)
    if opt == "-d" or opt == "--driver":
        driver = value
    if opt == "-l" or opt == "--list":
        list = TRUE
    if opt == "-p" or opt == "--preset":
        preset = intConv(value)
    if opt == "--quiet":
        quiet = TRUE
    if opt == "-v" or opt == "--volume":
        volume = intConv(value)
    if opt == "-x":
        verbosity += 1

# check for proper fmio path
if not os.access(fmio, os.X_OK):
    fatal("fmio doesn't present at %s!" % fmio)
    sys.exit(1)


if not cfgs.get(cfgprogram, None):
    fatal("%s isn't allowed!" % cfgprogram)
    sys.exit(1)

# read and parse file
presetsFile = homedir + "/" + cfgs[cfgprogram][0] + "/" + cfgs[cfgprogram][1]

lines = readfile(presetsFile)
if not lines:
    fatal("can't read file %s!" % presetsFile)
    sys.exit(1)

records = parse(cfgprogram, lines)

# --list
if list == TRUE:
    count = 0
    while count < len(records):
        printStation(records, count + 1)
        count += 1
    sys.exit(0)

# Fix preset parameter
if preset < 1 or preset > len(records):
    preset = 0

# Setup default frequency
if len(records) > 0:
    if preset == 0:
        preset = 1
    frequency = records[0]['frequency']
debug(2, "default frequency: %s " % frequency)

if preset > 1:
    frequency = records[preset - 1]['frequency']
debug(2, "work frequency: %s" % frequency)

cmdline = [fmio, "-d", driver, "-v", str(volume), "-f", frequency] + rest
debug(1, cmdline)

printStation(records, preset)
os.execvp(cmdline[0], cmdline)



--- NEW FILE fmio.spec ---
Summary:	FM radio card manipulation utility
Name:		fmio
Version:	2.0.8
Release:	7%{?dist}
License:	BSD
Group:		Applications/Multimedia
URL:		http://jumbo.narod.ru/fmio.html
Source0:	http://jumbo.narod.ru/src/fmio/%{name}-%{version}.tar.gz
Source1:	http://smile.org.ua/~andy/prj/patch/fmio-gq-wrapper.py
Source2:	README.fedora
Patch0:		fmio-2.0.8-build.asp.patch
Patch1:		fmio-2.0.8-sysconfdir.asp.patch
Patch2:		fmio-2.0.8-dyn.asp.patch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
The fmio is a small program to set and change fm radio card parameters.
It sets frequency, volume of the card, reports signal strength on the
working frequency and can set the radio card output to mono (if the card
driver supports it).

%package devel
Summary: Header files and libraries for developing apps which will use fmio
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
The fmio-devel package contains headers needed
to develop programs that use fmio library.

Install the fmio-devel package if you want to develop applications that
will use the fmio library.

%package wmfmio
Summary: WindowMaker dockable application to manipulate FM radio card
Group: Applications/Multimedia
Requires: %{name} = %{version}-%{release}
Requires: WindowMaker
%if 0%{?fedora} > 4
BuildRequires: libX11-devel
BuildRequires: libXpm-devel
BuildRequires: libXext-devel
%else
BuildRequires: XFree86-devel
%endif

%description wmfmio
wmfmio is a WindowMaker dockable application to manipulate FM radio card.

In order to run this utility you need to install fmio package.

%prep
%setup -q
%patch0 -p1 -b .build
%patch1 -p1 -b .sysconfdir
%patch2 -p1 -b .dyn

# make LICENSE file
export TOPDIR=`pwd`
pushd utils
/bin/sh license.sh > $TOPDIR/LICENSE
popd

%build
export CFLAGS="-DSYSCONFDIR=\\\"%{_sysconfdir}\\\" $RPM_OPT_FLAGS -fPIC"
%if 0%{?fedora} > 4
export LIBDIR="-L%{_libdir}"
%endif
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

make install DESTDIR=$RPM_BUILD_ROOT \
	prefix=%{_prefix} \
	bindir=%{_bindir} \
	libdir=%{_libdir} \
	sysconfdir=%{_sysconfdir} \
	includedir=%{_includedir} \
	datadir=%{_datadir}

# install wrapper
install -c -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/fmio-wrapper.py

# for FC4 and earlier
touch $RPM_BUILD_ROOT%{_bindir}/fmio-wrapper.pyc
touch $RPM_BUILD_ROOT%{_bindir}/fmio-wrapper.pyo

# prepare documentation
install -p -m 644 %{SOURCE2} README.fedora

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%{_bindir}/fmio
%{_bindir}/fmio-wrapper.py
%exclude %{_bindir}/fmio-wrapper.py[co]
%{_mandir}/man1/fmio.1*
%{_bindir}/bktrctl
%{_bindir}/fmrinit
%doc Changelog README doc/FAQ
%doc README.fedora
%doc LICENSE
%lang(ru) %doc doc/FAQ.ru
%{_libdir}/libradio.so

%files devel
%defattr(-,root,root)
%{_includedir}/fmio/

%files wmfmio
%defattr(-,root,root)
%{_bindir}/wmfmio
%{_mandir}/man1/wmfmio.1*
%config(noreplace) %{_sysconfdir}/wmfmiorc

%changelog
* Wed Sep 06 2006 Andy Shevchenko <andriy at asplinux.com.ua> 2.0.8-7
- remove undesired LICENSE install
- do not use groff
- correct permissions of header files

* Tue Sep 05 2006 Andy Shevchenko <andriy at asplinux.com.ua> 2.0.8-6
- generate LICENSE on the fly

* Sat Sep 02 2006 Andy Shevchenko <andriy at asplinux.com.ua> 2.0.8-5
- mark wmfmiorc as config
- install libradio.so with executable permissions
- do not use makeinstall macro
- catch up license from fmio.c

* Sat Aug 19 2006 Andy Shevchenko <andriy at asplinux.com.ua> 2.0.8-4
- do not pack *.pyo and *.pyc
- spelling fixes in README.fedora

* Sun Aug 13 2006 Andy Shevchenko <andriy at asplinux.com.ua> 2.0.8-3
- set defattr in files sections
- fix Requires tag in subpackages
- drop setuid attribute from certain binaries (README.fedora has been added)
- update fmio-gq-wrapper to 0.4.1
- satisfy rpmlint claim (use -fPIC for library)

* Thu Aug 10 2006 Andy Shevchenko <andriy at asplinux.com.ua> 2.0.8-2
- update fmio-wrapper to 0.4.0
- add BRs: libXpm-devel and libXext-devel

* Wed Aug 09 2006 Andy Shevchenko <andriy at asplinux.com.ua> 2.0.8-1
- use dynamic linking
- install fmio-wrapper

* Thu Jul 27 2006 Andy Shevchenko <andriy at asplinux.com.ua>
- prepare for Fedora Extras
- Copyright -> License
- correct BuildRoot tag
- use dist tag

* Tue May 10 2005 Andy Shevchenko <andy at smile.org.ua>
- rebuild for ASPLinux 9.2


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/fmio/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	7 Sep 2006 05:25:30 -0000	1.1
+++ .cvsignore	7 Sep 2006 05:27:25 -0000	1.2
@@ -0,0 +1 @@
+fmio-2.0.8.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/fmio/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	7 Sep 2006 05:25:30 -0000	1.1
+++ sources	7 Sep 2006 05:27:25 -0000	1.2
@@ -0,0 +1 @@
+3eb91258db51e7ab78e2d4a8c2c31037  fmio-2.0.8.tar.gz




More information about the scm-commits mailing list