
%define name m3x
%define version 0.1.13
%define release 1
%define prefix /usr
Summary : A small, good-looking program, that stores its database in XML format.
Name: %{name}
Version: %{version}
Release: %{release}
Copyright: GPL
Distribution : Build for Red Hat 6.2
Vendor: Boubouline Software
Packager: Okki <crow@planete.net>
URL: http://okki.lefute.com
Group: Applications/Databases
Source: %{name}-%{version}-%{release}.tar.gz
BuildRoot: /var/tmp/%{name}-buildroot
Prefix: %{prefix}
Docdir: %{prefix}/doc

%description
I made this program, because I wanted something that can be used
to keep a record of my CD collection. Something small, good-looking.
Something that doesn't need an SQL server installed.

%prep
rm -rf $RPM_BUILD_ROOT

%setup
./configure

%build
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"

%install
make prefix=$RPM_BUILD_ROOT%{prefix} install

%clean
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_DIR/*

%files
%defattr (-,root,root)
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
/usr/share/doc/m3x/examples/example_db.xml
/usr/share/doc/m3x/examples/user_data.xml
/usr/share/doc/m3x/examples/test-1.m3x
/usr/share/doc/m3x/examples/test-2.m3x
/usr/share/doc/m3x/examples/README.examples
/usr/share/doc/m3x/examples/merge.sh
/usr/share/doc/m3x/examples/xmlmerge.sh
/usr/share/doc/m3x/AUTHORS
/usr/share/doc/m3x/BUGS
/usr/share/doc/m3x/COPYING
/usr/share/doc/m3x/ChangeLog
/usr/share/doc/m3x/NEWS
/usr/share/doc/m3x/README
/usr/share/doc/m3x/THANKS
/usr/share/doc/m3x/TODO
/usr/share/doc/m3x/TODO.script
/usr/share/gnome/help/m3x/C/images/m3x-logo1.png
/usr/share/gnome/help/m3x/C/images/m3x-0.1.5-preferences-01.png
/usr/share/gnome/help/m3x/C/images/m3x-0.1.5-preferences-02.png
/usr/share/gnome/help/m3x/C/images/m3x-0.1.5-screenshot.png
/usr/share/gnome/help/m3x/C/images/m3x-0.1.5-main_window.png
/usr/share/gnome/help/m3x/C/images/m3x-text-0.1.5-zvt.png
/usr/share/gnome/help/m3x/C/images/m3x-text-0.1.5-Eterm.png
/usr/share/gnome/help/m3x/C/authors.html
/usr/share/gnome/help/m3x/C/copyright.html
/usr/share/gnome/help/m3x/C/figure1.html
/usr/share/gnome/help/m3x/C/figure2.html
/usr/share/gnome/help/m3x/C/figure3.html
/usr/share/gnome/help/m3x/C/figure4.html
/usr/share/gnome/help/m3x/C/m3x.html
/usr/share/gnome/help/m3x/C/m3x-text-errors.html
/usr/share/gnome/help/m3x/C/menus.html
/usr/share/gnome/help/m3x/C/preferences.html
/usr/share/gnome/help/m3x/C/utils.html
/usr/share/locale/hu/LC_MESSAGES/m3x.mo
/usr/bin/m3x-text
/usr/bin/xmlmerge
/usr/bin/id3xml

%changelog

* Thu Jun 29 2000 Georges Seguin crow@planete.net 
- m3x 0.1.13

* Fri Jun 9 2000 Georges Seguin crow@planete.net 
- m3x 0.1.9

* Tue Jun 6 2000 Georges Seguin crow@planete.net 
- m3x 0.1.7

* Sat Jun 3 2000 Georges Seguin crow@planete.net 
- m3x 0.1.6

* Thu May 29 2000 Georges Seguin crow@planete.net 
- m3x 0.1.5

* Thu May 29 2000 Georges Seguin crow@planete.net 
- First RPM
