packages: pastebinit/pastebinit.spec - up to bzr checkout r71

glen glen at pld-linux.org
Fri Feb 12 13:54:21 CET 2010


Author: glen                         Date: Fri Feb 12 12:54:21 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to bzr checkout r71

---- Files affected:
packages/pastebinit:
   pastebinit.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: packages/pastebinit/pastebinit.spec
diff -u packages/pastebinit/pastebinit.spec:1.20 packages/pastebinit/pastebinit.spec:1.21
--- packages/pastebinit/pastebinit.spec:1.20	Wed Jan 13 13:05:20 2010
+++ packages/pastebinit/pastebinit.spec	Fri Feb 12 13:54:16 2010
@@ -3,11 +3,12 @@
 Summary(pl.UTF-8):	Pastebin działający z linii poleceń
 Name:		pastebinit
 Version:	0.11.2
-Release:	1
+Release:	1.1
 License:	GPL v2+
 Group:		Applications
-Source0:	http://launchpad.net/pastebinit/trunk/%{version}/+download/%{name}-%{version}.tar.gz
-# Source0-md5:	64b620d7ae9fbdac8f2e23fbfecbdec3
+#Source0:	http://launchpad.net/pastebinit/trunk/%{version}/+download/%{name}-%{version}.tar.gz
+Source0:	%{name}-71.tar.bz2
+# Source0-md5:	e6264e2c75691a920f4ede8edba23028
 Patch0:		%{name}-configparsing.patch
 URL:		https://launchpad.net/pastebinit
 BuildRequires:	rpm-pythonprov
@@ -27,21 +28,30 @@
 standardowego wyjścia, a on przeklei informacje na Pastebin.
 
 %prep
-%setup -q
+%setup -q -n %{name}
 %patch0 -p0
 %{__sed} -i -e 's#http://pastebin.com#http://pld.pastebin.com#g' pastebinit
 
+%build
+%{__make} -C po
+
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
-install pastebinit $RPM_BUILD_ROOT%{_bindir}/%{name}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/pastebin.d,%{_bindir},%{_datadir}/locale}
+install -p pastebinit $RPM_BUILD_ROOT%{_bindir}/%{name}
+cp -a pastebin.d/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/pastebin.d
+cp -a po/mo/* $RPM_BUILD_ROOT%{_datadir}/locale
+
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/pastebinit
+%dir %{_sysconfdir}/pastebin.d
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pastebin.d/*.conf
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -49,6 +59,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2010/02/12 12:54:16  glen
+- up to bzr checkout r71
+
 Revision 1.20  2010/01/13 12:05:20  arekm
 - better url
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pastebinit/pastebinit.spec?r1=1.20&r2=1.21&f=u



More information about the pld-cvs-commit mailing list