glemon.spec.in
changeset 1 67188bd752db
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/glemon.spec.in	Mon Jul 07 08:10:39 2008 -0500
     1.3 @@ -0,0 +1,42 @@
     1.4 +Summary: A graph editor for the LEMON Graph Format
     1.5 +Name: @PACKAGE_TARNAME@
     1.6 +Version: @PACKAGE_VERSION@
     1.7 +Release: 1
     1.8 +License: Boost
     1.9 +URL: http://lemon.cs.elte.hu
    1.10 +Source0: %{name}-%{version}.tar.gz
    1.11 +Group: Development/Libraries
    1.12 +BuildRoot: %{_tmppath}/%{name}-root
    1.13 +Requires: lemon
    1.14 +Requires: gtkmm24 >= 2.6
    1.15 +Requires: libgnomecanvasmm >= 2.6.0
    1.16 +BuildRequires: lemon-devel
    1.17 +BuildRequires: gtkmm24-devel >= 2.6
    1.18 +BuildRequires: libgnomecanvasmm-devel >= 2.6.0
    1.19 +
    1.20 +%description
    1.21 +glemon is a graphical editor for the LEMON Graph Format (.lgf)
    1.22 +
    1.23 +%prep
    1.24 +%setup -q
    1.25 +
    1.26 +%build
    1.27 +%configure
    1.28 +make
    1.29 +
    1.30 +%install
    1.31 +rm -rf $RPM_BUILD_ROOT
    1.32 +make DESTDIR=$RPM_BUILD_ROOT install
    1.33 +
    1.34 +%clean
    1.35 +rm -rf $RPM_BUILD_ROOT
    1.36 +
    1.37 +%post -p /sbin/ldconfig
    1.38 +
    1.39 +%postun -p /sbin/ldconfig
    1.40 +
    1.41 +%files
    1.42 +%defattr(-,root,root)
    1.43 +%{_bindir}/glemon
    1.44 +%{_datadir}/locale
    1.45 +%doc AUTHORS COPYING LICENSE NEWS README