]> git.pld-linux.org Git - packages/gcm.git/commitdiff
- adapterized, added patches, updated files
authoraflinta <aflinta@pld-linux.org>
Fri, 27 Sep 2002 00:58:11 +0000 (00:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- needs some BR's

Changed files:
    gcm.spec -> 1.2

gcm.spec

index 32888194356825de22d01c3fe7c02b0171aa1783..345ff0affe6d0c65d6cc1cda06ae432068b9ed7f 100644 (file)
--- a/gcm.spec
+++ b/gcm.spec
@@ -1,36 +1,56 @@
-%define package_name gcm
-%define version 2.0.1
-%define release 1
-
-Summary: GNOME Clipboard Manager is an application to manage your selections and clipboards.
-
-Name: %{package_name}
-Version: %{version}
-Release: %{release}
-License: GPL
-Group: Applications/GUI/Gnome
-Source: gcm-2.0.1.tar.gz
-
-Vendor: me at freax dot org
-Packager: me at freax dot org
+Summary:       GNOME Clipboard Manager is an application to manage your selections and clipboards.
+Name:          gcm
+Version:       2.0.1
+Release:       1
+License:       GPL
+Group:         X11/Applications
+Source0:       http://unc.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
+Patch0:                %{name}-desktop_location.patch
+Patch1:                %{name}-gettext_fixes.patch
+URL:           http://gms.sf.net
+BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define         _prefix         /usr/X11R6
 
 %description
-GNOME Clipboard Manager (GCM) is an application for managing selections and clipboards.
-It auto- collects selections on a shelf and has the option to choose which selection is
-to be pasted. Selections can be edited, manually created, deleted, copied, and pasted.
-The available selection types are clipboard, primary, secondary, or a custom atom.
-
+GNOME Clipboard Manager (GCM) is an application for managing
+selections and clipboards. It auto- collects selections on a shelf and
+has the option to choose which selection is to be pasted. Selections
+can be edited, manually created, deleted, copied, and pasted. The
+available selection types are clipboard, primary, secondary, or a
+custom atom.
 
 %prep
-%setup
+%setup -q
+%patch0 -p1
+%patch1        -p1
 
 %build
-./autogen.sh
-./configure --prefix=/usr
-make
+glib-gettextize --copy --force
+intltoolize --copy --force
+%{__libtoolize}
+%{__aclocal}
+%{__autoheader}
+%{__automake}
+%{__autoconf}
+./configure --prefix=%{_prefix} \
+           
+%{__make}
 
 %install
-make install
-
-%files 
-%attr (755, root, root) /usr/bin/gcm
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{name}
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README TODO 
+%doc doc/*.html doc/HACKING
+%attr (755, root, root) %{_bindir}/gcm
+%{_datadir}/applications
+%{_pixmapsdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
This page took 0.094693 seconds and 4 git commands to generate.