glemon.spec.in
author alpar
Mon, 30 Oct 2006 12:20:54 +0000
changeset 175 1e0a66d6b45a
permissions -rw-r--r--
Add autopackage specfile (not yet working).
     1 Summary: A graph editor for the LEMON Graph Format
     2 Name: @PACKAGE_TARNAME@
     3 Version: @PACKAGE_VERSION@
     4 Release: 1
     5 License: Boost
     6 URL: http://lemon.cs.elte.hu
     7 Source0: %{name}-%{version}.tar.gz
     8 Group: Development/Libraries
     9 BuildRoot: %{_tmppath}/%{name}-root
    10 Requires: lemon
    11 Requires: gtkmm24 >= 2.6
    12 Requires: libgnomecanvasmm >= 2.6.0
    13 BuildRequires: lemon-devel
    14 BuildRequires: gtkmm24-devel >= 2.6
    15 BuildRequires: libgnomecanvasmm-devel >= 2.6.0
    16 
    17 %description
    18 glemon is a graphical editor for the LEMON Graph Format (.lgf)
    19 
    20 %prep
    21 %setup -q
    22 
    23 %build
    24 %configure
    25 make
    26 
    27 %install
    28 rm -rf $RPM_BUILD_ROOT
    29 make DESTDIR=$RPM_BUILD_ROOT install
    30 
    31 %clean
    32 rm -rf $RPM_BUILD_ROOT
    33 
    34 %post -p /sbin/ldconfig
    35 
    36 %postun -p /sbin/ldconfig
    37 
    38 %files
    39 %defattr(-,root,root)
    40 %{_bindir}/glemon
    41 %{_datadir}/locale
    42 %doc AUTHORS COPYING LICENSE NEWS README